View Single Post
Old 02-08-2002, 06:08 AM  
Brian911
Confirmed User
 
Join Date: Dec 2001
Posts: 654
hehe.
fear will sell very well right?

Code:
<SCRIPT>
if (self.screen) {     
        width = screen.width
        height = screen.height
}
else if (self.java) {   
       var javakit = java.awt.Toolkit.getDefaultToolkit();
       var scrsize = javakit.getScreenSize();       
       width = scrsize.width; 
       height = scrsize.height; 
}
else {
width = height = '?' 
}

document.write("Your Screen Resolution is: ");document.write(width);document.write("×");document.write(height);
if( self.screen ) {
numbage = screen.pixelDepth
? Math.pow( 2, screen.pixelDepth ) 
: Math.pow( 2, screen.colorDepth ) 
}
document.write("<br>Your color depth is: " +numbage+ " colors."); 
document.write("<br>You're using: <b>"+navigator.appName+" "+navigator.appVersion+"</b>");
var today=new Date()
document.write('<br>Your clock: ' +today.toString());
</SCRIPT>
__________________
- Brian
[ a directive occured while processing this error ]

Last edited by Brian911; 02-08-2002 at 06:16 AM..
Brian911 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote