The link to google looks like a hyperlink, but when I click it, nothing happens. I am expecting to get redirected to Google.
I am using lightbox2, I made an element like so
import img1 from './images/img1.png';
...
<a className="withfadeout" href={img1} data-lightbox="img1" data-title="<a href='http://google.com'>Link to google</a>. More text."><img className="responsive-image" src={img1} alt="img1"/></a>
My project is in React and the code is in JSX. Has anyone seen this issue before?
Hi All,
The link to google looks like a hyperlink, but when I click it, nothing happens. I am expecting to get redirected to Google.
I am using lightbox2, I made an element like so
import img1 from './images/img1.png';
...<a className="withfadeout" href={img1} data-lightbox="img1" data-title="<a href='http://google.com'>Link to google</a>. More text."><img className="responsive-image" src={img1} alt="img1"/></a>
My project is in React and the code is in JSX. Has anyone seen this issue before?