Treehouse: Grow your CSS skills. Land your dream job.

Anything Slider 1st video Jumping

  • # January 3, 2012 at 12:29 am


    I’m wondering if its normal for the 1st slide in its second rotation to jump from a smaller thumbnail to fullsize?

    # January 3, 2012 at 9:46 am

    Hi Jerseygreg!

    It sounds like the image dimensions aren’t defined. It’s difficult to tell without seeing the code. It would help if you shared the HTML, css and javascript and the easiest way to do so would be to modify this demo with your code.

    # January 3, 2012 at 9:55 am

    Hi Mottie,

    thx again it’s the same code as my last post. I appreciate the help!

    # January 3, 2012 at 9:56 am

    This is the jquerey

    And here is the html

    # January 3, 2012 at 10:06 am


    Well I can already see some issues that may or may not be causing the problem. First, I think the swfobject file should be loaded immediately after the jQuery. The video extension may not be detecting it properly if loaded after.

    The “resumeOnVideoEnd” is set to true by default, so no need to set it, but the trailing comma will cause an error in IE and stop the slider from initializing.

    The html for the third slide is missing an opening <li> tag which my be associated with the problem you are describing.

    # January 3, 2012 at 10:46 am
  • tags fixed…skipping problem is fixed!

    however the resumeOnVideoEnd problem is still persisiting. Here is how the scripts look now

    and the HTML

# January 3, 2012 at 11:12 am

Hey Mottie,

I’ve just been trying to troubleshoot. I’ve noticed that on the video demo page, the resumeOnVideoEnd behaves the same way. The autoplay continues after the movie starts playing.

# January 3, 2012 at 11:48 am

Hmm, are you testing this live on the web or locally on your computer? When you test it locally, it doesn’t work properly because of a flash security block. If it is online, and still having this same problem, then please share a link so I can get a better look at the problem.

# January 3, 2012 at 12:06 pm

I am testing locally. I will keep you posted when I get it online.

Thx again for your help

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.