I’m trying to set up a slider that uses just one control-menu (e.g. Item 1 | Item 2 | Item 3) but affects both the background image and a div container with text in it.
Take a look at this example from SAP: http://www.sap.com/germany/index.epx
There you can click on this yellow squares and both, the text in the box and the background changes (even in the right aspect ratio).
I tried several slideshow plugins, such as jCarousel, Nivo Slider, bxSlider, … But because of my weak javascript skills, I don’t really have a clue of how to achieve my goal…
Anybody can help me?
Thanks,
Sebastian
EDIT:
Thanks for your replies! I tried your solutions and commented it (see below). In addition to that, I provide a link to the webpage I’m trying to get this effect working:
http://prism-informatics.com/new/#
For the background-sliding effect I use a library/script/module called “bgStretcher”. It provides preloading of bg-images, nice transition effects, and “live-scaling”…
And there’s a jCarousel in the center of the page (the white box with text in it like “IT-Strategy”). The best thing to happen would be, if you click on the controls below the box (the numbers “1” or “2”) then this tells the bgStretcher-script to slide to the appropriate bg-picture… because of my bad js skills, I don’t know if there’s a way to do that…
This new answer makes use of bgStretcher: (fiddle: http://jsfiddle.net/rNLEQ/)