Results 1 to 2 of 2

Thread: SD Menu - Reflecting current page, when using SSI.

  1. #1
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default SD Menu - Reflecting current page, when using SSI.

    1) Script Title: Slashdot Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/slashdot.htm

    3) Describe problem:

    We are using this as navigation for our site. It has worked perfectly and been a dream to use. We are using a server side include on all pages to make management of the menu easier on our 50+ page site.

    All was coming up daisies until we implemented a search script on the site, when users search for content, and click on the results, the SDmenu does not reflect the page they are directed to, it uses the last stored cookie state instead.

    I'm sure I'm looking this right in the face, and I've searched for an answer already... but truth be told, I'm not much with Javascript, and the answer that did look to be useful seemed to indicate I'd have to make the change specific to each page. (IE: Not able to use an include anymore...)

    Can someone help me make sense of this?

    The site is http://www.merrimackcounty.net, for reference.

    Thanks very much!
    Last edited by Zutfen; 12-18-2008 at 01:44 PM.

  2. #2
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simpler is better... duh

    So after sitting down with a pad and paper, I discovered, exactly as I had feared... that I was way over analyzing this.

    Disabled "myMenu.Remember"
    Used "myMenu.toggleMenu(myMenu.submenus[#])"

    Done and done.

    So easy, it was hard!

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
  •