HighDots Forums  

displaying images in new browser

alt.discuss.html alt.discuss.html


Discuss displaying images in new browser in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robb
 
Posts: n/a

Default 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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.