Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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: Wednesday July 18 2012 - 06:07:34

Alternative URLs break menu openers


Poster: blimey
Dated: Tuesday June 25 2002 - 10:11:58 BST

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://www.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


Poster: Andy
Dated: Tuesday June 25 2002 - 10:22:48 BST

You've got your target in the wrong place.


Poster: blimey
Dated: Tuesday June 25 2002 - 15:00:30 BST

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.