Use this script to show visitors an interesting detail about their screen – the size of their browser window!! You might use this script to suggest that your visitors expand their browser to a larger size before accessing your site.
<!– STEP ONE: Copy this code into the BODY of your HTML document –>
<HEAD>
<SCRIPT LANGUAGE=”JavaScript”>
<!– This script and many more are available free online at –>
<!– The JavaScript Source!! http://javascriptsource.com –>
<!– Begin
alert(‘Your screen is:nn’ + screen.width + ‘ pixels by ‘ + screen.height + ‘ pixels’);
// End –>
</SCRIPT>
<p><center>
<font face=”arial, helvetica” size=”-2″>Free JavaScripts provided<br>
by <a href=”https://javascriptsource.com”>The JavaScript Source</a></font>
</center><p>