is it posible to have the show a message?
this is the original
Code:<script language="JavaScript1.2"> <!-- /* 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>can it work like this???Code:the one i just edit <script language="JavaScript1.2"> <!-- /* 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) function drawAlert () { alert ("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>



Reply With Quote


Bookmarks