treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] Javascript to change text within a div as a Jquery slideshow changes

  • 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/
  • 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.
  • 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?