• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Help Creating Popup window

G

gmagnuson

Guest
#1
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
 
Z

Zodiaq

Guest
#4
*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
 
G

gmagnuson

Guest
#6
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.
 
G

gmagnuson

Guest
#11
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/");
}
 
#12
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.
 

Nismo83

OSNN AZN Addict
#13
I would suggest a function on it..

I am currently {
| |
| |
}
=========================
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

=========================
 
X

xotica

Guest
#14
<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 posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,960
Messages
673,237
Members
89,011
Latest member
grovo_test