Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop-up - Can I use html? 1

Status
Not open for further replies.

JennyW

Technical User
Mar 1, 2001
323
CA
Hiee,
Do I need to use Javascript if I’m making pop-up windows with lots of features?
Here are a few of the things I want my pop-up windows to have (I’ve got my pop-up windows doing the following)…
Opening automatically, From a Form, Targeting the Opener, Closing when they go to the Opener, Closing the pop-up etc.

Instead of using Javascript can I use html code to add the pop-up features (above)?
Why or why not?

Here’s the a basic pop-up html code I WAS using…

<a href=&quot;ipop0008-0008.htm&quot; onClick=&quot;window.open('apop_scrollbar_test.htm','popup','scrollbars=yes,resizable=0,width=325,height=600'); return false&quot;>

Thanks,
Jenny
 
Jenny, that's javascript --

I don't **think** I'm in need of correcting when I say that the only way to open a popup window is with javascript --

Whether it be in your href tag, or in a function, it's still javascript... and you'll have to continue using it if you want to be able to control the windows like you described.

:)
 
Hey link9,
Ok, gotcha!
I appreciate the info!

Thanks,
Jenny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top