Search code examples
jqueryeasyslider

Jquery (easySlider) - one click, slide two divs


I have downloaded the JQuery plugin EasySlider1.7. I have the basics working but I'd like to expand.

I would like to click the left and right arrows and have the div id="logo" animate simultaneously as the image div that is presently animating.

Here's the link.


Solution

  • Change the following html:

    <span id="prevBtn1">
     <a href="javascript:void(0);"></a>
    </span>
    <span id="nextBtn1">
     <a href="javascript:void(0);"></a>
    </span>
    

    To:

    <span >
    <a id="prevBtn1" href="javascript:void(0);"></a>
    </span>
    <span>
    <a  id="nextBtn1" href="javascript:void(0);"></a>
    </span>