Comments (2)
You can use localStorage and check whether user running the script the first time:
// .. some code
var wasShown = 'enjoyhint:wasShown';
if (localStorage.getItem(wasShown)) {
// EnjoyHint was shown, etc
} else {
// Load it and do things necessary for the first time
localStorage.setItem(wasShown, true);
}
// .. some code
from enjoyhint.
You can use localStorage and check whether user running the script the first time:
// .. some code var wasShown = 'enjoyhint:wasShown'; if (localStorage.getItem(wasShown)) { // EnjoyHint was shown, etc } else { // Load it and do things necessary for the first time localStorage.setItem(wasShown, true); } // .. some code
i have same problem but i do not understand because i have basic knowlege please give me one code for play once time for ever for new users and put this code in TODO demo sample and give me .thanks
from enjoyhint.
Related Issues (20)
- Custom button label HOT 2
- bug in the responsiveness of the steps HOT 1
- Problem with iframe.
- Resume tour after skip action && Restart tour after tour complete? HOT 1
- Custom name for prevButton and nextButton HOT 1
- Unbind all events on end tutorial ? HOT 1
- Once hidden, next button doesn't show up
- Propertie ArrowColor not working
- Enjoyhint Highlight Visibility
- Next button on mobile turns to ">"
- how to fix enjoyhint in mobileview
- ScrollTo bug still existing
- CanvasRenderingContext2D is not defined when config with nextJS
- Buttons not positioned correctly
- add image beside arrow marker HOT 1
- all buttons do not appear with jquery 1.8.3
- How do I make the background darker? HOT 1
- When searching for elements in an iframe, the hint is displayed incorrectly. Has other coordinates.
- When loading gridphp, enjoyhint triggers automatically and raising errors.
- Conditional elements in html
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 enjoyhint.