![]() |
Navigation Menu Advice needed. |
Post Reply
|
Page 123 4> |
| Author | |
Maxi
Groupie
Joined: 24 October 2002 Location: United Kingdom Status: Offline Posts: 49 Points: 49 |
Post Options
Quote Reply
Topic: Navigation Menu Advice needed.Posted: 15 November 2003 at 12:24pm |
|
Hi all, hope someone can advice me of what I believe is the most important part of any website: The Navigation. I am presently using a Javascript navigation menu called HVMENU 5 whish is an excellent menu system, that makes a microsoft style menu (dropdown menues ect.) It can be viewed at the below link.http://www.dynamicdrive.com/dynamicindex1/hvmenu/ My problem is however what to do if people do not allow Scripts to run in there browser, as if they do not have scripts enabled my menu will not show. Can anybody (Bruce?) advice me of how I can build a menu like the menu on the left of this Forum? I like the Dark Grey Mouseover effect when the link is highlighted, and even if scripting is disabled the reader can still see the links without the mouseover effect....instead of the whole menu disappearing. How can I make this mouseover effect if I build a menu in a table...Just so that the cell will be highlighted the same way? (Where can I find this javascript and information on how to implement it?) Hope somebody can help me out here as Navigation is giving me sleepless nights
Kind Regards Maxi
|
|
![]() |
|
God_Struth
Senior Member
Joined: 07 August 2003 Location: United Kingdom Status: Offline Posts: 220 Points: 220 |
Post Options
Quote Reply
Posted: 15 November 2003 at 12:29pm |
|
It uses CSS and the mouse over event, very easily done!
|
|
|
"I'm only trying to help......"
|
|
![]() |
|
God_Struth
Senior Member
Joined: 07 August 2003 Location: United Kingdom Status: Offline Posts: 220 Points: 220 |
Post Options
Quote Reply
Posted: 15 November 2003 at 12:35pm |
|
Sorry, forgot the CSS:
|
|
|
"I'm only trying to help......"
|
|
![]() |
|
Maxi
Groupie
Joined: 24 October 2002 Location: United Kingdom Status: Offline Posts: 49 Points: 49 |
Post Options
Quote Reply
Posted: 15 November 2003 at 3:27pm |
|
Hi God_Struth Thanks for such a quick responce I had not expected that I have taken your advice and have now been playing with the CSS for awhile and cannot figure out what to do, (CSS is not my strong point at all). I was wondeing if you could point me in the direction of what I must do, to get this working. Hope you can help This is what my style sheet looks like now: ------------------------------------------------------------ --- <style TYPE="text/css"> DIV.Toolbar A {color: #FFFFFF; text-decoration:none} DIV.Links A {color: #009999; text-decoration:none} DIV.Login A {color: #666666; text-decoration:none} DIV.IconLinks A {color: #009999; text-decoration:none}
a.nav:hover { </style> _________________________________________________________
THIS IS WHAT MY MENU LOOKSLIKE ________________________________________________________ <html> <head> <body> <div align="left"> </body> </html> ________________________________________________________ Hope you can show me how to actually call the code to get the effect :-) Hope that I do not sound totally stupid, and hope you can help out again. Kind Regards Maxi |
|
![]() |
|
God_Struth
Senior Member
Joined: 07 August 2003 Location: United Kingdom Status: Offline Posts: 220 Points: 220 |
Post Options
Quote Reply
Posted: 15 November 2003 at 6:20pm |
|
Use the class in the link rather than the table:
Instead of: <tr> <td width="100%" class="nav:hover"><a href="http://www.Link1.com">LINK 1</a></td> </tr> You would do it: <tr> <td width="100%"><a href="http://www.Link1.com" class="nav">LINK 1</a></td> </tr> The CSS would look like: a.nav { color : #2F03ED; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; font-size: 10px; font-weight: bold; } a.nav:visited { color : #2F03ED; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; font-size: 10px; font-weight: bold; } a.nav:hover { color : #2F03ED; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; font-size: 10px; font-weight: bold; background-color: #cccccc; } |
|
|
"I'm only trying to help......"
|
|
![]() |
|
Maxi
Groupie
Joined: 24 October 2002 Location: United Kingdom Status: Offline Posts: 49 Points: 49 |
Post Options
Quote Reply
Posted: 16 November 2003 at 4:50am |
|
Hi God_Struth, I am happy to say that that did 50% of the trick (i.e. It now highlights the area around the link Unfortunately it does not highlight the whole cell in which the link is in, like the way the webwiz menu on the left does. Any ideas on how to do this would be appreciated. Thanks in advance for all your help already Regards Maxi |
|
![]() |
|
God_Struth
Senior Member
Joined: 07 August 2003 Location: United Kingdom Status: Offline Posts: 220 Points: 220 |
Post Options
Quote Reply
Posted: 16 November 2003 at 10:47am |
|
I ain't 100% sure, but I think you would have to use a little javascript to enable the whole cell to be active as such. (Think its javascript used to achieve the effect on this site..)
|
|
|
"I'm only trying to help......"
|
|
![]() |
|
God_Struth
Senior Member
Joined: 07 August 2003 Location: United Kingdom Status: Offline Posts: 220 Points: 220 |
Post Options
Quote Reply
Posted: 16 November 2003 at 10:49am |
|
Here's an example, but javascript ain't my thing but it does work:
|
|
|
"I'm only trying to help......"
|
|
![]() |
|
Post Reply
|
Page 123 4> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |