Reply to Re: designing to fit into screen resolution

Your name:

Reply:


Posted by Toby Inkster on 01/15/07 16:25

Andy Dingley wrote:

> 5. JavaScript is of little use here. A "JavaScript solution" you're
> offered is probably quite wrongly intentioned from the outset.

There are some places where it's quite useful. An example might be to have
two or three different versions of some graphics (logos, maps,
illustrative images, etc), detecting window size and displaying the most
appropriate size (with appropriate markup such that non-Javascript people
can still see the image).

It is *possible* to do this without Javascript, using only CSS, but the
percentage of browsers that support it is very small, so this will only be
appropriate for very specialised pages. For an example, look at the
following page in Opera (which does allow for different styles based on
window size) at 300px width and again at 500px width (you may need to
"reload" between sizes):
http://tobyinkster.co.uk/Software/w3dev_menu/w3dev-3.0.ini

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация