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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Desperate for help!

Status
Not open for further replies.

NothingArt

Programmer
Dec 19, 2001
19
US
Hey I've been looking everywhere for this and can't find it and I'm in desperate need of help!! Alright I want to make a link to enter my site and have it to be a pop up window. (the site being in the pop up window) But I've been noticing for some reason when the window pops up it's not resizable, I can't minimize maximize. BUT I want it to have that option, if anyone out there can help me it would be GREATLY appreciated.
 
Here's what you do, (in fact here is the code for you)


<HTML>
<HEAD>
<TITLE>WHATEVER</TITLE>
<SCRIPT LANGUAGE=&quot;Javascript&quot;>
<!-- Begin
function popUp() {
window.open(&quot;logo.html&quot;,&quot;Alert&quot;,&quot;toolbar=no,location=no,directories=no,status=no,&quot; + &quot;menubar=no,scrollbars=no,resizable=yes,&quot; + &quot;width=100,height=100,screenX=100,screenY=100&quot;)
}
// End-->
</SCRIPT>
</HEAD>
<BODY BGCOLOR=&quot;WHITE&quot;>
<A HREF=&quot;#&quot; onClick=&quot;popup();&quot;>CLICK HERE FOR POPUP</A>
</BODY>
</HTML>

That's it. Noitce in the Javascript window.open(resizable=yes) you can change any of those to suit your needs, also modify width and height of default popup, and screenX and screenY (screenx,y are the position aspects of where you want your popup to appera

Nate (0598792469)
 
oh I forgot to mention one thing,

after window.open(logo.html) <-- change that to your popup .html file
&
after window.open(&quot;alert&quot;) <-- change that to whatever you want. I suggest &quot;popup&quot;

Nate(0598792469)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top