|
An Idea I thought of... I was looking for a software package to re-size the browsers, so I can see what web pages would look like in the particular screen size, and thought - WAIT - I can do this myself Dang it (sorry for the harsh language!)! Click on the 640x480 screen to see what a web page would look like @ that resolution, then 800x600, then 1024x768 - the standard screen sizes... The JavaScript will close the initial window (only if you approve!) and not allow you to re-size the new window. It should be accurate, although it MAY not be including the menu bars, URL bars, etc... in the size... Enjoy - let me know if this helps your testing!
<html>
<head>
<script language="JavaScript">
<!-- Begin
function CloseMe() {
this.window.close()
}
// End -->
</script>
</head>
<body>
<h1>
<a
href="javascript:window.open('about:blank','Nothing','toolbar=Yes,location=Yes,status=Yes,menubar=Yes,scrollbars=Yes,resizable=No,width=640,height=480');CloseMe();">Open
Window - for 640x480</a><br>
<a
href="javascript:window.open('about:blank','Nothing','toolbar=yes,location=Yes,status=Yes,menubar=Yes,scrollbars=Yes,resizable=No,width=800,height=600');CloseMe();">Open
Window - for 800x600</a><br>
<a
href="javascript:window.open('about:blank','Nothing','toolbar=yes,location=Yes,status=Yes,menubar=Yes,scrollbars=Yes,resizable=No,width=1024,height=768');CloseMe();">Open
Window - for 1024x768</a><br>
</h1>
</body>
</html>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.