You are here: Re: showing larger images in pop up window. « HTML « IT news, forums, messages
Re: showing larger images in pop up window.

Posted by Jukka K. Korpela on 01/15/06 01:06

gil <gilsxervicxes@ns.sxympatico.ca> wrote:

> I would like to have the user click on a thumb in a photo gallery to
> view a larger image with a single line of text below it,

Create a simple HTML document containing a suitable <img> element and some
text. You could perhaps make the document dynamically generated.

> AND a button
> which would close the window.

Stop wanting that. As soon as you stop wanting to dictate how the link is
opened, the "need" for a Close button vanishes in a puff of logic.

> Is there any way this can be done inline with <a ref...>?

Yes and no. You can and should use a normal link. You cannot use HTML to
generate an HTML document but need other tools, such as CGI scripting, PHP,
or preprocessing.

> I have seen javascript which will open other html documents into a
> resizeable window.

Forget them.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

 

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

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