You are here: Re: Specifying 100% image scaling « HTML « IT news, forums, messages
Re: Specifying 100% image scaling

Posted by mbstevens on 01/14/07 03:30

On Sat, 13 Jan 2007 18:01:16 -0800, pmennen wrote:

> I searched the web and several FAQs, but I couldn't
> find the answer to this html graphics question.
>
> I have a thumbnail on my web page (called screen1_small.png).
> When the user clicks on the thumbnail, I want a new window
> to appear with screen1.png, a large 768 x 1280 image.
>
> I attempted to do this with the following html:
>
> <A HREF="screen1.png" WIDTH=768 HEIGHT=1280 target="_blank">
> <IMG SRC="screen1_small.png" align="left" Hspace="7"></A>
>
> The problem is that the image looks terrible when scaled
> and I want the user to see it with 100% scaling even if
> the image is too big for the window.
>
> If the user is using FireFox, I could instruct them to select
> "View", "Page style", "No Style". Then the image is rendered
> at full scale and scroll bars are added if the window is too
> small to fit the whole image (which is likely with such a
> large image). Of course most users would probably suffer the
> effects of the scaling instead of following those tedius
> instructions for each screen shot.
>
> With IE6 the situation is even more frustrating. While the
> image is loading, it loads in the new window with perfect 100%
> scalling (with scroll bars), but as soon as the whole image
> is loaded it switches to a scaled down version that can fit
> in the window (but looks horrible). I couldn't find any way
> to change it back to the 100% view.
>
> Isn't there a way in HTML to specify 100% scaling? I would
> have thought that scaling is such an important issue that
> the answer to this would be easy to find. (But I couldn't).
>
> Be gentle, as I am an HTML newbie. I'm building this web
> site with straight HTML using a simple HTML editor
> (Evrsoft First Page 2006). I know nothing about dynamic
> html, cascading style sheets, java script, and all those
> other buzz words I've heard bantered around, although
> I'm willing to learn about them if necessary to solve
> the scaling problem.

You can do it with javascript, as explained in the link in
the sig. Opening new windows causes accessibility problems, however, and
takes over the visitor's browser in a way they might not appreciate. Let
the visitor decide how the new window is to open.
--
mbstevens
http://www.mbstevens.com/howtothumb/index.html#jspopups

 

Navigation:

[Reply to this 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

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