Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:42
How Can Current Page Highlight be Disabled
Poster: lbpetrey
Dated: Friday February 20 2004 - 9:05:16 GMT
I need to disable the ability of the menu to highlight the current page. Any help would be great.
Thanks
Poster: Ruth
Dated: Friday February 20 2004 - 13:34:15 GMT
Take out the part that defines that from the style section of your menu_data.js file.
Code:
pagecolor="black";
pagebgcolor="#82B6D7";
If you delete the pagecolor/pagebgcolor it will stop pages from being highlighted.
pagebgcolor="#82B6D7";
Ruth
Poster: John
Dated: Friday February 20 2004 - 23:39:25 GMT
Also do your homework assignment at http://www.milonic.com/forum/viewtopic.php?t=2981.
Could Be Better Organized
Poster: lbpetrey
Dated: Saturday February 21 2004 - 1:54:01 GMT
I spent almost 3 hours searching and reading this forum looking for the answer to my problem before posting at about 3AM. I ended up solving the problem by editing the fuction getCurrentPage in mmenudom.js file.
I wish i had found the information you pointed out last night! Would be great if there was a link to it from the FAQ.
Thanks a million.
lbp
P.S. Homework is DONE!
Poster: Ruth
Dated: Saturday February 21 2004 - 2:13:40 GMT
Hmm, that's not a bad idea, having a link to the properties sheets from FAQs
Re: Could Be Better Organized
Poster: John
Dated: Saturday February 21 2004 - 18:07:47 GMT
lbpetrey wrote:
I ended up solving the problem by editing the fuction getCurrentPage in mmenudom.js file.
NEVER, NEVER edit the menu code directly. Everything you need can be done by editing the parameters in your _data file.
I will ask that you replace the mmenudom.js file with the original version. We are unable to support your requests for help otherwise, as you are no longer running the code we wrote.
lbpetrey wrote:
P.S. Homework is DONE!
Excellent.
Oh relax, Don't loose sleep over it.
Poster: lbpetrey
Dated: Saturday February 21 2004 - 20:22:30 GMT
I have already relplaced my edited version with the original. Once I found the RIGHT way to accomplish what I wanted to do.
Great Menu System!
Thanks