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.--------------000601070109070702040406Content-Type: text/plain; charset=windows-1252; format=flowedContent-Transfer-Encoding: quoted-printableBased on your HTML, one way to approach this is to use something likehttp://lessframework.com/It's easy to use and you can create one website that has different CSS=20for different screen sizes. I'm using this framework to build a mobile=20app that resizes automatically regardless of device or orientation. Done=20is pure CSS so very lightweight.Or if what you really want to do is create a table at max height and=20width, you can already do that with CSS and HTML.Or what Lawrence suggests works as well. You can code a function that=20loads on every page. If the screen size is not stored in a cookie, you=20can forward to a page that grabs via JS and then forwards back to the=20page you were on with the screen size intact. However, you have to be=20aware that the size may change. For instance, if on an iPad you can=20change 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--------------000601070109070702040406Content-Type: multipart/related; boundary="------------000103050902070201000805"--------------000103050902070201000805Content-Type: text/html; charset=windows-1252Content-Transfer-Encoding: quoted-printableBased on your HTML, one==20way 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=20for different screen sizes. I'm using this framework to build a mobile=20app 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=20width, you can already do that with CSS and HTML.
Or what Lawrence suggests works as well. You can code a function that=20loads on every page. If the screen size is not stored in a cookie, you=20can forward to a page that grabs via JS and then forwards back to the=20page you were on with the screen size intact. However, you have to be=20aware that the size may change. For instance, if on an iPad you can=20change the orientation and there goes your screen size.
Banahan wrote: Webdna is server side. It=20won't get the screen size from a computer.
But you can use javascript to get the screen size and store it in=20cookies. Then use webdna to get the cookies information and display it=20as you wish.
-Lawrence
| Hi everyone,=20 Is there a way WebDNA=99 can=20deal with the following:=20 Screen size: <table width=3D"[ScreenWidth]"=20height=3D"[ScreenHeight]"> <tr><td> </td></tr></table> Have tried javascript. It did accomplished its end, but not a good=20coding=20practice.=20 Thanks a lot. |
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
.To unsubscribe, E-mail to: archives: http://mail.webdna.us/=list/talk@webdna.usBug Reporting: supp=ort@webdna.us
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
--------------000103050902070201000805Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg"Content-Transfer-Encoding: base64Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg"/9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUKBwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAAAAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oADAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJVIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx+a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mRUfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbabeg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbzhbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUiyeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37yzqnlfp6FrqbwawG8/9k=--------------000103050902070201000805----------------000601070109070702040406--
Associated Messages, from the most recent to the oldest:
This is a multi-part message in MIME format.--------------000601070109070702040406Content-Type: text/plain; charset=windows-1252; format=flowedContent-Transfer-Encoding: quoted-printableBased on your HTML, one way to approach this is to use something likehttp://lessframework.com/It's easy to use and you can create one website that has different CSS=20for different screen sizes. I'm using this framework to build a mobile=20app that resizes automatically regardless of device or orientation. Done=20is pure CSS so very lightweight.Or if what you really want to do is create a table at max height and=20width, you can already do that with CSS and HTML.Or what Lawrence suggests works as well. You can code a function that=20loads on every page. If the screen size is not stored in a cookie, you=20can forward to a page that grabs via JS and then forwards back to the=20page you were on with the screen size intact. However, you have to be=20aware that the size may change. For instance, if on an iPad you can=20change 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--------------000601070109070702040406Content-Type: multipart/related; boundary="------------000103050902070201000805"--------------000103050902070201000805Content-Type: text/html; charset=windows-1252Content-Transfer-Encoding: quoted-printableBased on your HTML, one==20way 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=20for different screen sizes. I'm using this framework to build a mobile=20app 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=20width, you can already do that with CSS and HTML.
Or what Lawrence suggests works as well. You can code a function that=20loads on every page. If the screen size is not stored in a cookie, you=20can forward to a page that grabs via JS and then forwards back to the=20page you were on with the screen size intact. However, you have to be=20aware that the size may change. For instance, if on an iPad you can=20change the orientation and there goes your screen size.
Banahan wrote: Webdna is server side. It=20won't get the screen size from a computer.
But you can use javascript to get the screen size and store it in=20cookies. Then use webdna to get the cookies information and display it=20as you wish.
-Lawrence
| Hi everyone,=20 Is there a way WebDNA=99 can=20deal with the following:=20 Screen size: <table width=3D"[ScreenWidth]"=20height=3D"[ScreenHeight]"> <tr><td> </td></tr></table> Have tried javascript. It did accomplished its end, but not a good=20coding=20practice.=20 Thanks a lot. |
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
.To unsubscribe, E-mail to: archives: http://mail.webdna.us/=list/talk@webdna.usBug Reporting: supp=ort@webdna.us
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
--------------000103050902070201000805Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg"Content-Transfer-Encoding: base64Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg"/9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUKBwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAAAAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oADAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJVIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx+a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mRUfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbabeg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbzhbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUiyeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37yzqnlfp6FrqbwawG8/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)