<!-- SHOW SELECTED USER INFO --> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2003, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- function showInfo() { if (navigator.javaEnabled()) { Java = "Enabled"; } else { Java = "Not Enabled"; } Platform="Not Known"; if (navigator.platform.indexOf('Win') != -1) { if (navigator.userAgent.indexOf('95') != -1) Platform="Windows95"; else if (navigator.userAgent.indexOf('98') != -1) Platform="Windows98"; else if (navigator.userAgent.indexOf('00') != -1) Platform="Windows2000"; else Platform="WindowsNT/ME/XP"; } if (navigator.platform.indexOf('Mac') != -1) Platform="Macintosh"; if (navigator.platform.indexOf('UNI') != -1) Platform="UNIX"; if (navigator.platform.indexOf('Lin') != -1) Platform="Linux"; if (navigator.platform.indexOf('Sun') != -1) Platform="SunOS"; OS = Platform; if (document.info.about.selectedIndex==1) { document.info.ans.value=navigator.appName; } if (document.info.about.selectedIndex==2) { document.info.ans.value=navigator.appVersion; } if (document.info.about.selectedIndex==3) { document.info.ans.value=navigator.userAgent; } if (document.info.about.selectedIndex==4) { document.info.ans.value=Java; } if (document.info.about.selectedIndex==5) { document.info.ans.value=navigator.language; } if (document.info.about.selectedIndex==6) { document.info.ans.value=history.length; } if (document.info.about.selectedIndex==7) { document.info.ans.value=Platform; } if (document.info.about.selectedIndex==8) { document.info.ans.value=window.screen.width + " X " + window.screen.height; } if (document.info.about.selectedIndex==9) { document.info.ans.value=window.screen.availWidth + " X " + window.screen.availHeight; } if (document.info.about.selectedIndex==10) { document.info.ans.value=document.documentElement.clientWidth + " X " + document.documentElement.clientHeight; } if (document.info.about.selectedIndex==11) { document.info.ans.value=window.screen.colorDepth + " bit"; } } //--> </script> <!-- This goes in the BODY of the html file --> <form name="info"> <table border="0" bgcolor="c0c0c0" cellspacing="0" cellpadding="2"> <tr> <td valign="middle"> <select name="about" onChange="showInfo()" style="font-size: 9pt;"> <option value="0" selected>Choose...</option> <option value="1">Browser</option> <option value="2">Version</option> <option value="3">User Agent</option> <option value="4">Java</option> <option value="5">Language</option> <option value="6">History Length</option> <option value="7">Operating System</option> <option value="8">Current Resolution</option> <option value="9">Maximum Resolution</option> <option value="10">Window Size</option> <option value="11">Colour Depth</option> </select> </td> <td> <textarea rows="2" cols="40" wrap="virtual" value="" name="ans" style="font-size: 9pt;"></textarea> </td> </tr> </table> </form>