Re: [PHP-DB] screen resolution!

2006-02-06 Thread Luis Morales
Well,

you can do use auto resize if you use 0% over height and width table's
html tags.

eg.


  put your table content ---


Regards,

Luis Morales 

On Mon, 2006-02-06 at 09:28 -0800, Micah Stevens wrote:
> Yes, there is. It's called HTML.
> 
> You might think me daft, but HTML was actually created to allow the page to 
> adapt to screen size. The oldest technology on the block is actually the 
> thing to use in this situation, otherwise you're just creating extra work for 
> yourself. 
> 
> A simple example:
> 
>  - This works great, looks great, until you have a 
> 640x480 screen. Instead, try this:
> 
>   (this scales according to screen size)
> 
> or
> 
>  (this scales according to content size + screen size)
> 
> It really sounds like this is a problem with your web page design, not php or 
> Javascript. 
> 
> However, you could indeed do as others suggested and create multiple pages.. 
> That really sounds like more work than it's worth though. 
> 
> -Micah 
> 
> On Monday 06 February 2006 1:38 am, JeRRy wrote:
> > Yes I know this but there is no script that can re-write webpages on the
> > fly for certain resolutions?
> >
> >   Instead of re-doing each page for each res.?
> >
> >   With the technology these days I thought someone would of created
> > something like this, so you create a website than you put it through a
> > program that re-does the HTML for the resolutions you set and bingo the
> > results are spat out and you add it to the site and use a little script to
> > redirect depending on their set resolution.
> >
> >   Jerry
> >
> > PHP Superman <[EMAIL PROTECTED]> wrote:
> >   Or you can have a page which detects resolution by javascript and
> > redirects to another PHP page with the resolution data
> >
> >   On 2/4/06, Bastien Koert <[EMAIL PROTECTED]> wrote:
> > As the other poster mentioned you need JS to detect the screen widththe
> > usual approach is to use js to detect the screen res and the include the
> > appropriate CSS file to match the screen res.
> >
> > Bastien
> >
> > >From: JeRRy <[EMAIL PROTECTED]>
> > >To: php-db@lists.php.net
> > >Subject: [PHP-DB] screen resolution!
> > >Date: Sun, 5 Feb 2006 02:44:19 +1100 (EST)
> > >
> > >Hi,
> > >
> > >   I have written a website in PHP using MYSQL.  But I have come accross
> > > an un-common problem.  Normally when I create a website it's done on a
> > > desktop PC.  But this time for the first time I did it on laptop meaning
> > > the screen resolution is different.
> > >
> > >   Is there any sort of script/code I can use to create another section of
> > >my site in a desired screen resolution without me having to do it all
> > >manually?
> > >
> > >   I know of many scripts online that I can DETERMINE visitors screen
> > >resolutions and recommend the correct one but don't know one that will
> > >adjust the website to suit that visitors screen resolution.  Am aware of
> > >scripts that redirect to another web page but that requires you to write
> > >the website again to cater for that.
> > >
> > >   Is there a quicker way/solution?
> > >
> > >   Thanks!
> > >
> > >   J
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
-- 
-
Luis Morales 
Consultor de Tecnologia
Cel: +(58)416-4242091
-
"Empieza por hacer lo necesario, luego lo que es posible... y de pronto
estarĂ¡s haciendo lo imposible"
-

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] screen resolution!

2006-02-06 Thread Micah Stevens

Yes, there is. It's called HTML.

You might think me daft, but HTML was actually created to allow the page to 
adapt to screen size. The oldest technology on the block is actually the 
thing to use in this situation, otherwise you're just creating extra work for 
yourself. 

A simple example:

 - This works great, looks great, until you have a 
640x480 screen. Instead, try this:

  (this scales according to screen size)

or

 (this scales according to content size + screen size)

It really sounds like this is a problem with your web page design, not php or 
Javascript. 

However, you could indeed do as others suggested and create multiple pages.. 
That really sounds like more work than it's worth though. 

-Micah 

