Skip to content

Commit d745853

Browse files
committed
Change example and add data-position attribute
1 parent 72ec841 commit d745853

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

example/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ <h3 class="muted">Intro.js</h3>
3333

3434
<div class="jumbotron">
3535
<h1 data-step="1" data-intro="Hello all! :) This project's called Intro.js.">Intro<span style="font-weight: normal;">.js</span></h1>
36-
<p class="lead" data-step="4" data-intro="Let's try it. It's free and open-source.">Better introductions for websites and features with a step-by-step guide for your projects.</p>
36+
<p class="lead" data-step="4" data-intro="Let's try it. It's free and open-source." data-position='top'>Better introductions for websites and features with a step-by-step guide for your projects.</p>
3737
<a class="btn btn-large btn-success" href="javascript:void(0);" onclick="javascript:introJs().start();">Show me how</a>
3838
</div>
3939

4040
<hr>
4141

4242
<div class="row-fluid marketing">
43-
<div class="span6" data-step="2" data-intro="Ok, wasn't that fun?">
43+
<div class="span6" data-step="2" data-intro="Ok, wasn't that fun?" data-position='right'>
4444
<h4>Easy to Use</h4>
4545
<p>Just include the js and css files and add <code>data-step</code> and <code>data-intro</code> to your code.</p>
4646

@@ -51,9 +51,9 @@ <h4>Free &amp; Open-Source</h4>
5151
<p>Free and open-source (including commercial use). Published under MIT license.</p>
5252
</div>
5353

54-
<div class="span6" data-step="3" data-intro="More features, more fun.">
54+
<div class="span6" data-step="3" data-intro="More features, more fun." data-position='left'>
5555
<h4>Keyboard + Mouse navigation</h4>
56-
<p>Ability to navigate with the mouse, or the keyboard - <code></code>, <code></code> and <code>ESC</code> to exit.</p>
56+
<p>Ability to navigate with the mouse, or the keyboard - <code></code>, <code></code>, <code>ENTER</code> and <code>ESC</code> to exit.</p>
5757

5858
<h4>Browser Compatibllity</h4>
5959
<p>Better compatibility is on the roadmap, but currently it should work in recent versions of Firefox and Chrome (probably IE10, too!)</p>

0 commit comments

Comments
 (0)