Skip to content

Commit 049a12b

Browse files
committed
Change exmaple and add data-position attribute
1 parent 899c18e commit 049a12b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

index.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ <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>
37-
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>
3837
<a class="btn btn-large btn-success" href="javascript:void(0);" onclick="javascript:introJs().start();">Show me how</a>
3938

4039
<div style="margin-top: 30px;">
@@ -60,7 +59,7 @@ <h1 data-step="1" data-intro="Hello all! :) This project's called Intro.js.">Int
6059
<hr>
6160

6261
<div class="row-fluid marketing">
63-
<div class="span6" data-step="2" data-intro="Ok, wasn't that fun?">
62+
<div class="span6" data-step="2" data-intro="Ok, wasn't that fun?" data-position='right'>
6463
<h4>Easy to Use</h4>
6564
<p>Just include the js and css files and add <code>data-step</code> and <code>data-intro</code> to your code.</p>
6665

@@ -71,9 +70,9 @@ <h4>Free &amp; Open-Source</h4>
7170
<p>Free and open-source (including commercial use). Published under MIT license.</p>
7271
</div>
7372

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

7877
<h4>Browser Compatibllity</h4>
7978
<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)