Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:30
Can link descriptions be added?
Poster: chiage
Dated: Tuesday May 20 2003 - 19:47:50 BST
I am using Top Navigational Bar IV for my multi-level menu and would like to add pop-up link descriptions to the lowest level of the menu. Is it possible to add that type of functionality to this script? Anyone know the code?
Thanks!
Poster: John
Dated: Thursday May 22 2003 - 16:21:35 BST
I don't know the code for that, but why not add your descriptions to the status bar? That functionality is already built-in.
Poster: chiage
Dated: Thursday May 22 2003 - 17:20:53 BST
Thanks, John. The status bar is not as apparent as a pop-up, but I may use it if I cannot find another way. When you say the functionality is already built in, do you mean it is already in the Top Navigational Bar IV code? If so, can you please send me a snippet so I can find it? I really appreciate your help!
Chiage
Poster: John
Dated: Thursday May 22 2003 - 18:16:12 BST
Not entirely sure what you mean by Top Navigational Bar IV code, However, status info can be set up for any menu item you like (and not set up for those you don't want).
Note this comment at the bottom of the mainmenu section...
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
Therefore, a menu with status info would look something like this...
,"ASU West","http://www.west.asu.edu/",,"I am status info",1
You can also call another menu and have status...
,"Student Affairs","show-menu=stuaff","http://www.west.asu.edu/sa/","Also status",1
No status would be...
,"ASU West","http://www.west.asu.edu/",,"",1
(but note the "" in the status area)
Cool, no?
Poster: chiage
Dated: Thursday May 22 2003 - 19:41:19 BST
Hi John,
Yes, it is very cool and so easy to add! Thank you!
Chiage
Poster: John
Dated: Thursday May 22 2003 - 20:00:45 BST
You're welcome.
That'll be 2 bucks, please...
Title Attribute for links in menu
Poster: jraper
Dated: Saturday May 24 2003 - 9:32:06 BST
John,
What I think he is asking for is the ability to put a "title" attribute in a link (much like you can with a "target" attribute). Thus:
,"","http://www.mysite.com title=hello",,"",1
The intent seems to be to cause a "Tool-tip" like label to popup upon mouseover.