INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

popup menu link code syntax

popup menu link code syntax

(OP)
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('www.gwaar.org', '_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 - www.gwaar.org.  Right now it looks for a link in my site that doesn't exist.

Thank you.

RE: popup menu link code syntax

you need make the links full urls, that meas include the http:// part in your links.  http://www.gwaar.com

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

Go ahead try it out create a simple text file and name it www.gwaar.com  .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.
http://behindtheweb.blogspot.com/
 

RE: popup menu link code syntax

(OP)
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!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close