PDA

View Full Version : How do I make a window open in a new window with the width and height......



TiMę:*)
09-01-2003, 06:41 PM
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

Greg S
09-01-2003, 07:16 PM
Yes

TiMę:*)
09-01-2003, 07:25 PM
Ok, Can you please give me the html to make a link open in a new window with the height and width i choose?

Octane
09-01-2003, 08:20 PM
=========
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
09-01-2003, 08:21 PM
of course just change the login.html to what page you want

sc0ut
09-01-2003, 08:51 PM
I hope your not trying to make popups
:-<

Greg S
10-01-2003, 12:12 AM
No