displaying images in new browser -
10-12-2006
, 11:18 AM
I have some webpages that have several images on each that I have constrained to smaller sizes in
the pages. I would like to display the image in full size in a new window that is just large enough
for the images when the user clicks on them.
I have found many examples of displaying content in new browser windows using
window.open
target=_blank
but these methods all require a link to a webpage. I do not want to create html documents for every
picture I have. I guess ideally I would like to be able to pass the path/imagename to a function
that creates/overwrites an html document, then pops that into a new window for the image. Does
anyone have any resource link or code sample to do this?. Also, I'm assuming that something like
this would require javascript so how could I handle the client possibly having javascript disabled?
Thanks,
Robb |