Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Anything slider help, change functionality to hover

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27011
    Ze21
    Member

    Hello,

    I am using the AnythingSlider on a couple of sites and I think it’s great. However I have been asked if it is possible for the thumbnav links to activate the animation (slide) on hover instead of on click. I’m new to jquery and all things js so apologies if this is a ridiculous question,

    Thanks,

    Ze21

    #67442
    JaredAM
    Member

    Howdy,

    Basically change the click to a hover:

    Code:
    $(“#slide-jump”).hover(function(){
    $(‘.anythingSlider’).anythingSlider(6);
    });
    #68170
    Ze21
    Member

    Thanks for your reply JaredAM. However I’m still not sure where I need to put that code? I can’t find any reference to ‘slide-jump’ in any of the anythingslider code.

    Sorry for being a bit slow,

    Ze21

    #68256
    JaredAM
    Member

    Oh, I’m sorry, are you not using Chris’ demo? https://css-tricks.com/examples/AnythingSlider/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.