The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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:

    # August 3, 2012 at 8:33 am

    This reply has been reported for inappropriate content.

    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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed