You are here: Re: Img Tag Attributes Not Being Set (Namely .width and .height) « HTML « IT news, forums, messages
Re: Img Tag Attributes Not Being Set (Namely .width and .height)

Posted by hywel.jenkins on 11/18/42 11:30

Nonee wrote:
> On Thu, 27 Oct 2005 01:05:19 GMT, mbstevens
> <NOXwebmasterx@xmbstevensx.com> wrote:
>
> >mbstevens wrote:
> >> Nonee wrote:
> >>
> >>> Remember, the image and the window are both dynamic
> >
> >Or, if you're saying that the image is actually being created on the
> >fly, then you (probably) have server side privileges, and you should be
> >able to determine the width and height in software before you create the
> >popup.

> Bascially, the page I am creating has a list of products. The new
> popup window is a larger size of the image. There is approx 100
> different images so I could do a lookup table but there has to be a
> better way. Is there any way to force the browser to load the image
> and set the img attributes?

Show us the code! Show us the code!

You can more than likely use server-side code to determine the size of
the image just before you write out the link that the user has to click
to open the window. You can then use those dimensions to populate the
window.open function.

Still, without the code, people might continue to guess the solution to
your problem, but they'll eventually give up because they'll realise
that you're not really listening.

--
Hywel

 

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

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