jquery - Feature Walkthrough, detecting when the .introTour has finished -
i've written website tour jquery plugin feature walkthrough
<button id="yui-galleryintrotourui-buttontourend-id" class="yui-galleryintrotourui-card-next yui3-button notice" data-seqid="end"> … </button>
this pretty how i'm attempting check if jquery function introtour
has finished, tour_cards
example available on website.
$().introtour(tour_cards, function(){ alert("finished"); });
i've tried using .live('click', function(){});
event pick up, click event once has been made on yui-galleryintrotourui-buttontourend-id
, doesn't (i think, because, these events must added before elements added dom itself).
ive added 2 events can subscribe https://github.com/nbprithv/introtour-ui#events
i hope helps.
this available on jquery plugin. ill updating yui plugin soon.
thanks checking out work.
Comments
Post a Comment