SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Location
    Lancaster,UK
    Posts
    36
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question Animation using jQuery animate method or CSS transitions not smooth enough

    Hi guys,

    This is a question for both, CSS and jQuery experts that have experimented with animations.

    Check out the slideshow that I am making ( http://zerobrainwash.com/sandbox/pixeleyes/?p=145 ). I am simply changing absolute position of the whole <div> and animating this transition but the result is not smooth enough, no matter whether I use jQuery or CSS transitions to animate it. Could you advice me on what is wrong and why this is happening? Or browsers are simply not good enough yet for such slideshow? I couldn't find any equivalent slideshows, the closest that I found is probably this which seems to be a bit smoother than mine http://dimsemenov.com/plugins/royal-...isible-nearby/ .

    Any thoughts or criticism is welcome! Cheers

  2. #2
    SitePoint Member
    Join Date
    Jan 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you check the fps timeline you can see that you have long paint times (image-decode and image-resize) that are most likely due to the 500kb size of the pictures
    http://discover-devtools.codeschool....es/1?locale=en
    http://www.smashingmagazine.com/2013...ce-case-study/

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Location
    Lancaster,UK
    Posts
    36
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks davidfregoli , both of the links really helped a lot. While investigating what is the issue with my slider I realized that there is nothing I can do. It simply takes too long to paint full-screen images and animate them. I guess flash is still the best for such thing.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •