Calling a popup page from the menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
juliaw
Beginner
Beginner
Posts: 8
Joined: Mon Oct 02, 2006 3:37 pm

Calling a popup page from the menu

Post by juliaw »

I am sure this is basic, but I have not seen anything in FAQs etc. I have some excel created tables that I just want to show in popup pages. How do I do this from the menu?
Thank you anyone for your help
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Julia,

For a simple popup, use the target property in the menu item definition. Like so:

Code: Select all

aI("text=Item Text;url=whatever.htm;target=_blank;");
target=_new should also work. If you want more control of the appearance of the popup window, you should consider using a javascript function to open the new window (using the window.open() method).

Hope that helps,

Kevin
Post Reply