You are here: Forum Home / RapidWeaver User Forum / HTML, CSS, and Design Help / Thread
I’ve tried to make a link in the caption of a lightbox image. Of course I can place words in the title field, but no links. I’m using three lightbox images as an intro to my web page. I would like viewers to click on the image thumbnail, read the caption and then click on a link with in that caption. Any idea how to do this?
Thank you in advance.
-Jeff
rapidweaver v3.6.5
Is this even possible?
I’ve tried to make a link in the caption of a lightbox image. Of course I can place words in the title field, but no links. I’m using three lightbox images as an intro to my web page. I would like viewers to click on the image thumbnail, read the caption and then click on a link with in that caption. Any idea how to do this?
Thank you in advance.
-Jeff
rapidweaver v3.6.5
I have it working on my Lightboxes using PlusKit. Everything goes in the Image AltTag box. I put title, hyperlink and lots of text in my lightboxes. Here is what I do (you can add more text if needed:
Title Here
HyperlinkText Here, Location
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
<b><i>Title Here</b></i> <br><a href="http://DOMAIN HERE">HyperlinkText Here</a>, Location<br><br> Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Also, I noticed that the code br works in lightbox, but doesn’t work in PhotoAlbum, /br does.
Hope that helps. I have been working on this for weeks now.
Now I have to figure out why IE opens my lightbox in a separate window and doesn’t display my text.
ugh! I hate IE!
Julie
I’ve tried to make a link in the caption of a lightbox image. Of course I can place words in the title field, but no links. I’m using three lightbox images as an intro to my web page. I would like viewers to click on the image thumbnail, read the caption and then click on a link with in that caption. Any idea how to do this?
Thank you in advance.
-Jeff
rapidweaver v3.6.5I have it working on my Lightboxes using PlusKit. Everything goes in the Image AltTag box. I put title, hyperlink and lots of text in my lightboxes. Here is what I do (you can add more text if needed:
Title Here
HyperlinkText Here, LocationLorem ipsum dolor sit amet, consectetuer adipiscing elit.
<b><i>Title Here</b></i> <br><a href="http://DOMAIN HERE">HyperlinkText Here</a>, Location<br><br> Lorem ipsum dolor sit amet, consectetuer adipiscing elit.Also, I noticed that the code br works in lightbox, but doesn’t work in PhotoAlbum, /br does.
Hope that helps. I have been working on this for weeks now.
Now I have to figure out why IE opens my lightbox in a separate window and doesn’t display my text.
ugh! I hate IE!Julie
Hey… Cool. Thanks! It works. Haven’t tried it with IE yet though.
Glad that works for you too!
I figured out what was causing my lightbox to open in a new IE window.
It seems that IE doesn’t like the Don’t Copy snippet AND Lightbox. Once removed the lightbox looks fabulous in all browsers.
Julie
Thanks Julie for posting how to add a link to the captions using PlusKit/lightbox. Saved me hours! Do you know if there is a way to link to an image or pdf file that is in the resouces? I played around using %resource(folder_name/file.pdf)% with no luck. Not sure what coding to use around it if it even works.
Thanks again! Love this forum!
Becky
Becky,
If what you are doing is providing a link to another image or PDF within the caption area below the lightbox view, then you will need to us the absolute URL to PDF. So if the PDF is in your Resources folder, then http://yourdomain.com/resources/yourfile.pdf.
I haven’t had a lot of success making the %resource(folder/image.jpg)% work for my applications either. When I can’t get a link to work, I always use the absolute URL.
PS: I create snippets for some of the URLs that I use frequently for links. This way you can drag and drop the primary link and href code into the alt tag area or rel area. Then you simply add the file name to the end.
Thanks, I will give that a try. Thanks for the tip on the snippets too!
Becky