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

  • D&gr
    Reply to Spa website design, feedback please
    D&gr
    I'm not yet done coding, but you can visit it and see the design live here: khayoespa.com I spend hours coding that I don't think the design is any good. I need someone with years' of experience in website...
    Yesterday, 10:51 PM
  • PrintDriver
    Reply to Empty PNG files?
    PrintDriver
    Are they something you are trying to right click?
    That doesn't always work. There are web tricks out there that make doing that give you a blank file.

    Asking permission to use the imagery...
    Yesterday, 10:29 AM
  • docrocks
    Reply to Empty PNG files?
    docrocks
    Thanks PrintDriver. These are images downloaded from Ancestry.com and show census forms etc. I'll contact them and see if they can help.
    Yesterday, 10:14 AM
  • PrintDriver
    Reply to Please Critique my Space Inspired Magazine
    PrintDriver
    Let me give you a little advice on Pantone's color of the year...

    They are always Textile swatches for one thing, when they should be standard design swatches. Most print houses don't carry...
    Yesterday, 09:31 AM
  • PrintDriver
    Reply to Monitor for postproduction
    PrintDriver
    Monitors are sort of a matter of opinion.
    I do all my pre-press work on not so expensive Viewsonic monitors in a dual monitor setup. I already know that for print, my monitor will not accurately...
    Yesterday, 09:13 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