|
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
[Back to original message]
|