
More JavaScript Userdetails
User Browser Details | Visitors Browser | Browser Information | Browser Version Details | Netscape Opera Info | Version Redirect | CSS Redirect | Java Enabled Redirect | What JavaScript Version | Language Redirect | Come From Page | Mac Or Windows | Show Referrer | Safe Colors | Simple Infomation Line | CSS By Resolution | Browser Settings
Description
Loads a style sheet depending on the user's screen resolution. Includes a default size for Netscape users....View A Script Demo
Loads a style sheet depending on the user's screen resolution. Includes a default size for Netscape users....View A Script Demo
Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<!-- Set default stylesheet for Netscape users at 800 x 600 -->
<!-- Set variable stylesheets for Internet Explorer users -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Bob Pearson and Leah Murray (bob@pagecraft.on.ca) -->
<!-- Web Site: http://www.pagecraft.on.ca -->
<!-- Begin
//document.write('Your settings are ' + screen.width + ' x ' + screen.height + '');
if (screen.width == 640) {
//document.write('<link rel="stylesheet" type="text/css" href="640.css">');
alert("Style Sheet for 640 x 480 would have been loaded, but this is just a demo.");
}
if (screen.width == 800) {
//document.write('<link rel="stylesheet" type="text/css" href="800.css">');
alert("Style Sheet for 800 x 600 would have been loaded, but this is just a demo.");
}
if (screen.width == 1024) {
//document.write('<link rel="stylesheet" type="text/css" href="1024.css">');
alert("Style Sheet for 1024 x 768 would have been loaded, but this is just a demo.");
}
if (screen.width == 1280) {
//document.write('<link rel="stylesheet" type="text/css" href="1280.css">');
alert("Style Sheet for 1280 x 960 would have been loaded, but this is just a demo.");
}
if (screen.width == 1600) {
//document.write('<link rel="stylesheet" type="text/css" href="1600.css">');
alert("Style Sheet for 1600 x 1200 would have been loaded, but this is just a demo.");
}
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
DONE!
</center>
</BODY>
</HTML>
<HTML>
<HEAD>
<!-- Set default stylesheet for Netscape users at 800 x 600 -->
<!-- Set variable stylesheets for Internet Explorer users -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Bob Pearson and Leah Murray (bob@pagecraft.on.ca) -->
<!-- Web Site: http://www.pagecraft.on.ca -->
<!-- Begin
//document.write('Your settings are ' + screen.width + ' x ' + screen.height + '');
if (screen.width == 640) {
//document.write('<link rel="stylesheet" type="text/css" href="640.css">');
alert("Style Sheet for 640 x 480 would have been loaded, but this is just a demo.");
}
if (screen.width == 800) {
//document.write('<link rel="stylesheet" type="text/css" href="800.css">');
alert("Style Sheet for 800 x 600 would have been loaded, but this is just a demo.");
}
if (screen.width == 1024) {
//document.write('<link rel="stylesheet" type="text/css" href="1024.css">');
alert("Style Sheet for 1024 x 768 would have been loaded, but this is just a demo.");
}
if (screen.width == 1280) {
//document.write('<link rel="stylesheet" type="text/css" href="1280.css">');
alert("Style Sheet for 1280 x 960 would have been loaded, but this is just a demo.");
}
if (screen.width == 1600) {
//document.write('<link rel="stylesheet" type="text/css" href="1600.css">');
alert("Style Sheet for 1600 x 1200 would have been loaded, but this is just a demo.");
}
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
DONE!
</center>
</BODY>
</HTML>
If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail

