Results 1 to 8 of 8

Thread: Accordian not collapsing/expanding

  1. #1
    Join Date
    Apr 2009
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Accordian not collapsing/expanding

    1) Script Title: Glossy Accordion

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...enu-glossy.htm

    3) Describe problem:

    The menu isn't collapsing/expanding. So far, all I have changed is the paths to the image and .js files. I also deleted the hyperlink on the tabs that should be collapsing/expanding because I kept being redirected in my preview. I did something to the coding that I found in a search result of these forums and that made it collapse but then it suddenly wasn't collapsed anymore and I don't remember what I did to do it again ...however even when it was collapsed it still wouldn't expand. Also- the plus and minus signs aren't showing up and I am pretty sure I have the paths correct to those images.

    The nav bar is uploaded here: (this is a site I just took over and am completely revamping)
    http://www.bethelbaptistmarquette.or...de_navbar.html

    the .js files are here:
    http://www.bethelbaptistmarquette.or...ddaccordian.js
    http://www.bethelbaptistmarquette.or...udes/jquery.js

    and the images in question are here:
    http://www.bethelbaptistmarquette.or...mages/plus.gif
    http://www.bethelbaptistmarquette.or...ages/minus.gif
    Last edited by biblestamps; 04-25-2009 at 01:01 AM. Reason: oops- not resolved after all

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You're problem is here:
    Code:
    <script type="text/javascript" src="sripts/ddaccordion.js"> 
     
    /***********************************************
    * Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
    * This notice must stay intact for legal use
    ***********************************************/
     
    </script>
    Jeremy | jfein.net

  3. #3
    Join Date
    Apr 2009
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Red face

    Ah- forgot to upload the most current nav_bar file. That got everything to collapse again, but it still is not expanding and the images are still missing.

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    In includes/jquery.js, change:
    Code:
    // JavaScript Document/*
     * jQuery JavaScript Library v1.3.2
     * http://jquery.com/
     *
     * Copyright (c) 2009 John Resig
     * Dual licensed under the MIT and GPL licenses.
     * http://docs.jquery.com/License
    *
     * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
     * Revision: 6246
     */
    To:
    Code:
    /* JavaScript Document
     * jQuery JavaScript Library v1.3.2
     * http://jquery.com/
     *
     * Copyright (c) 2009 John Resig
     * Dual licensed under the MIT and GPL licenses.
     * http://docs.jquery.com/License
    *
     * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
     * Revision: 6246
     */
    Jeremy | jfein.net

  5. The Following User Says Thank You to Nile For This Useful Post:

    biblestamps (04-24-2009)

  6. #5
    Join Date
    Apr 2009
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Thumbs up

    It works perfectly. Thank you!

  7. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Glad to help you! Your welcome!

    It seems your topic is solved... Please set the status to resolved.. To do this:
    Go to your first post ->
    Edit your first post ->
    Click "Go Advanced" ->
    Then in the drop down next to the title, select "RESOLVED"
    Jeremy | jfein.net

  8. #7
    Join Date
    Apr 2009
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I just realized that it isn't working 100% correctly. The "css examples" tab will expand but not re-collapse. And the "css drive" tab, while it does have the plus sign will not expand.

    http://www.bethelbaptistmarquette.or...ide_navbar.php
    http://www.bethelbaptistmarquette.or...ddaccordian.js
    http://www.bethelbaptistmarquette.or...udes/jquery.js


  9. #8
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Sorry for the late response, try recording navbar.php, and download ddaccordian, and jquery.js from the original page (or use http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js), and upload it.
    Jeremy | jfein.net

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
  •