Metachecker.net
|
TrafficChecker.net
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Surfer's Screen Type
A script that detects the surfer's screen width, height, and color depth. Note that IE4.x does not support one of the properties in the below script, so the last text box appears "null"
Your screen's width:
Your screen's height:
Your screen's color Depth:
Your screen's pixel Depth:
Insert into <HEAD>
Insert into <BODY>
<table border="0"> <tr> <td><form method="POST" name="t"> <table border="0"> <tr> <td valign="top" width="150" bgcolor="#00FFFF"><strong>Your screen's width:</strong></td> <td><input type="text" size="20" name="t1" value="not supported"></td> </tr> <tr> <td valign="top" width="150" bgcolor="#00FFFF"><strong>Your screen's height:</strong></td> <td><input type="text" size="20" name="t2" value="not supported"></td> </tr> <tr> <td valign="top" width="150" bgcolor="#00FFFF"><strong>Your screen's color Depth:</strong></td> <td><input type="text" size="20" name="t3" value="not supported"></td> </tr> <tr> <td valign="top" width="150" bgcolor="#00FFFF"><strong>Your screen's pixel Depth: </strong></td> <td><input type="text" size="20" name="t4" value="not supported"></td> </tr> </table> </form> </td> </tr> </table> <p align="left"> <script> <!-- /* Surfer's Screen Type Detection Script- */ function show(){ if (!document.all&&!document.layers) return document.t.t1.value=screen.width document.t.t2.value=screen.height document.t.t3.value=screen.colorDepth document.t.t4.value=screen.pixelDepth } show() //--> </script>
Other Options