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:56
Active link colour
Poster: Al Camino
Dated: Friday January 21 2005 - 23:52:57 GMT
Is there any way of setting an active link via css classes so that visitors can see which page they're currently visiting? There's the onclass and the offclass, there's even the visitedcolor but I can't find anyway of setting a different style for the active/current link.
Poster: Ruth
Dated: Saturday January 22 2005 - 0:38:51 GMT
If you're talking about the menu highlighting on the particular item that is the current page you use pagebgcolor and pagecolor, or pageimage if you want images, or pageborder. So, for example if you wanted the item bgcolor to be red and the font color black when you are on that item's page, you would add this to the style definition:pagecolor="#000000";
pagebgcolor="#ff0000";. you actually shouldn't have to use both, I would guess you can use just the pagecolor= and then only the text color would change.
There are links below to various style properties with more indepth explanations of each, and on the Milonic Home Page under DHTML Menu, there's a link for quick reference guides which also show functions and methods and global variables.
Ruth
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
