Announcement Announcement Module
Collapse
No announcement yet.
jQuery issue Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • jQuery issue

    Hey GDF

    I dunno if this is the right forum to even post this on but I'll give it a shot.

    I finally got around to updating my site, and I even 'learned' (kinda just followed a tutorial) on how to get my jquery slideshow to work.

    But I have a problem. The slideshow at the top works great, well, except for a minor issue; you can cycle through using the "Next" arrow but when you cycle through using the "Previous" arrow it skips the 3rd and final image in the cycle, only cycling 2 images.

    Anyway, the real issue I have is with the second slideshow on the page. I added a slideshow at the bottom, on the footer, for my testimonials, but it isn't working. The 5 testimonials (images) just stack on top of each other and the prev / next buttons don't work...

    the jquery code in the head looks like this:

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="jslider.js"></script>

    <script type="text/javascript">
    $(function(){
    $(".slider").jslider({
    btnNext: ".next",
    btnPrev: ".prev"
    })
    });
    </script>

    <script type="text/javascript">
    $(function(){
    $(".testi").jslider({
    btnNext: ".next2",
    btnPrev: ".prev2"
    })
    });
    </script>

    All the html and css is labelled correctly. And as far as I can see the html and css are basically the same, aside from positioning and names.

    I was thinking it might be because I'm calling the same script twice on a page? Would that affect it?

    Anyway I know there's some programming pros on here and I would reallyyyy appreciate some help with this!

    the site is syawedis.com/beta if you're curious to see it.

    Thanks for reading.
Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc. call (212) 389-2000 or email us
Working...
X