How Can Current Page Highlight be Disabled

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
lbpetrey
Beginner
Beginner
Posts: 3
Joined: Fri Feb 20, 2004 10:02 am

How Can Current Page Highlight be Disabled

Post by lbpetrey »

I need to disable the ability of the menu to highlight the current page. Any help would be great.


Thanks
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Take out the part that defines that from the style section of your menu_data.js file.

Code: Select all

pagecolor="black";
pagebgcolor="#82B6D7";
If you delete the pagecolor/pagebgcolor it will stop pages from being highlighted.

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Also do your homework assignment at http://milonic.com/forum/viewtopic.php?t=2981. :D
John
lbpetrey
Beginner
Beginner
Posts: 3
Joined: Fri Feb 20, 2004 10:02 am

Could Be Better Organized

Post by lbpetrey »

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!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hmm, that's not a bad idea, having a link to the properties sheets from FAQs
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Could Be Better Organized

Post by John »

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.
John
lbpetrey
Beginner
Beginner
Posts: 3
Joined: Fri Feb 20, 2004 10:02 am

Oh relax, Don't loose sleep over it.

Post by lbpetrey »

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
Post Reply