You are here: Picture sizing for target frames « HTML « IT news, forums, messages
Picture sizing for target frames

Posted by Pascal Herczog on 11/03/05 04:51

I have a page containing 2 frames, the top has a table of hyperlinks, which,
if you click on them, each show a different picture in the bottom frame
(i.e. target base is set to "bottom").

e.g., in the top frame, a table data entry would be:
<td width="25%"><a
href="../My%20Jokes/Pictures/airplane.jpg">Airplane</a></td>

What I would like to do is constrain the size (width, height) of the actual
picture shown in the bottom frame when the user clicks on the text
"Airplane". I have seen plenty of examples setting width etc when the
hyperlink itself is a picture, but I can't see how to set the width/height
attributes in this case. Hence I end up with a picture that doesn't fit into
the bottom frame, which spoils the effect. As I've got loads of pictures, I
don't really want to have to resize them all manually first.

Can anyone help?
Pascal.

 

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

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