![]() |
Resolution Detect And Alert ?
I Know theres that popular script that will display a text parapragh of "Please change your reslution to etc."
But is it possible to create an alert, to make sure the user sees it? |
alert("You screen resolution is "+screen.width+" by "+screen.height+" pixels.");
|
Could you possibly put it like it would look of I was to copy and paste it in, because I cant seem to get this to work.
Im so stupid :( |
Just to make it clearer, i mean with the tags intact, or just say what tag to add it in, because i pasted that and it didnt work (in head and body)
|
heres what u want
all javascript must be enclosed in <script> </script> just add them then put any JS code in. <script> <!-- Hide this code if the users browser dosn't accept Javascript alert("You screen resolution is "+screen.width+" by "+screen.height+"."); !--> </script> |
| All times are GMT +1. The time now is 05:39 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.