Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Add link URL to caption as well as image

Add link URL to caption as well as image 07 Nov 2012 21:34 #6663

  • danzo
  • danzo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 1
Is there any way to add the link URL to the caption div as well as the image? As it is now, the image shows and the caption fades in, but clicking anywhere on caption does nothing. The user has to click on the image to go to the page. How can I modify it so that clicking the caption div also goes to the URL?

BTW, thanks for this and maxiMenu. Both are great extensions!

Please Log in or Create an account to join the conversation.

Add link URL to caption as well as image 08 Nov 2012 08:31 #6668

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21897
  • Karma: 427
  • Thank you received: 2751
Hi
look at the sample data, you can add your own link in the caption but putting the correct html code.
CEd
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Add link URL to caption as well as image 08 Nov 2012 12:19 #6683

  • danzo
  • danzo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 1
Thanks for the quick reply!
I know I can make a link out of the caption text, which is how I originally had it done, but my client wants the entire area of the caption to link, not just the text. Is this possible?

Please Log in or Create an account to join the conversation.

Add link URL to caption as well as image 08 Nov 2012 13:12 #6688

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21897
  • Karma: 427
  • Thank you received: 2751
it could be possible, you must add a link and give a absolute position, widht, height, etc. But this is not really easy
ced
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Add link URL to caption as well as image 09 Nov 2012 19:04 #6728

  • danzo
  • danzo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 1
Your reply got me thinking, and I found a solution.

In camera.css in the class .camera_caption, I changed the z-index to -1 and now the link layer seems to cover the entire image including the caption, which is perfect!

This may not be an ideal solution for everyone, but definitely worth a try!
The following user(s) said Thank You: ced1870

Please Log in or Create an account to join the conversation.

Add link URL to caption as well as image 09 Nov 2012 19:12 #6729

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21897
  • Karma: 427
  • Thank you received: 2751
cool, thank you for sharing
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.241 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 635 guests and no members online