function screen values??

wxdqz

New Member
Hi all

Im a newbie at this........

I found this at NS JS resources and tried document.write and writeIn methods but it didnt work. How should I call this function? ee.g. document.write(function_name());

thanks 4 help.
xdef

function screen_properties() {
document.examples.results.value = "("+screen.width+" x "+screen.height+") pixels, "+ screen.pixelDepth +" bit depth, "+ screen.colorDepth +" bit color palette depth.";
} // end function screen_properties
 
Back
Top