View Full Version : Quick question about a script.
Jason18241
08-28-2005, 07:32 AM
Hi, I just registered. :D
Concerning the script found here:
http://www.dynamicdrive.com/dynamicindex9/info1.htm
I was wondering how I could formatt the text. I wanted it white, bold, and 10pt.
Thanks for any replies, and example code would be appreciated.
<span style="color:white;font-weight:bold;font-size:10pt;">
<script type="text/javascript">
<!--
/*
Screen resolution detection and notification Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var correctwidth=800
var correctheight=600
if (screen.width!=correctwidth||screen.height!=correctheight)
document.write("This webpage is bested viewed with screen resolution "+correctwidth+"*"+correctheight+". Your current resolution is "+screen.width+"*"+screen.height+". If possible, please change the resolution!")
//-->
</script>
</span>
Jason18241
08-28-2005, 08:39 PM
Thanks, worked perfectly. You guys are the best. =]
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.