Menu & Javascript Pop Up Windows !!

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
mrpete
Beginner
Beginner
Posts: 3
Joined: Sat Oct 05, 2002 1:59 pm

Menu & Javascript Pop Up Windows !!

Post by mrpete »

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
User avatar
trytrix
Super Advanced
Super Advanced
Posts: 92
Joined: Thu Sep 26, 2002 9:46 pm
Location: Flanders / Belgium
Contact:

Post by trytrix »

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 8O )

And ... Just give me a HIT : http://www.ransbecca.be
mrpete
Beginner
Beginner
Posts: 3
Joined: Sat Oct 05, 2002 1:59 pm

Post by mrpete »

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
mrpete
Beginner
Beginner
Posts: 3
Joined: Sat Oct 05, 2002 1:59 pm

Pop Up Windows

Post by mrpete »

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
User avatar
trytrix
Super Advanced
Super Advanced
Posts: 92
Joined: Thu Sep 26, 2002 9:46 pm
Location: Flanders / Belgium
Contact:

Post by trytrix »

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 8O )


And .. just give me a HIT at : http://www.ransbecca.be
Post Reply