Forum Home
Press F1
 
Thread ID: 29074 2003-01-09 05:41:00 How do I make a window open in a new window with the width and height...... TiM©:*) (977) Press F1
Post ID Timestamp Content User
112375 2003-01-09 05:41:00 How do I make a window open in a new window with the width and height I choose?
does any one know the html?

Tim
TiM©:*) (977)
112376 2003-01-09 06:16:00 Yes Greg S (201)
112377 2003-01-09 06:25:00 Ok, Can you please give me the html to make a link open in a new window with the height and width i choose? TiM©:*) (977)
112378 2003-01-09 07:20:00 =========
link
(put where you want link to be)
=========

<a href="javascript:openNewWindow();">



=========
code
(put in head tags)
=========


<script language="JavaScript">
<!-- hide

function openNewWindow() {
popupWin = window.open('login.html',
'open_window',
'menubar,toolbar,location,directories,status,scrol lbars,resizable,dependent,width=640,height=480,lef t=0,top=0')
}

// done hiding -->

</script>

and thats it
Octane (2962)
112379 2003-01-09 07:21:00 of course just change the login.html to what page you want Octane (2962)
112380 2003-01-09 07:51:00 I hope your not trying to make popups
:-<
sc0ut (2899)
112381 2003-01-09 11:12:00 No Greg S (201)
1