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

Sponsor

Collapse

Incredible Stock

Latest Topics

Collapse

  • B
    Reply to Is Assymetrical strucutre MODERN??
    B
    Asymmetrical layouts are likely more common than they were a hundred years ago. Whether or not that qualifies asymmetry as looking modern is probably a matter of opinion. The letterhead layout you've...
    Today, 10:27 AM
  • B
    Reply to Font Identification - What font is this?
    B
    The typeface is Microgramma.
    Today, 10:05 AM
  • PrintDriver
    Reply to What does this look like?
    PrintDriver
    That depends. Do you want your watermelon to have seeds or not? Or better, Does the purpose for which you are creating a slime dripping slice of watermelon require that it has seeds?

    You...
    Today, 07:31 AM
  • Troep
    Reply to What does this look like?
    Troep
    Should I add some seeds??
    Today, 01:18 AM
  • PrintDriver
    Reply to Just Graduated... What Now?
    PrintDriver
    It isn't so much the fault of the schools. There is just so much out there these days beyond the realm of corporate identity work. Yeah it all revolves around ''The Sell'' somehow but it isn't all business...
    Today, 01:00 AM
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