[Zope] Is it Possible 2: Get resolution!
Quote: "ASP Sux, Php isOK, but ZOPE RULEZ!" Stoons (me) friday 8th dec. 2000. Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..? Stoons = )
Re: [Zope] Is it Possible 2: Get resolution!
Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..? Since Zope is a server-side application, it is completely ignorant to client settings. It can get only variables from the HTTP environment settings. Since Javascript is a client side language, it can get client-specific information. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development Technical Project Management
Re: [Zope] Is it Possible 2: Get resolution!
On Fri, 8 Dec 2000, Stoonsdesign wrote: Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..? You can't, and you don't need. Even if you get the resolution, you'd have hard times generating HTML for that resolution: HTML is very bad concerning strict screen positioninig. HTML is not "publishing". Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Is it Possible 2: Get resolution!
Oleg Broytmann wrote: On Fri, 8 Dec 2000, Stoonsdesign wrote: Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..? You can't, and you don't need. Even if you get the resolution, you'd have hard times generating HTML for that resolution: HTML is very bad concerning strict screen positioninig. HTML is not "publishing". I can imagine webpage which uses some Javascript to append information about resolution to the request as some parameter. Then you could use it, but it does not make too much sense. What if some people use your page through caching proxy, which serves it to a few guys without refetching it (yes, you can forbid caching). What if someone dynamically changes resolution (as I do with Ctrl-Alt-+ working on my XWindows Linux)? What if the client disables JavaScript? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )