Grow your CSS skills. Land your dream job.

Javascript to change text within a div as a Jquery slideshow changes

  • # August 2, 2012 at 4:07 pm

    I am using a Jquery slideshow and I would like the div directly below it to change to different text when the slide on the slideshow changes. How would I go about doing this? Here is the page:

    http://www.rose-hulman.edu/testing/

    # August 3, 2012 at 8:33 am

    Which plugin are you using for the slider? Plugins often come with a built in API you can use to manipulate it, or have it manipulate other elements quite easily.

    # August 6, 2012 at 1:14 pm

    Well, I am not sure how much JavaScript or jQuery you know, but what you want to do is quite simple. I will give you a hint… When you click the next or previous buttons, the list items on the right get a class of “active” when it’s corresponding slide comes into view. Can you think of a way to use this to your advantage?

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".