Re: Screen resolution

2007-04-07 Thread Baurzhan Ismagulov
On Sat, Apr 07, 2007 at 06:04:19AM -0700, Pythoni wrote: > I need to allow users to choose their own website background.A user > can choose whatever image he wants.But if a picture is large I need to > make it smaller to fit his screen. > So, I thought that I will find out the scree

Re: Screen resolution

2007-04-07 Thread Tim Chase
> For my Django application I need to detect user's screen resolution. > So, I have the script in Javascript > > function resolution() > { > var winX = screen.width; > var winY = screen.height; > > } > I call the script like this > > > This script

Re: Screen resolution

2007-04-07 Thread Pythoni
On Apr 7, 1:55 pm, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote: > Hello Pythoni, > > On Sat, Apr 07, 2007 at 03:56:21AM -0700, Pythoni wrote: > > This script finds the resolution but I need to pass the screen > > resolution values to my Django application for further

Re: Screen resolution

2007-04-07 Thread Baurzhan Ismagulov
Hello Pythoni, On Sat, Apr 07, 2007 at 03:56:21AM -0700, Pythoni wrote: > This script finds the resolution but I need to pass the screen > resolution values to my Django application for further processing. How > can it be done? > Or is it a better way than using Javascript? What a

Screen resolution

2007-04-07 Thread Pythoni
For my Django application I need to detect user's screen resolution. So, I have the script in Javascript function resolution() { var winX = screen.width; var winY = screen.height; } I call the script like this This script finds the resolution but I need to pass the screen resolution valu