g.p.!! Need to know, new window resized

liunx

Guest
Please.. some one help me! Im getting so mad! How do I get a new (resized to my liking) window to pop up with someone clicks on a link on my home page.<br />
<br />
I am making a website with photoshop tutorials. when someone chooses a tutorial a new window opens up (500x600) and the tutorial content is on that. <br />
<br />
Any one know how to do this? or can give me a website<!--content-->http://javascript.internet.com/generators/popup-window.html<!--content-->this should do the job:<br />
<br />
<HEAD><br />
<SCRIPT LANGUAGE="JavaScript"><br />
function Open(page) <br />
{<br />
window.open(page,"CtrlWindow","toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,left=150,top=150,width=230,height=110");<br />
}<br />
</SCRIPT><br />
</HEAD><br />
<br />
So above you can specify if you want toolbar,menubar, addressbar,scrollbar, making it resizeable or fixed, where the window pops up on the screen[left= right=] & your height & width..<br />
<br />
below is a choice of either a button to open it,an image or just text, take your pick...<br />
<br />
<br />
<input type = button value = Open-Window onClick="Open('youtpage.htm')"><br />
<br />
<A HREF=http://www.htmlforums.com/archive/index.php/"javascript:Open('yourpage.htm')";><IMG SRC=http://www.htmlforums.com/archive/index.php/"yourimage.gif" BORDER=0 ALT=CLICK HERE>Click Here</A><br />
<br />
<A HREF=http://www.htmlforums.com/archive/index.php/"javascript:Open('yourpage.htm')";>Click Here</A><br />
<br />
<br />
pickup line no.22 I might not see you again so you better kiss me now gorgeous!<!--content-->If you wish to use the code above ensure you type JavaScript without the space.<br />
<br />
So...<br />
<br />
<A HREF=http://www.htmlforums.com/archive/index.php/"java script:Open('yourpage.htm')";>Click Here</A><br />
<br />
...should be...<br />
<br />
<A HREF=http://www.htmlforums.com/archive/index.php/"JavaScript:Open('yourpage.htm')";>Click Here</A><!--content-->why did you post to a thread that is 2 months old just to say the samething?<!--content-->
 
Back
Top