Detect window size, etc.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Detect window size, etc.

jrick
I'm trying to detect which device is browsing my seaside site. While I can deduce some things from the header information, I'd like to also gather the window width and height and screen orientation. Is there a good example of how to gather such information inside a seaside task (perhaps loading a page with the javascript to detect the information and then a redirect to go to the appropriate root object)?

Cheers,

Jeff

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside