Does anyone know how to make the image a hyperlink to specific urls rather than the image in its own page in the contenflow.js?
I've found that if you comment out this line:
You will successfully delete the hyperlinks that link to the full size image.
However, I'd like to have a click on each image take you to individual specific pages.
Any and all help/suggestions welcome.
if you read the documentation it tells you how -
To utilize an item as a link just add an href attribute to the item or the content tag like this:
<div class="item" href="YOUR_URL"><img class="content" src="someImageFile.jpg"/></div>
<img class="item" href="YOUR_URL" src="someImageFile.jpg"/>
Awesome. Thank you. That worked. I appreciate it.
*Sometimes two sets of eyes are better than one.
no problem. oh also a side note adding the href= line to the img element, technically makes it "invalid html" , so if you run your code through a service like the w3c validation page it may show as invalid code, but in this case it's actually okay.
Users Browsing this Thread
There are currently 1 users browsing this thread.
(0 members and 1 guests)
Tags for this Thread