Results 1 to 4 of 4
Dec 14, 2002, 15:58 #1
- Join Date
- Dec 2002
- 0 Post(s)
- 0 Thread(s)
is there a way that these to codes can be combined?
<A HREF="main.htm" TARGET="popup" ONCLICK="window.open('main.htm', 'popup', 'width=680,height=475')"><img src="intro.jpg" border="0"></a>
and this one..
window.resizeTo(500,500);/* the first number is for width, the second height*/
window.focus(); //brings window to front
because i want the window to load at a custom size.. but i dont want the control bars or scroll bar or status bar i only want the blue bar at the top with the 'close' 'minimize' and 'restore' buttons on it.. this is what the first code makes the window look like when the link is clicked on an the window pops up.
so yea is there a way? if so whats the code