PDA

View Full Version : Resolved SD Menu - Reflecting current page, when using SSI.



Zutfen
12-17-2008, 04:41 PM
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!

Zutfen
12-17-2008, 07:46 PM
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! :D