Excuse my ignorance...but how do I get the values for width and height into Python/Appengine?
On Mar 18, 5:46 am, iceanfire <[email protected]> wrote: > 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 6+ in 'standards compliant mode' > myWidth = document.documentElement.clientWidth; > myHeight = document.documentElement.clientHeight; > } else if( document.body && ( document.body.clientWidth || > document.body.clientHeight ) ) { > //IE 4 compatible > myWidth = document.body.clientWidth; > myHeight = document.body.clientHeight; > } > > On Mar 17, 6:53 pm, jago <[email protected]> wrote: > > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
