Reply
Old October 25th, 2002 Top | #1
gmagnuson
 
gmagnuson's Avatar
Unregistered
Posts: n/a

Default Help Creating Popup window

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
  Reply With Quote
Old October 28th, 2002 Top | #2
gmagnuson
 
gmagnuson's Avatar
Unregistered
Posts: n/a

Default

Anyone???
  Reply With Quote
Old October 28th, 2002 Top | #3

OSNN Folding Team  
xsivforce's Avatar
Prodigal Son
Joined: February 2002
Location: Texas, USA
Posts: 8,542
Reputation: 1410
Power: 221

Default

thread moved from Networking, Internet & Intranet to Coding & Design
xsivforce is offline   Reply With Quote
Old October 28th, 2002 Top | #4
Zodiaq
 
Zodiaq's Avatar
Unregistered
Posts: n/a

Default

*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
  Reply With Quote
Old October 28th, 2002 Top | #5

OSNN Folding Team  
Zedric's Avatar
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 171

Cool

Have you looked at window.open([...])?


Did I help you? Please use the reputation system. Click the icon on the left!
Proud host of the OSNN.net folding sigs. Want one? Check the folding thread!
http://zedric.no-ip.com/
Zedric is offline   Reply With Quote
Old October 28th, 2002 Top | #6
gmagnuson
 
gmagnuson's Avatar
Unregistered
Posts: n/a

Default

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.
  Reply With Quote
Old October 28th, 2002 Top | #7

OSNN Folding Team  
Zedric's Avatar
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 171

Cool

Check the reference manual:
http://developer.netscape.com/docs/m...n1.htm#1152528


Did I help you? Please use the reputation system. Click the icon on the left!
Proud host of the OSNN.net folding sigs. Want one? Check the folding thread!
http://zedric.no-ip.com/
Zedric is offline   Reply With Quote
Old October 29th, 2002 Top | #8
Stircrazy
 
Stircrazy's Avatar
Unregistered
Posts: n/a

Default

www.webmonky.com
and window.open is a pretty basic and anoying cmd lol also easiest to use for such things
  Reply With Quote
Old October 29th, 2002 Top | #9
gmagnuson
 
gmagnuson's Avatar
Unregistered
Posts: n/a

Default

www.webmonky.com loads up www.lycos.com/ what do you mean?
  Reply With Quote
Old October 29th, 2002 Top | #10

OSNN Folding Team  
Zedric's Avatar
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 171

Cool

I think he meant www.webmonkey.com .


Did I help you? Please use the reputation system. Click the icon on the left!
Proud host of the OSNN.net folding sigs. Want one? Check the folding thread!
http://zedric.no-ip.com/
Zedric is offline   Reply With Quote
Old October 30th, 2002 Top | #11
gmagnuson
 
gmagnuson's Avatar
Unregistered
Posts: n/a

Default

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/");
}
  Reply With Quote
Old October 30th, 2002 Top | #12

OSNN Folding Team  
Zedric's Avatar
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 171

Cool

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.


Did I help you? Please use the reputation system. Click the icon on the left!
Proud host of the OSNN.net folding sigs. Want one? Check the folding thread!
http://zedric.no-ip.com/
Zedric is offline   Reply With Quote
Old October 30th, 2002 Top | #13
 
Nismo83's Avatar
OSNN AZN Addict
Joined: March 2004
Posts: 383
Reputation: 10
Power: 100

Default

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

=========================

CPU | AMD64 3000+ VENICE - RAM | 1GB DDR 333MHz HYNIX KVR - MOBO | GIGABYTE K8NSC - HDD | 200GB MAXTOR HDD, 120GB WD HDD, 80GB WD HDD, 40GB MAXTOR HDD - GFX | 256MB DDR3 GIGABYTE ATI X800PRO - SOUND | CREATIVE AUDIGY2ZS PLATINUM PRO - SPEAKER | LOGITECH Z680 DTS/DD - PSU | THERMALTAKE 420W PSU - OPTICAL | ASUS CDRW, ASUS DVD-ROM - MONITOR | VIEWSONIC E90f+ 19" FLAT - ROUTER | CNet ADSL ROUTER MODEM

Nismo83 is offline   Reply With Quote
Old November 6th, 2002 Top | #14
xotica
 
xotica's Avatar
Unregistered
Posts: n/a

Default

<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>
  Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to populate parent window from child window usin coldfusion daraptor Web Design & Coding 0 January 29th, 2007 3:21am
Window Messenger Pop Up Window percy Windows Desktop Systems 7 August 5th, 2004 12:45am
Popup window username and Pass help Heeter Windows Desktop Systems 3 September 6th, 2003 4:56pm
Is there a way to open new window in a tabbed window? jkoXP Windows Desktop Systems 6 June 18th, 2003 9:14am
IE 6.0 Popup Window Problem!!! Djinsad Windows Desktop Systems 1 March 5th, 2002 2:30am