Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:22
Menu & Javascript Pop Up Windows !!
Poster: mrpete
Dated: Saturday October 5 2002 - 14:01:35 BST
Hi,
I want one of my links to open a POP Up Window.
How do I do this .... ?
The code I normall use, causes errors with the menu !
Cheers
Peter
Poster: trytrix
Dated: Saturday October 5 2002 - 15:53:10 BST
Hi Merpete,
Just do the following:
1. Include this function into the array.js file
function openNewWindow(winURL,winConfig){
mmConfig=""
mmConfig+=winConfig
var mmWin=open(winURL,"",mmConfig);
mmWin.focus();
}
2. The menu item looks like this :
,"Your description goes here","javascript:openNewWindow(\"Your html file.html\",\"width=450,height=475,toolbar=no,location=no,directories=no,menubar=no,resizable=no,scrollbars=no,status=no\")",,,1
Change the "width" & "height" to your needs...
Greetings,
Trytrix
(From The Flandes Fields )
And ... Just give me a HIT : http://www.ransbecca.be
Poster: mrpete
Dated: Saturday October 5 2002 - 17:06:12 BST
Thanks, I will try that !!
Now I just need to get my ASP GuestBook to work with the menu !!
I use the smartwebby ASP Guest Book...
http://smartwebby.com/web_products/flas ... efault.asp
It the menu works, until I click the guestbook link, then I lose the sub menus...
Any Ideas ?
Thanks
Peter
Pop Up Windows
Poster: mrpete
Dated: Saturday October 5 2002 - 17:18:30 BST
Hi,
I've now got the pop up window to work.. Thanks
Can I change the text that appears in the stats bar, when using the pop up window ? Instead of it showing the URL... ?
Thanks
Poster: trytrix
Dated: Wednesday October 9 2002 - 19:44:41 BST
Hi,
Very busy the last couple of days, but ... I"m back again ...
Just enter the desired text at the end of the line i.e. :
,"<center>Productions","show-menu=Productions",,"See the full list on this page .",1
Best regards,
Trytrix
(From The Flanders Fields )
And .. just give me a HIT at : http://www.ransbecca.be