Alternative URLs break menu openers

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
blimey
Advanced
Advanced
Posts: 17
Joined: Mon Jun 10, 2002 1:16 pm

Alternative URLs break menu openers

Post by blimey »

Set an alternative URL on a menu opener, and the menu won't open any more. This is what alternative URLS are for isn't it?

Using the demo code site in http://milonic.com/menu/menu.zip, I changed the "News & Sites" menu opener thus:

,"News sites  ","show-menu=news target=_blank","http://www.google.com","",1
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

You've got your target in the wrong place.
blimey
Advanced
Advanced
Posts: 17
Joined: Mon Jun 10, 2002 1:16 pm

Post by blimey »

Have moved the target as suggested, and that helps now thanks. Without the target there at all, the URL doesn't open either. Perhaps it would help to update the FAQ to make it clear that setting the target is necessary for this to work. The FAQ makes no mention of this IIRC.

Anyway, this still doesn't work when you set the menus to open onClick. A new browser window opens up with the URL javascript:ShM=1;popi('show-menu=news','menu1',1); This causes the Object Expected message, rather than displaying Google. Please fix.
Post Reply