DaftMonk / angular-tour

AngularJS directive for giving an interactive tour of your website.
http://daftmonk.github.io/angular-tour/
MIT License
609 stars 137 forks source link

Can't seem to be able to run it #35

Closed solenoo closed 9 years ago

solenoo commented 9 years ago

Hi for some reason I'm having trouble to start the tour to work.

HTML

<tour step="currentStep">
<header tourtip="tip 1" tourtip-next-label="Learn more" tourtip-placement="bottom" tourtip-offset="60" tourtip-step="0">
.
.
.
</header>
<aside tourtip="tip 2" tourtip-next-label="Learn more" tourtip-placement="right" tourtip-offset="60" tourtip-step="1">
.
.
.
</aisde>
</tour>

JS

$scope.currentStep = 0;

And nothing happens. What am I missing ?

jermspeaks commented 9 years ago

Is it at all related to this? I'm getting an error from this line in angular-tour-tpls.js, line 162.

if (scope.ttAnimation)
    tourtip.fadeIn();
booleanbetrayal commented 9 years ago

@jermspeaks - is this issue still valid? Do you have jQuery loaded prior to angular-tour?

jermspeaks commented 9 years ago

I'm unsure. I decided not to use this library in the end, and I'm not working on that project that used it anymore.

rinogo commented 7 years ago

I can confirm that the problem was almost certainly that jQuery wasn't loaded. It wasn't loaded in our app and I got an error about fadeIn being undefined. Loading jQuery fixed the problem.