Announcement

Collapse
No announcement yet.

jQuery issue

Collapse
X
  • 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.

Search

Collapse

Advertisement

Collapse

Latest Topics

Collapse

  • JofDiamonds
    Comment on Jesus Tank
    JofDiamonds
    ''just because someone has managed to become a ''boss,'' that doesn't mean he can't be wrong, or that he shouldn't be told when he is.''

    People tend to be disinclined to continue paying you...
    Today, 02:23 PM
  • bigdata
    Reply to Jesus Tank
    bigdata
    Mathew 10:34

    "I did not come to bring peace,"

    But it is a fatal mistake trying to usurp his authority, which obviously is the OP's intent.
    Today, 02:12 PM
  • bigdata
    Comment on CS6 vs. Creative Cloud
    bigdata
    Gottcha, I gathered that from the last bit, 7 does everything I need too.

    Steven Jobs used the words, &quot;ergonomically terrible.&quot;

    Which is true for me as a method...
    Today, 01:53 PM
  • HotButton
    Comment on CS6 vs. Creative Cloud
    HotButton
    Ack. I meant ''I have NO plan...''
    Today, 01:36 PM
  • HotButton
    Comment on Jesus Tank
    HotButton
    ''I imagine that kind of controversy is his boss's decision.''

    To some extent I agree, but just because someone has managed to become a ''boss,'' that doesn't mean he can't be wrong, or that...
    Today, 01:33 PM

GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
Working...
X