Hello,
Wondering if someone can help me with this. I would like to set/create a single-use/temporary "cookie" for the duration of the user's session or possibly for up to 2 days and have a popup alert box, telling them that their screen resolution is too low to view.
I have searched far and wide to see how it could be done, but I was not successful. I spent the better part of 2 hours on the Internet today, can you help me?
Thank you. Here is my existing Javascript below. Could someone implement and/or rewrite it with the cookie? I would appreciate it very much.
<script type="text/javascript">
<!--
if (screen.height<768 || screen.width<1024) alert ("Your screen's resolution is below 1024x768.\nThis site works better at higher resolutions.");
// -->
</script>