Comments (3)
I don't see any point in automatically cleaning up joyride after the tour, this is specific to the implementation. In version 2 (v2 branch) there are built in methods for pausing, destroying, restarting, and resuming joyride. V2 is stable, if you prefer to use that.
from joyride.
Leaving bits of joyride behind after the tour causes future tours to conflict with those remaining bits which in turns causes additional tips to be shown at the same time. Here's an example of the bug in action:
http://ratamacu.freeshell.org/joyrideBug.html
from joyride.
Thanks for pointing this out. This has been solved in Joyride v2. If you just download that one you should be fine.
In version 2 you can do the following:
$('#your-link').click(function (e) {
e.preventDefault();
$('#joyrideOL').joyride({
'postRideCallback' : function () {
$(this).joyride('destroy');
}
});
});
Let me know if that works for you.
from joyride.
Related Issues (20)
- [v3] Setup doesn't work with npm 3 HOT 1
- [v3] Reduce boilerplate in JavaScript test folder HOT 1
- [v3] Delete old v3 branch and old issues. HOT 5
- Auto scrolling doesn't work within a scrollable div (overflow: auto)
- No main assets defined
- Feature request: Custom target selector HOT 1
- Is this repository still maintained? HOT 1
- Joyride doesn't work with latest jQuery HOT 3
- joyride for angular2 HOT 3
- Getting a weird issue. The li which are yet to load gets displayed in top corner of browser HOT 1
- Link to specific tip?
- JoyRide for Single Page App
- Uncaught ReferenceError: Foundation is not defined HOT 2
- Why is JoyRide solo CSS so intrusive? HOT 1
- Joyride in Angular2.0 HOT 1
- The version 3 is not found?
- STANDALONE: Cannot use lists inside tooltips
- STAND ALONE: changing tooltips width causing issues HOT 1
- howto start joyride while reading a cookie, if this here is alive still HOT 3
- Respect prefers-reduced-motion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joyride.