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:50
javascript new window
Poster: Ruth
Dated: Sunday January 4 2004 - 18:44:54 GMT
I've done a search and it may be out there but probably because I don't really understand it I can't find it. This is what used to be on the site for this particular link
Code:
<A href="#" onClick="window.open ('http://www.poems2u.com/menu.htm','javascript_menu1a','height=300,width=300,location=no,menubar=no,scrollbar=yes,resizable=yes'); return false;">whatever</a>
How would I do that in the menu. I know about the target features but can't figure out how you name the window so it's not used again if you click another link with a target=new feature. Thanks in advance.
Ruth
Poster: Hergio
Dated: Sunday January 4 2004 - 18:49:28 GMT
Take a look at the sample Ruth. http://www.milonic.com/menusample.php?sampleid=11
Whatever you specify for the TARGET is what the window is named. So you can have your links either reuse the window if you give them all the same name of you can say target=_blank so make them all use different windows. And then you can also use all the other menu options that the targetfeatures provides.
Hope this helps.