Help Creating Popup window

G

gmagnuson

Guest
I need to create a popup window inside this code:

if(j==1) { // 1st category items
a=new Array();
O("Pick Level","");
O("Sectional","http://ioaofficials.com");
O("Regional","http://ioaofficials.com");
O("State Finals","http://ioaofficials.com");
}

So when It loads the web address, it will load up the popup window. Thanks.
Bold= where I need to create popup
 
thread moved from Networking, Internet & Intranet to Coding & Design
 
*zodiaq lol*

Sorry gmagnuson I can't help but chuckle. Everyone wants software to kill pop-ups and you want help to make one.

Kinda funny
 
No, zedric, I have not looked at that how does it work?

This is not for advertisements, this is for when you select a option in a drop down menu and it will load the popup with the information.
 
I am still having problems can someone tell me what I a doing wrong? Thanks. The part in bold is the popup window.

if(j==1) { // 1st category items
a=new Array();
O("Pick Level","");
O("Sectional","window.open('http://ioaofficials.com/','Tourney
Assignments','width=400,height=400')");

O("Regional","http://ioaofficials.com/");
O("State Finals","http://ioaofficials.com/");
}
 
That looks really strange. Not the right way to do it. But since it's Javascript I suppose it could work if you execute the command by running eval() on it.
 
I would suggest a function on it..

I am currently {
61217616
| |
intrigue_alvin83@hotmail.com
| |
alvinauboonhock
}
=========================
Intel P4 1.5 Ghz
Intel D850GB MOBO
256MB PC 800 RDRAM
20GB Maxtor HDD (5400 RPM)
40GB Maxtor HDD (7200 RPM)
52X Creative CDROM
8X4X32 Creative CDRW
16X ASUS DVD ROM
Iomega 100 MB USB Zip Drive
SYBA Ultra ATA IDE controller card
SB live 5.1 DE
Ageing Gainward 64MB GF2MX400 --> | Upgrading to GF4 Ti4 series |
Altec Lansing ACS 56
Dlink D538TX NIC

=========================
 
<SCRIPT LANGUAGE="Javascript">
<!--
function instruction() {
window.open("test.htm","pop up","TOOLBAR=yes,LOCATION=no,DIRECTORIES=no,STATUS=no,MENUBAR=no,RESIZABLE=no,COPYHISTORY=no,SCROLLBARS=yes,WIDTH=450,HEIGHT=100");
}
// -->
</SCRIPT>

<A HREF="#" onClick="instruction()">Your Link Here</A>
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back