contentflow.js
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:
window.location.href=A
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.
PS> I'm a designer not a javascript coder -- so detailed explanations are needed.
Documentation: http://www.jacksasylum.eu/ContentFlow/features.php
Thank you,
Kelly
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="ContentFlow">
<div class="flow">
<div class="item" href="YOUR_URL"><img class="content" src="someImageFile.jpg"/></div>
</div>
</div>
or even
<div class="ContentFlow">
<div class="flow">
<img class="item" href="YOUR_URL" src="someImageFile.jpg"/>
</div>
</div>
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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks