property that sets path color

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
freeman2002
Advanced
Advanced
Posts: 11
Joined: Wed Jun 02, 2004 10:52 pm
Location: Montreal
Contact:

property that sets path color

Post by freeman2002 »

Hi,
I just finished building my menu and I noticed that when I click on an item in the menu, that cell and all the cells I passed through will take a light blue color (and I'm not talking about the OnMouseOver color here, but on the color that it will have ONCE I clicked).... what is the variable that sets that color?

thanks
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi,

In the menu style, pagebgcolor affects the background color of the page-matching items, and pagecolor affects the text color of those same items.

Kevin
freeman2002
Advanced
Advanced
Posts: 11
Joined: Wed Jun 02, 2004 10:52 pm
Location: Montreal
Contact:

Post by freeman2002 »

Thanks!

This menu is really nice, but the only negative point I found is that the variable names are not well chosen. :?
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi,
freeman2002 wrote:Thanks!
You're welcome.
freeman2002 wrote:This menu is really nice, but the only negative point I found is that the variable names are not well chosen. :?
On the whole, I would have to disagree. I think most of the property names follow from the functions they serve. I probably would have named some a little differently, but then someone would undoubtedly dislike the names I chose. It seems largely a matter of personal preference to me.

The best thing to do is familiarize yourself with the various Style Properties, Menu Properties, and Item Properties by reading therough the Quick Refs. Then you'll have an idea of what features are available. When it comes time to implement one, you may not remember its name, but you'll remember that you read about such a feature. Then you can simlpy peruse the list until you find the name of the feature.

Kevin
freeman2002
Advanced
Advanced
Posts: 11
Joined: Wed Jun 02, 2004 10:52 pm
Location: Montreal
Contact:

Post by freeman2002 »

I know but there are some standards that everybody uses like for example when u refer to a text color ( or font color ) there should be the word text or font somewhere in the variable name.
(ex. : pageFontColor or pageTextColor is more appropriate than pageColor IMHO)

but anyways like you say it's all a matter of taste :)

thanks again
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I agree that some of them could be better but unfortunately we are now stuck with them.

Changing them would cause all sorts of problems for people that need to upgrade and for people that have familiarized themselves with the current set.

What we could do is build a template that would allow you to choose your own variable names, shouldn't be too difficult to do but would obviously add to an already fat menu system so we'd need to add this as a user definable module.

I've added it to the To-Do list. As it's not a high priority I doubt if it will get done in the near future though but will be done at some point.

Cheers
Andy
freeman2002
Advanced
Advanced
Posts: 11
Joined: Wed Jun 02, 2004 10:52 pm
Location: Montreal
Contact:

Post by freeman2002 »

Thanks Andy. That's an excellent idea, such a module would really be useful in my opinion. But I agree it's no high priority. It would only be a "nice 2 have" feature.

thanks again to both of you :!:
Post Reply