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:

RE: strip .0 off off IPaddress (1999) form data submission gets truncated (1997) Getting total number of items ordered (1997) emailer (1997) Tab Charactor (1997) HELLO (2000) Updating database (1998) ErrorLog.txt bug (1998) All choices on IE different than Netscape (1997) Running 2 two WebCatalog.acgi's (1996) Plugin vs. CGI (1998) Speeding up my [showif] performance (1999) upgrade? (1997) WebCatalog 3.0.8 BUG ON OSX (2000) New Web Site Developers Database (1996) Help! Missing [showif] or [hideif] (2000) Why did PCS send me this? (1999) Multiple security dbs (1997) Search Folder? (1998) WebCat2 beta 11 - new prefs ... (1997)