SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Jan 2004
    Location
    Nashville
    Posts
    335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rotator/Slider Not Moving

    The rotator/slider is not moving on the home page of http://attendstar.com - can anyone tell why not?

    Thank you so much.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    I'm no JS buff, but when someone asks why jQuery is not working, the first thing I look for is the link to the library. Often people add multiple jQuery effects to a page, and add a link to the jQuery library each time. That always messes things up. You should only link to the library once per page (not only because it messes jQuery up, but because it makes for a lot of unnecessary downloading).

    You link to the library at least twice in the head of your document:

    Code:
    <script type="text/javascript" src="http://www.attendstar.com/wp-content/themes/freshserve/javascripts/jquery.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    As a rule of thumb, if you already have jQuery on a page, don't add another link to the library. The only thing to watch for is that later versions may not support scripts written for an earlier version. Fun times.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •