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.
Hi , i am using contentFlow.js in my application , sometimes the items switch very fast before getting the final position , or will be shown in disordered on the same line and same size , does anyone faced this issue ?
your help is very appreciated