Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

popup menu link code syntax 1

Status
Not open for further replies.

Evil8

MIS
Mar 3, 2006
313
0
0
US
I created a popup menu, but the links don't work. What is the proper syntax for:

Code:
mm_menu_0908124917_1.addMenuItem("WI Aging","window.open('[URL unfurl="true"]www.gwaar.org',[/URL] '_top');");

I want the user to click on a child menu link - WI Aging -and have the browser open a new window to navigate to a new site - Right now it looks for a link in my site that doesn't exist.

Thank you.
 
you need make the links full urls, that meas include the http:// part in your links. [red][/red]

Otherwsie, it will attempt to look for a file called in your site.

Go ahead try it out create a simple text file and name it .com is going to be the extension. Try your link it will open up that file.



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
Prior to posting the question I tried that and it just didn't do anything. Now it works... maybe I typoed.

Thanks for your prompt answer!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top