Yesterday I tested screen.width/height and related properties in the mobile browsers. The conclusion is that screen.width/height is completely unreliable.
screen.width is useless - QuirksBlog
seen from United States
seen from Switzerland

seen from United States
seen from United States

seen from Germany
seen from United States
seen from United States

seen from Venezuela
seen from Switzerland
seen from United States

seen from United States

seen from United States

seen from United States
seen from United States
seen from United States

seen from United States
seen from China

seen from Malaysia
seen from United States

seen from Malaysia
Yesterday I tested screen.width/height and related properties in the mobile browsers. The conclusion is that screen.width/height is completely unreliable.
screen.width is useless - QuirksBlog
An oldie, but a useful reference
Some nice JS cookie functions you can copy paste into your work, and an in-depth explanation.
Might be handy to wrap your create in an escape() and your read in an unescape(). E.g. Where these lines are written, add the escape / unescape functions
document.cookie = name+"="+ escape(value) +expires+"; path=/";
if (c.indexOf(nameEQ) == 0) return unescape(c.substring(nameEQ.length,c.length));
Comment interdire le mode de Compatibilité sur IE ? http://ow.ly/anwdJ WebDesign : QuirksMode / Alsacreations