He asked about detecting monitor size, not screen resolution. I don't
think any javascript will ever be able to do this.
On Sun, 09 Jun 2002 20:42:58 -0400, Miva Guy wrote:
>Currently, I'm developing a site that makes full use of a 1024 x 768
>display
>since 90% of my users have that config.
>
>I
Currently, I'm developing a site that makes full use of a 1024 x 768 display
since 90% of my users have that config.
In the off chance they have a smaller display, I have this in the header of
my HTML template:
var smallver = {SCREEN_SIZE};
if(!smallver && screen.width < 1000)
self.location.rep
On Sun, 9 Jun 2002, Tom Ray wrote:
++>Is there a way to do this with PHP? I couldn't find it in the online
++>docs and the archive search is offline :(
oh..You couldn't?
echo '
What's your monitor size?
';
Users monitor size is in $HTTP_GET_VARS["size"];
On Sun, 9 Jun 2002, Tom Ray wrote:
> Is there a way to do this with PHP? I couldn't find it in the online
> docs and the archive search is offline :(
Use JavaScript to detect it, and then you can set a cookie or add it to a
request posted to the server. In either case your PHP program can then
4 matches
Mail list logo