Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:25
Open new browser window from menu item
Poster: Hanbag
Dated: Tuesday June 8 2004 - 10:10:26 BST
I would like to be able to open directly from the menu a PDF document in a new window i.e. similar to the
"target=_blank" HTML command. Is it possible to do this with the Milonic menu?
Poster: John
Dated: Tuesday June 8 2004 - 15:04:42 BST
Set it up the same way you would any other aI statement and add target=_blank;...
Code:
aI("text=My PDF;url=mypdf.pdf;target=_blank;");
Poster: Hanbag
Dated: Tuesday June 8 2004 - 15:11:39 BST
Many thanks John
I had tried to do this before but it caused the whole menu to disappear - I guess there was a syntax error of sorts....
Anyway it works fine now so thanks very much for your help.
Poster: John
Dated: Tuesday June 8 2004 - 15:15:18 BST
You're welcome.
Be sure to check out http://www.milonic.com/forum/viewtopic.php?t=2981 for a lot of good info.