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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen size

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Does anybody know what the scripting would be so that when a user opens up a webpage it automatically sizes to the screen size, and the user does not have to scroll left or right.

Jason
 
Hi mate,

You care to elaborate on what you actually need?

Do you want the window to open to the available sceen size of the monitor or stop horizontal scrolling?

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Hi all,

I'm looking for a script which will open the web page(s) to whatever the user has their screen resolution set to - automatically. I think this is the same request as Jason B.

However, this might be a problem for me right now, but I usually use FrontPage 98 but am limited to MSWord to html for now. Its an issue with the extentsion on our server.

It's been driving me crazy....

Thanks - in advance for your help. Lanie Lanie
laniet@ij.net
etroidl@conaxfl.com


 
I think you are looking for something like this:

<head>
<script language=&quot;JavaScript&quot;><!--
function openmax()
{
window.moveTo(0,0);
var winW = (screen.width*1);
var winH = (screen.height*1);
window.resizeTo(winW, winH);
}
// --></script>
</head>
<body onload=&quot;openmax()&quot;> Clive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top