Recycle your Computers & Technology with us.

How do I create a pop-up window?

Posted By : Student of Katharine Gibbs School - New York on September 9, 2003

Follow us on Facebook   Follow us on Twitter   Follow us on LinkedIn

Let Data Doctors be your personal IT department today

What is the HTML for a pop-up for instance, on my custom site on geocities.com, if i wanted a pop-up to come up for www.datadoctors.com, then what would the HTML be?

This question was answered on September 9, 2003. Much of the information contained herein may have changed since posting.


Put the following code in your <HEAD> tag.

like this:

<HEAD>

<SCRIPT LANGUAGE="Javascript">

function newwin()

{

window.open("http://www.datadoctors.com","HTML4ME","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizeable=0,width=540,height=396")

}

//-->

</SCRIPT>

</HEAD>

Put the following in your <BODY> tag.

like this:

<BODY onload="javascript:newwin();">

About the author

Posted by Student of Katharine Gibbs School - New York on September 9, 2003

Need Help with this Issue?

We help people with technology! It's what we do.
Contact or Schedule an Appointment with a location for help!