Skip to main content
Known Participant
August 17, 2010
Question

jquery easySlider simple question

  • August 17, 2010
  • 1 reply
  • 739 views

Hi, i am using a jquery app named easyslider. Worked fine when only one slider was used. But then i tried to use several sliders into the same page. It bugged to i guessed that i was because the css div were ID (cant be used more than once) so i change div to CLASS and it works.

problem is that that line causes problems:

span#nextButton a {

It refuses to show when a second slider is added.

So i searched for any SPAN tag into the easyslider.js file, here what i think is the line:

$(obj).after('<span id="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span> <span id="'+ options.nextId +'"><a href=\"javascript:void(0);\">'+ options.nextText +'</a></span>');

So i changed this for that:

span.nextButton a {

and this for that

$(obj).after('<span class="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span> <span class="'+ options.nextId +'"><a href=\"javascript:void(0);\">'+ options.nextText +'</a></span>');

- - -

Still not working. Help needed and appreciate.

Thanks!

This topic has been closed for replies.

1 reply

BenPleysier
Community Expert
Community Expert
August 18, 2010

Have a look here http://cssglobe.com/lab/easyslider1.5/05.html

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!