PDA

View Full Version : Need a bit of HTML


guy
May-14-2009, 09:35 PM
I think I just need a bit of html. Sometimes when I write a caption under a photo I'd like to reference an earlier photo of the same place. What I'd like to be able to so is say something like "this is what it looked like last year" & when they click on "last year" the referenced photo opens up in its own small sized window so it does not cover the whole page behind.

Can anyone tell me how I can do this?

Thanks.

PBolchover
May-15-2009, 06:31 AM
I think that you have to make the pop-out via javascript, as standard html doesn't allow you to specify the size of the pop-out window.

This tool can help you to generate the script:
http://www.echoecho.com/toolpopupgenerator.htm

guy
May-15-2009, 09:01 PM
I think that you have to make the pop-out via javascript, as standard html doesn't allow you to specify the size of the pop-out window.

This tool can help you to generate the script:
http://www.echoecho.com/toolpopupgenerator.htm

Thanks this worked great on their test site but not when I cut & pasted the code into my photo caption. I'm guessing I need to put something into my Java script box but don't know what :^(.. Can anyone help.

PBolchover
May-16-2009, 06:20 PM
Did you remember to surround it with <html> </html> tags?

guy
May-17-2009, 01:27 PM
Did you remember to surround it with <html> </html> tags?
Oh no!! Many Thanks that did it now works like a charm... Seems to work best with the lightbox link as that resizes the photo to fit the window size I choose.

Very Cool :^)