SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2009
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    expanding and collapsing list

    Im trying to mimic the list shown here:

    http://jasalguero.com/ledld/developm...pandable-list/

    at my page at www.meadowlarktransport.com/drivers2.php

    but the menu doesn't allow for me to expand or collapse anything...I have the CSS and Javascript linked to my page but don't understand why its not working?

    Any help would be appreciated.


    thanks

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,701
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by rrmcguire View Post
    I have the CSS and Javascript linked to my page but don't understand why its not working?
    When viewing the scripting console of my web browser I see some errors that you might want to take care of.

    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.meadowlarktransport.com/prepLiAnchors.js
    Uncaught ReferenceError: $ is not defined scripts.js:36
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2009
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    where do I find prepLiAnchors.js?

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,701
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by rrmcguire View Post
    where do I find prepLiAnchors.js?
    Why are you using it in the first place?
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    SitePoint Enthusiast
    Join Date
    Sep 2009
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im actuall not sure, the script I got was based from this page

    http://jasalguero.com/ledld/developm...pandable-list/


    Just wanting to see if an expanding/collapsable list will work well for me or not

  6. #6
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,701
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by rrmcguire View Post
    Im actuall not sure, the script I got was based from this page

    http://jasalguero.com/ledld/developm...pandable-list/
    Can you point out for me where on that page the part about prepLiAnchors.js is?
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  7. #7
    SitePoint Enthusiast
    Join Date
    Sep 2009
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe what Im missing is the jquery library, but from a previous page it has been uploaded to my webserver


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
  •