On Monday 06 February 2006 1:38 am, JeRRy wrote:
> Yes I know this but there is no script that can re-write webpages on the
> fly for certain resolutions?
>
>   Instead of re-doing each page for each res.?
>
>   With the technology these days I thought someone would of created
> something like this, so you create a website than you put it through a
> program that re-does the HTML for the resolutions you set and bingo the
> results are spat out and you add it to the site and use a little script to
> redirect depending on their set resolution.
>
>   Jerry
>
> PHP Superman <[EMAIL PROTECTED]> wrote:
>   Or you can have a page which detects resolution by javascript and
> redirects to another PHP page with the resolution data
>
>   On 2/4/06, Bastien Koert <[EMAIL PROTECTED]> wrote:
> As the other poster mentioned you need JS to detect the screen widththe
> usual approach is to use js to detect the screen res and the include the
> appropriate CSS file to match the screen res.
>
> Bastien
>
> >From: JeRRy <[EMAIL PROTECTED]>
> >To: php-db@lists.php.net
> >Subject: [PHP-DB] screen resolution!
> >Date: Sun, 5 Feb 2006 02:44:19 +1100 (EST)
> >
> >Hi,
> >
> >   I have written a website in PHP using MYSQL.  But I have come accross
> > an un-common problem.  Normally when I create a website it's done on a
> > desktop PC.  But this time for the first time I did it on laptop meaning
> > the screen resolution is different.
> >
> >   Is there any sort of script/code I can use to create another section of
> >my site in a desired screen resolution without me having to do it all
> >manually?
> >
> >   I know of many scripts online that I can DETERMINE visitors screen
> >resolutions and recommend the correct one but don't know one that will
> >adjust the website to suit that visitors screen resolution.  Am aware of
> >scripts that redirect to another web page but that requires you to write
> >the website again to cater for that.
> >
> >   Is there a quicker way/solution?
> >
> >   Thanks!
> >
> >   J
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] screen resolution!

2006-02-06 Thread JeRRy
Yes I know this but there is no script that can re-write webpages on the fly 
for certain resolutions?
   
  Instead of re-doing each page for each res.?  
   
  With the technology these days I thought someone would of created something 
like this, so you create a website than you put it through a program that 
re-does the HTML for the resolutions you set and bingo the results are spat out 
and you add it to the site and use a little script to redirect depending on 
their set resolution.
   
  Jerry

PHP Superman <[EMAIL PROTECTED]> wrote:
  Or you can have a page which detects resolution by javascript and redirects 
to another PHP page with the resolution data

  On 2/4/06, Bastien Koert <[EMAIL PROTECTED]> wrote:   
As the other poster mentioned you need JS to detect the screen widththe
usual approach is to use js to detect the screen res and the include the 
appropriate CSS file to match the screen res.

Bastien


>From: JeRRy <[EMAIL PROTECTED]>
>To: php-db@lists.php.net 
>Subject: [PHP-DB] screen resolution!
>Date: Sun, 5 Feb 2006 02:44:19 +1100 (EST)
>
>Hi,
>
>   I have written a website in PHP using MYSQL.  But I have come accross an
>un-common problem.  Normally when I create a website it's done on a desktop 
>PC.  But this time for the first time I did it on laptop meaning the screen
>resolution is different.
>
>   Is there any sort of script/code I can use to create another section of
>my site in a desired screen resolution without me having to do it all 
>manually?
>
>   I know of many scripts online that I can DETERMINE visitors screen
>resolutions and recommend the correct one but don't know one that will
>adjust the website to suit that visitors screen resolution.  Am aware of 
>scripts that redirect to another web page but that requires you to write
>the website again to cater for that.
>
>   Is there a quicker way/solution?
>
>   Thanks!
>
>   J 

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now! 


Re: [PHP-DB] screen resolution!

2006-02-05 Thread Micah Stevens

Or you could design your page so that it's not resolution dependant. 

-Micah 

