Unusual Popup Request

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
marcusg
Beginner
Beginner
Posts: 1
Joined: Thu Mar 30, 2006 2:29 am

Unusual Popup Request

Post by marcusg »

My customer wants to use an unusual popup link. I'm using version 5.744 of the menu.

<href="#" onClick="javascript: OpenPopUp('/cgi-bin/domain_renew.pl',1); return false">

obviously I don't need the # to hide the url and the 'onClick' would not be needed, but I can't get the menu to recognise this link.

I know the problem is with the '; return false' item since the ';' flags a new menu variable. I've tried a number of combinations including the following:

aI("text=Popup menu test;image=menu/newsimage.gif;url=javascript:OpenPopUp('/cgi-bin/domain_renew.pl',1); return false);;status=Test Popup Link;separatorsize=1"))

Any suggestions? Thanks for your help in advance.

Marcus G
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I'm not a js person, but I found a posts that seem to be about the return false

viewtopic. ... 7430#27430

Also, can't you put the function at the top of the menu data file and include the return false as part of the function? [showing my lack of js :) ]

Ruth
Post Reply