Click to See Complete Forum and Search --> : is there a way that these two codes can be combined?


me-so-sleepy
12-14-2002, 05:14 PM
this one..


<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..


<script>
window.onload=doit
function doit(){
window.resizeTo(500,500);/* the first number is for width, the second height*/
window.focus(); //brings window to front
}
</script>





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 :D

thnx

Matt

me-so-sleepy
12-14-2002, 05:23 PM
so is there no way at all it can load without them?

me-so-sleepy
12-14-2002, 05:32 PM
hta ?? um it wont be on the internet any! its like a CD site.. but made with html/javascript.. is there a different way maybe?