Re: [WebDNA] screen size

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107214
interpreted = N
texte = This is a multi-part message in MIME format. --------------000601070109070702040406 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Based on your HTML, one way to approach this is to use something like http://lessframework.com/ It's easy to use and you can create one website that has different CSS=20 for different screen sizes. I'm using this framework to build a mobile=20 app that resizes automatically regardless of device or orientation. Done=20 is pure CSS so very lightweight. Or if what you really want to do is create a table at max height and=20 width, you can already do that with CSS and HTML. Or what Lawrence suggests works as well. You can code a function that=20 loads on every page. If the screen size is not stored in a cookie, you=20 can forward to a page that grabs via JS and then forwards back to the=20 page you were on with the screen size intact. However, you have to be=20 aware that the size may change. For instance, if on an iPad you can=20 change the orientation and there goes your screen size. Banahan wrote: > Webdna is server side. It won't get the screen size from a computer. > But you can use javascript to get the screen size and store it in=20 > cookies. Then use webdna to get the cookies information and display it=20 > as you wish. > > -Lawrence > >> ----------------------------------------------------------------------= -- >> >> sgbc cebu >> 15 ao=FBt 2011 14:47 >> >> >> Hi everyone, >> >> Is there a way WebDNA=99 can deal with the=20 >> following: >> >> Screen size: >> >> >>
>> >> Blah.. blah... >> >>
>> >> Have tried javascript. It did accomplished its end, but not a good=20 >> coding practice. >> >> Thanks a lot. >> >> --------------------------------------------------------- This=20 >> message is sent to you because you are subscribed to the mailing list=20 >> . To unsubscribe, E-mail to: archives:=20 >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting:=20 >> support@webdna.us=20 > --------------------------------------------------------- This message=20 > is sent to you because you are subscribed to the mailing list . To=20 > unsubscribe, E-mail to: archives:=20 > http://mail.webdna.us/list/talk@webdna.us Bug Reporting:=20 > support@webdna.us=20 --------------000601070109070702040406 Content-Type: multipart/related; boundary="------------000103050902070201000805" --------------000103050902070201000805 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Based on your HTML, one= =20 way to approach this is to use something like

htt= p://lessframework.com/

It's easy to use and you can create one website that has different CSS=20 for different screen sizes. I'm using this framework to build a mobile=20 app that resizes automatically regardless of device or orientation. Done is pure CSS so very lightweight.

Or if what you really want to do is create a table at max height and=20 width, you can already do that with CSS and HTML.

Or what Lawrence suggests works as well. You can code a function that=20 loads on every page. If the screen size is not stored in a cookie, you=20 can forward to a page that grabs via JS and then forwards back to the=20 page you were on with the screen size intact. However, you have to be=20 aware that the size may change. For instance, if on an iPad you can=20 change the orientation and there goes your screen size.


Banahan wrote:
Webdna is server side. It=20 won't get the screen size from a computer.
But you can use javascript to get the screen size and store it in=20 cookies. Then use webdna to get the cookies information and display it=20 as you wish.

-Lawrence



= sgbc cebu
15 ao=FBt 2011 14:47

Hi everyone,=20

Is there a way WebDNA=99 can=20 deal with the following:=20

Screen size:

<table width=3D"[ScreenWidth]"=20 height=3D"[ScreenHeight]">
<tr><td>

    Blah.. blah...

</td></tr></table>

Have tried javascript. It did accomplished its end, but not a good=20 coding=20 practice.=20

Thanks a lot.

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/= list/talk@webdna.us Bug Reporting: supp= ort@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
--------------000103050902070201000805 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEC AQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAAR CAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUK BwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAA AAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oA DAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJ VIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4 v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx +a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mR UfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbab eg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbz hbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUi yeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37y zqnlfp6FrqbwawG8/9k= --------------000103050902070201000805-- --------------000601070109070702040406-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] screen size (sgbc cebu 2011)
  2. Re: [WebDNA] screen size (Olin Lagon 2011)
  3. Re: [WebDNA] screen size (Banahan 2011)
  4. [WebDNA] screen size (sgbc cebu 2011)