On Sunday 05 February 2006 8:28 am, PHP Superman wrote:
> Or you can have a page which detects resolution by javascript and redirects
> to another PHP page with the resolution data
>
> On 2/4/06, Bastien Koert <[EMAIL PROTECTED]> wrote:
> > As the other poster mentioned you need JS to detect the screen
> > widththe
> > usual approach is to use js to detect the screen res and the include the
> > appropriate CSS file to match the screen res.
> >
> > Bastien
> >
> > >From: JeRRy <[EMAIL PROTECTED]>
> > >To: php-db@lists.php.net
> > >Subject: [PHP-DB] screen resolution!
> > >Date: Sun, 5 Feb 2006 02:44:19 +1100 (EST)
> > >
> > >Hi,
> > >
> > >   I have written a website in PHP using MYSQL.  But I have come accross
> >
> > an
> >
> > >un-common problem.  Normally when I create a website it's done on a
> >
> > desktop
> >
> > >PC.  But this time for the first time I did it on laptop meaning the
> >
> > screen
> >
> > >resolution is different.
> > >
> > >   Is there any sort of script/code I can use to create another section
> >
> > of
> >
> > >my site in a desired screen resolution without me having to do it all
> > >manually?
> > >
> > >   I know of many scripts online that I can DETERMINE visitors screen
> > >resolutions and recommend the correct one but don't know one that will
> > >adjust the website to suit that visitors screen resolution.  Am aware of
> > >scripts that redirect to another web page but that requires you to write
> > >the website again to cater for that.
> > >
> > >   Is there a quicker way/solution?
> > >
> > >   Thanks!
> > >
> > >   J
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] screen resolution!

2006-02-05 Thread PHP Superman
Or you can have a page which detects resolution by javascript and redirects
to another PHP page with the resolution data

On 2/4/06, Bastien Koert <[EMAIL PROTECTED]> wrote:
>
>
> As the other poster mentioned you need JS to detect the screen
> widththe
> usual approach is to use js to detect the screen res and the include the
> appropriate CSS file to match the screen res.
>
> Bastien
>
>
> >From: JeRRy <[EMAIL PROTECTED]>
> >To: php-db@lists.php.net
> >Subject: [PHP-DB] screen resolution!
> >Date: Sun, 5 Feb 2006 02:44:19 +1100 (EST)
> >
> >Hi,
> >
> >   I have written a website in PHP using MYSQL.  But I have come accross
> an
> >un-common problem.  Normally when I create a website it's done on a
> desktop
> >PC.  But this time for the first time I did it on laptop meaning the
> screen
> >resolution is different.
> >
> >   Is there any sort of script/code I can use to create another section
> of
> >my site in a desired screen resolution without me having to do it all
> >manually?
> >
> >   I know of many scripts online that I can DETERMINE visitors screen
> >resolutions and recommend the correct one but don't know one that will
> >adjust the website to suit that visitors screen resolution.  Am aware of
> >scripts that redirect to another web page but that requires you to write
> >the website again to cater for that.
> >
> >   Is there a quicker way/solution?
> >
> >   Thanks!
> >
> >   J
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!


RE: [PHP-DB] screen resolution!

2006-02-04 Thread Bastien Koert


As the other poster mentioned you need JS to detect the screen widththe 
usual approach is to use js to detect the screen res and the include the 
appropriate CSS file to match the screen res.


Bastien



From: JeRRy <[EMAIL PROTECTED]>
To: php-db@lists.php.net
Subject: [PHP-DB] screen resolution!
Date: Sun, 5 Feb 2006 02:44:19 +1100 (EST)

Hi,

  I have written a website in PHP using MYSQL.  But I have come accross an 
un-common problem.  Normally when I create a website it's done on a desktop 
PC.  But this time for the first time I did it on laptop meaning the screen 
resolution is different.


  Is there any sort of script/code I can use to create another section of 
my site in a desired screen resolution without me having to do it all 
manually?


  I know of many scripts online that I can DETERMINE visitors screen 
resolutions and recommend the correct one but don't know one that will 
adjust the website to suit that visitors screen resolution.  Am aware of 
scripts that redirect to another web page but that requires you to write 
the website again to cater for that.


  Is there a quicker way/solution?

  Thanks!

  J


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] screen resolution!

2006-02-04 Thread JeRRy
Hi,
   
  I have written a website in PHP using MYSQL.  But I have come accross an 
un-common problem.  Normally when I create a website it's done on a desktop PC. 
 But this time for the first time I did it on laptop meaning the screen 
resolution is different.
   
  Is there any sort of script/code I can use to create another section of my 
site in a desired screen resolution without me having to do it all manually?
   
  I know of many scripts online that I can DETERMINE visitors screen 
resolutions and recommend the correct one but don't know one that will adjust 
the website to suit that visitors screen resolution.  Am aware of scripts that 
redirect to another web page but that requires you to write the website again 
to cater for that.
   
  Is there a quicker way/solution?
   
  Thanks!
   
  J