Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
smoke crack

need some quick dreamweaver help<<<<<<<

Recommended Posts

when making a link pop up in a new window....how do you control the size of the popup window? can anyone help a rookie out?:confused:

Share this post


Link to post
Share on other sites
<SCRIPT LANGUAGE="javascript">
<!--
window.open ('blah.html', 'blah', config='height=400, width=200, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no')
-->
</SCRIPT>

Share this post


Link to post
Share on other sites

<script type="text/javascript">

 

function resize(w,h) {

if (parseInt(navigator.appVersion)>3) {

if (navigator.appName=="Netscape") {

top.outerWidth=w;

top.outerHeight=h;

}

else top.resizeTo(w,h);

}

}

 

 

</script>

 

and in the body of course

 

<body onload="resize(850,710)">

Share this post


Link to post
Share on other sites

Register for a 12ozProphet forum account or sign in to comment

You need to be a forum member in order to comment. Forum accounts are separate from shop accounts.

Create an account

Register to become a 12ozProphet forum member.

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×