Results 1 to 6 of 6

Thread: Featured Content Slider, make it change on hover?

  1. #1
    Join Date
    Dec 2007
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Featured Content Slider, make it change on hover?

    1) Script Title:
    Featured Content Slider

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...tentslider.htm

    3) Describe problem:
    Link:
    http://www.austiart.com/austiart/bs/

    OK,Got this most of the way to where I want it.
    Modified it so it's a hover over effect...but now I'm stuck.
    I want it so when you click a link, it takes you to that HTML page, but of course, the way it is set up, it changes the content. (Really, on click does nothing now)

    Soo...any ideas on how to make each of the links an actual link?

    Thanks in advance!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Try finding the below lines inside the js file, and remove the code in red:

    Code:
    pcontent+='<a href="#" onClick=\"ContentSlider.turnpage(\''+sliderid+'\', '+i+'); return false\">'+(slider.paginateText? slider.paginateText[i] : i+1)+'</a> '

  3. #3
    Join Date
    Dec 2007
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the quick reply!

    EDIT: I GOT IT! Found one of your replies awhile back on having hover to change, and then click to go to URL, and was able to implement that perfectly!
    check it!
    http://www.austiart.com/austiart/bs/

    Again, thanks for the swift reply!

    EDIT 2:
    OK, help again....
    I have it working, but no transition effect.

    Been tearing through the .js file, but I can't get it working again! The .js file I used I found by searching this forum, was a few pages back. (You know the kind, you search, find nothing, post, then search some more and find something)

    All help appreciated!
    Last edited by A2597; 04-02-2008 at 03:46 AM.

  4. #4
    Join Date
    Dec 2007
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I am loath to bump my own thread, but am still stuck on the transition. Just can't seem to bring that nice fade back!

    (If no responce, I'll let it die and call it close enough. )

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well, you were using an older version of the .js code, before the addition of the fade effect. Anyhow, I've just modified the current version of the .js file with the ability to show content onMouseover, and clicking on each link now goes to an actual page.

    Try the attached modified contentslider.js file. Your initialization code remains the same as what you have right now:

    Code:
    ContentSlider("slider1", "300", ["CONTACT <br />", "PORTFOLIO <br />", "RESUME <br />", "PROJECTS <br />", ] , "", ['contact.html', 'portfolio.html' , 'resume.html' , 'projects.html'])

  6. The Following User Says Thank You to ddadmin For This Useful Post:

    A2597 (04-03-2008)

  7. #6
    Join Date
    Dec 2007
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    You are amazing man!
    Thank you so much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •