Skip to content

Commit 00ff1dd

Browse files
committed
Add using introjs templates manual
1 parent eb021ee commit 00ff1dd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@ Optionally, pass one parameter to `introJs` function to limit the presentation s
4040

4141
<p align="center"><img src="http://usablica.github.com/intro.js/img/introjs-demo.png"></p>
4242

43+
## Using templates
44+
45+
IntroJS provides awesome templates and we are trying to update and add more templates for next versions. You can browse all templates here: https://github.com/usablica/intro.js/wiki/IntroJs-templates
46+
47+
In order to use templates, all you need to do is appending the template stylesheet to your page, *after* IntroJS CSS file:
48+
49+
```html
50+
<!-- Add IntroJs styles -->
51+
<link href="../../introjs.css" rel="stylesheet">
52+
53+
<!-- Add Nazanin template -->
54+
<link href="../../themes/introjs-nazanin.css" rel="stylesheet">
55+
```
56+
4357
## API
4458

4559
###introJs([targetElm])

0 commit comments

Comments
 (0)