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

  • praxis11
    Comment on Logo design advice
    praxis11
    What exactly do we disagree on?
    Today, 08:14 PM
  • B
    Reply to Logo design advice
    B
    You didn't say that, nor did I imply that you did.

    What I'm saying is that you seem to be looking at it from the perspective of being able to learn on one's own to create interesting and...
    Today, 07:55 PM
  • praxis11
    Reply to Logo design advice
    praxis11
    Where did I suggest that crowdsourcing sites could provide a decent living?...
    Today, 07:14 PM
  • B
    Reply to Logo design advice
    B
    You might be referring to Nikko's situation; I wasn't. I was referring specifically to your comment that I quoted about how logo design can be self-taught.

    I did not use any metaphors, disparage...
    Today, 06:57 PM
  • PrintDriver
    Reply to Logo design advice
    PrintDriver
    I dunno. There are at least 12 people named Nikko on the first crowdsource site I checked...
    Today, 06:44 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