screen resolution!
am 04.02.2006 16:44:19 von jusa_98
--0-733704850-1139067859=:48594
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
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
--0-733704850-1139067859=:48594--
Re: screen resolution!
am 04.02.2006 17:26:11 von jpieper
PHP don´t know how whats your resolution is. You need Javascript.
> screen.width, screen.height
Jan Pieper
> 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
RE: screen resolution!
am 04.02.2006 17:57:01 von Bastien Koert
As the other poster mentioned you need JS to detect the screen width....the
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
>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
Re: screen resolution!
am 05.02.2006 17:28:31 von Unknown Unknown
------=_Part_21733_13479228.1139156911651
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
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 wrote:
>
>
> As the other poster mentioned you need JS to detect the screen
> width....the
> 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
> >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!
------=_Part_21733_13479228.1139156911651--
Re: screen resolution!
am 05.02.2006 20:26:12 von 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 wrote:
> > As the other poster mentioned you need JS to detect the screen
> > width....the
> > 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
> > >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: screen resolution!
am 06.02.2006 10:38:03 von jusa_98
--0-691908750-1139218683=:34177
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
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 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 wrote:
As the other poster mentioned you need JS to detect the screen width....the
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
>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!
--0-691908750-1139218683=:34177--
Re: screen resolution!
am 06.02.2006 18:28:44 von 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 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 wrote:
> As the other poster mentioned you need JS to detect the screen width....the
> 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
> >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: screen resolution!
am 06.02.2006 18:47:37 von Luis M Morales C
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 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 wrote:
> > As the other poster mentioned you need JS to detect the screen width....the
> > 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
> > >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