Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

jquery easySlider simple question

New Here ,
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

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!

TOPICS
Server side applications

Views

686
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 18, 2010 Aug 18, 2010

Copy link to clipboard

Copied

LATEST

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

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines