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:43
Alternative URL?
Poster: pbowers
Dated: Wednesday September 11 2002 - 22:09:11 BST
Can someone point me to an example of Alternative URL?
From http://www.milonic.co.uk/menu/faq.php#l32:
"The DHTML menu uses the hyperlink property in order to know when you want a sub menu to pop-up. in order to have the menu item link to a different URL you need to enter your alternative URL in the array."
BTW, I've finally implemented the Milonic menu system on my main page at http://www.pipingdesign.com (the rest of the site is yet to be updated). It was relatively painless and definitely worth the effort and money spent on the license wasn't wasted. Hopefully the upcoming new release won't force me to re-do the whole thing.
Two things I'd like to see:
-option to have inset/outset for mouseover menu items
-"Tooltip" explaining the contents of the menu item to be clicked
Paul
Piping Design Central
PS One other thing: I tried inserting separators between submenu items, but for some reason the separator bars would only start horizontally halfway. ?
Re: Alternative URL?
Poster: John
Dated: Thursday September 12 2002 - 15:48:12 BST
pbowers wrote:
Can someone point me to an example of Alternative URL?
Sure (I tripped up on this one, too)...
Code:
,"Student Affairs","show-menu=stuaff","http://www.west.asu.edu/sa/","Student Affairs Home Page",1
This gives a menu item that is a link as well as popping up a sub. End result is at http://westcgi.west.asu.edu/sai/ (Home/ASU Sites/Student Affairs/ in the case of the above example).
Re: Alternative URL?
Poster: kevin3442
Dated: Friday September 13 2002 - 6:35:57 BST
pbowers wrote:
<...>
Two things I'd like to see:
-option to have inset/outset for mouseover menu items
-"Tooltip" explaining the contents of the menu item to be clicked
<...>
Two things I'd like to see:
-option to have inset/outset for mouseover menu items
-"Tooltip" explaining the contents of the menu item to be clicked
<...>
Hi pbowers:
Conveniently, the menu system lets you use HTML at various points in a menu item definition. I've found that you can achieve a nice tooltip effect by using a <span> tag around the "Description Text" to be displayed in the menu. Put your tooltip text in the title attribute of the opening <span> tag. Like this:
Code:
addmenu(menu=["file",,,70,2,"",style_Cascade,,"left",effect_Cascade,,,,,,,,,,,,
,"<span title='Reload settings from file'>Open</span>","javascript:open_file();",,,1
,"<span title='Save settings to a file'>Save</span>","javascript:save_file();",,,1
,"<span title='Clear all settings'>New</span>","javascript:clear_fields();",,,1
])
,"<span title='Reload settings from file'>Open</span>","javascript:open_file();",,,1
,"<span title='Save settings to a file'>Save</span>","javascript:save_file();",,,1
,"<span title='Clear all settings'>New</span>","javascript:clear_fields();",,,1
])
This works on IE5.5 and 6; haven't tried it with any other browsers. Hope that helps!
--Kevin
Poster: John
Dated: Saturday September 14 2002 - 19:23:01 BST
Nice tip, Tony. Will 'steal' that myself
Thanks.
Alternative URL?
Poster: pbowers
Dated: Wednesday September 18 2002 - 19:48:42 BST
Thanks John and Kevin.
Even though you can put link descriptions in the browser status bar, it's much more convenient to have them where the users' eyes already are.
I'm having trouble imagining how much better version 4 will be.
Paul
Poster: John
Dated: Wednesday September 18 2002 - 20:26:23 BST
Paul, I do agree on having the tips in an easier to see spot for the user. Think the only reason I used the status bar was because it was so easy to implement here.
As for 4.0, you're right there, too. It's going to be tough to make this thing better!