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?
if (screen.height<768 || screen.width<1024) alert ("Your screen's resolution is below 1024x768.\nThis site works better at higher resolutions.");
Well, that link will give you an answer - but long story short, dictating to the user what environment they need to have to view your site tells you one thing, and one thing only: you're doing something wrong. :-)