Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2015
    Posts
    42
    Member #
    49655
    Liked
    1 times

    Moving/floatng elements

    Curious how this is done? For example I sometimes see a SVG image that floats and moves. Actually seen one on a website that was in the review section but cant find it again. I can post an example website but not sure of the rules yet

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    It's within the rules in this case to post an example.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    Member
    Join Date
    May 2015
    Posts
    42
    Member #
    49655
    Liked
    1 times
    Last edited by vinnymickey; Sep 05th, 2017 at 05:18 AM.

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,716
    Member #
    5580
    Liked
    718 times
    The onia.com site uses PNG images and manipulates them by javascripting.
    Here is one of the images that they spin:
    http://www.onia.com.au/wp-content/th...eaves-full.png


  6. #5
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    There's a better way than JavaScript - use CSS animations.

    They're way easier to write than animating with JS and take up fewer resources. Browser support is pretty deep, and fallbacks are as easy as doing literally not a damn thing. Browsers that don't support it will ignore it.

    https://developer.mozilla.org/en-US/...CSS_animations
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:26 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com