[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread Andrew Badera
Google Analytics does it with JavaScript. The information has to be sent by the client. If they're calling a web page, you can put JavaScript on it to obtain this info. On Tue, Mar 17, 2009 at 6:11 PM, jago wrote: > > I see in Google Analytics they have info about screen size, Flash and > Ja

[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread jago
I am a total Javascript agnostic. I guess you do not have some example Python/Javascript code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-app

[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread Andrew Badera
www.google.com buddy. this is old school easy stuff. don't be lazy. On Tue, Mar 17, 2009 at 8:53 PM, jago wrote: > > I am a total Javascript agnostic. I guess you do not have some example > Python/Javascript code? > > > --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread iceanfire
var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE

[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-18 Thread jago
Excuse my ignorance...but how do I get the values for width and height into Python/Appengine? On Mar 18, 5:46 am, iceanfire wrote: >  var myWidth = 0, myHeight = 0; >   if( typeof( window.innerWidth ) == 'number' ) { >     //Non-IE >     myWidth = window.innerWidth; >     myHeight = window.inner

[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-18 Thread jago
I did find something, but most was very old, as old as 2001. My problem is not to find something but not being sure if it works in 99% of the browsers. That's why I prefer the advice of somebody who dealt with that sort of thing for years. On Mar 18, 1:57 am, Andrew Badera wrote: > www.google.co