Menu icon Foundation
Hyperlinks inside Clearing

Hello,
I want to put link inside Clearing image caption.
Link is displaying correctly in Clearing, but when I click on it nothing is happening.

clearingcaptionlink

Hello,
I want to put link inside Clearing image caption.
Link is displaying correctly in Clearing, but when I click on it nothing is happening.

Bob Sawyer over 4 years ago

Post your code, please?

Karol over 4 years ago
Bob Sawyer over 4 years ago

Hmm. Doesn't appear that anything happens when the link is clicked. I can't even get it to trigger an alert box.

http://codepen.io/bobsawyer/pen/ZYwgJa

I added the Foundation js and css files to your jsfiddle, but couldn't get it to work there, so I pulled your code into CodePen, because I'm more familiar with the interface. Got the clearing thingy to work, but the link is still "dead."

Rafi Benkual over 4 years ago

Ya, the JS is blocking the link. The captions was not meant to contain a link, http://codepen.io/rafibomb/pen/VYRZev (I tried using weird thing with psuedo element)

Probably could just absolutely position some captions there.