Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How?

Status
Not open for further replies.

help120

Technical User
Apr 15, 2001
198
US
How can i add a scroll bar to this code?
<script language=&quot;JavaScript&quot;>
//<!--

var launchMap = null;

var w = 0;
var h = 0;

function deadCentre(url,w,h) {
if (window.screen) {
var chasm = screen.availWidth;
var mount = screen.availHeight;
launchMap = window.open(url,'posB','width=' + w + ',height=' + h + ',left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));
}
}
// -->
</script>
 
I think scrollbar (or not) is one of the open window parameters - but surely a javascript question would be better off in the javascript forum?

(Unless I'm in completely the wrong place here...)

=)

PetitPal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top