Forums

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

Home Forums JavaScript AnythingSlider External Controls

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #36944
    frusciante89
    Member

    Hey! Spent all day looking at this, it’s exactly what I want to do! I’m a complete n00b when it comes to coding, but I managed to get everything else working except external controls, I copied the code exactly from this example, and for some reason it always breaks the slider.
    I copied

    $(‘#externalNav a’).click(function(){
    var slide = $(this).attr(‘href’).substring(1);
    $(‘#slider’).anythingSlider(slide);
    return false;
    });​

    and put it underneath #slider anythingSlider code just how it is in the example, and it always breaks. I’m missing something very simple but can’t see what!

    Is there other options i need to enable/disable before it will accept external controls?

    Any help would be greatly appreciated :D

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