This is a multi-part message in MIME format. --------------000601070109070702040406 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Based on your HTML, one way to approach this is to use something like http://lessframework.com/ It's easy to use and you can create one website that has different CSS=20 for different screen sizes. I'm using this framework to build a mobile=20 app that resizes automatically regardless of device or orientation. Done=20 is pure CSS so very lightweight. Or if what you really want to do is create a table at max height and=20 width, you can already do that with CSS and HTML. Or what Lawrence suggests works as well. You can code a function that=20 loads on every page. If the screen size is not stored in a cookie, you=20 can forward to a page that grabs via JS and then forwards back to the=20 page you were on with the screen size intact. However, you have to be=20 aware that the size may change. For instance, if on an iPad you can=20 change the orientation and there goes your screen size. Banahan wrote: > Webdna is server side. It won't get the screen size from a computer. > But you can use javascript to get the screen size and store it in=20 > cookies. Then use webdna to get the cookies information and display it=20 > as you wish. > > -Lawrence > >> ----------------------------------------------------------------------= -- >> >> sgbc cebu >> 15 ao=FBt 2011 14:47 >> >> >> Hi everyone, >> >> Is there a way WebDNA=99 can deal with the=20 >> following: >> >> Screen size: >> >> >>
>> >> Blah.. blah... >> >>
>> >> Have tried javascript. It did accomplished its end, but not a good=20 >> coding practice. >> >> Thanks a lot. >> >> --------------------------------------------------------- This=20 >> message is sent to you because you are subscribed to the mailing list=20 >> . To unsubscribe, E-mail to: archives:=20 >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting:=20 >> support@webdna.us=20 > --------------------------------------------------------- This message=20 > is sent to you because you are subscribed to the mailing list . To=20 > unsubscribe, E-mail to: archives:=20 > http://mail.webdna.us/list/talk@webdna.us Bug Reporting:=20 > support@webdna.us=20 --------------000601070109070702040406 Content-Type: multipart/related; boundary="------------000103050902070201000805" --------------000103050902070201000805 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Based on your HTML, one= =20 way to approach this is to use something like

htt= p://lessframework.com/

It's easy to use and you can create one website that has different CSS=20 for different screen sizes. I'm using this framework to build a mobile=20 app that resizes automatically regardless of device or orientation. Done is pure CSS so very lightweight.

Or if what you really want to do is create a table at max height and=20 width, you can already do that with CSS and HTML.

Or what Lawrence suggests works as well. You can code a function that=20 loads on every page. If the screen size is not stored in a cookie, you=20 can forward to a page that grabs via JS and then forwards back to the=20 page you were on with the screen size intact. However, you have to be=20 aware that the size may change. For instance, if on an iPad you can=20 change the orientation and there goes your screen size.


Banahan wrote:
Webdna is server side. It=20 won't get the screen size from a computer.
But you can use javascript to get the screen size and store it in=20 cookies. Then use webdna to get the cookies information and display it=20 as you wish.

-Lawrence



= sgbc cebu
15 ao=FBt 2011 14:47

Hi everyone,=20

Is there a way WebDNA=99 can=20 deal with the following:=20

Screen size:

<table width=3D"[ScreenWidth]"=20 height=3D"[ScreenHeight]">
<tr><td>

    Blah.. blah...

</td></tr></table>

Have tried javascript. It did accomplished its end, but not a good=20 coding=20 practice.=20

Thanks a lot.

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/= list/talk@webdna.us Bug Reporting: supp= ort@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
--------------000103050902070201000805 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEC AQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAAR CAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUK BwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAA AAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oA DAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJ VIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4 v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx +a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mR UfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbab eg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbz hbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUi yeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37y zqnlfp6FrqbwawG8/9k= --------------000103050902070201000805-- --------------000601070109070702040406-- Olin Lagon

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Beta 18 (1997) New commands in Final candidate (1997) Deleting with contexts (2001) Non-Cart Files in Shopping Cart Folder (1997) WebCatalog Features (1997) PCS Customer submissions ? (1997) where to put code (1998) mac hack (1997) ssl/empty cart problem (2003) Help!!!! Purchases not going through! (1997) Search Folder? (1998) limitation found on group searching (1997) RE: is sku a REQUIRED field on NT (1997) Summing fields (1997) Question from a Neebie (2000) Zipcodes (1998) Emailer Set Up (1997) Search/sort in URL Was: GuestBook example (1997) Practice runs ? (1997) RE: Upload (1998)