dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: contentflow.js

  1. #1
    Join Date
    Feb 2007
    Posts
    43

    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

  2. #2
    Join Date
    Apr 2010
    Location
    Salem,Ma
    Posts
    623
    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>

  3. #3
    Join Date
    Feb 2007
    Posts
    43
    Awesome. Thank you. That worked. I appreciate it.

    *Sometimes two sets of eyes are better than one.

  4. #4
    Join Date
    Apr 2010
    Location
    Salem,Ma
    Posts
    623
    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.

  5. #5
    Join Date
    Aug 2013
    Posts
    1
    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

    thanks

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
  •  
HTML5 Development Center



Recent Articles