Alternative URL?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
pbowers
Advanced
Advanced
Posts: 27
Joined: Wed Jun 05, 2002 8:15 am

Alternative URL?

Post by pbowers »

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. ?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Alternative URL?

Post by John »

pbowers wrote:Can someone point me to an example of Alternative URL?
Sure (I tripped up on this one, too)...

Code: Select all

,"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).
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: Alternative URL?

Post by kevin3442 »

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
<...>
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: Select all

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
])
This works on IE5.5 and 6; haven't tried it with any other browsers. Hope that helps!

--Kevin
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Nice tip, Tony. Will 'steal' that myself :!:

Thanks.
John
pbowers
Advanced
Advanced
Posts: 27
Joined: Wed Jun 05, 2002 8:15 am

Alternative URL?

Post by pbowers »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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!
John
menufurfer
Super Advanced
Super Advanced
Posts: 37
Joined: Sun Jul 28, 2002 4:40 am

Post by menufurfer »

I find the <span> tag is read in IE but not NS 4.x. I have NS 7.0 on order. Hopefully these incompatibilities will be fixed in that version. /mfurf
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Don't hold your breath. NS 7 is better, but still not up to IE (much as it pains me to say that). They're trying to play catch-up now, and IE has a very long lead.
John
Post Reply