Skip to content

Commit 6d8939a

Browse files
committed
add new version
1 parent 7f192ca commit 6d8939a

File tree

8 files changed

+797
-0
lines changed

8 files changed

+797
-0
lines changed

css/bootstrap-responsive.min.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/bootstrap.min.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/demo.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
body {
2+
padding-top: 20px;
3+
font-family: "Myriad Pro", Verdana, Arial, Tahoma;
4+
padding-bottom: 40px;
5+
}
6+
7+
/* Custom container */
8+
.container-narrow {
9+
margin: 0 auto;
10+
max-width: 700px;
11+
}
12+
.container-narrow > hr {
13+
margin: 30px 0;
14+
}
15+
16+
/* Main marketing message and sign up button */
17+
.jumbotron {
18+
margin: 60px 0;
19+
text-align: center;
20+
}
21+
.jumbotron h1 {
22+
font-size: 72px;
23+
line-height: 1;
24+
}
25+
.jumbotron .btn {
26+
font-size: 21px;
27+
padding: 14px 24px;
28+
}
29+
30+
/* Supporting marketing content */
31+
.marketing {
32+
margin: 60px 0;
33+
}
34+
.marketing p + h4 {
35+
margin-top: 28px;
36+
}

img/glyphicons-halflings-white.png

8.57 KB
Loading

img/glyphicons-halflings.png

12.5 KB
Loading

index.html

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Intro.js | Better introductions for websites and features with a step-by-step guide for your projects.</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta name="description" content="Intro.js - Better introductions for websites and features with a step-by-step guide for your projects.">
8+
<meta name="author" content="Afshin Mehrabani (@afshinmeh) in usabli.ca group">
9+
10+
<!-- styles -->
11+
<link href="css/bootstrap.min.css" rel="stylesheet">
12+
<link href="css/demo.css" rel="stylesheet">
13+
14+
<!-- Add IntroJs style -->
15+
<link href="introjs.css" rel="stylesheet">
16+
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
17+
</head>
18+
19+
<body>
20+
21+
<div class="container-narrow">
22+
23+
<div class="masthead">
24+
<ul class="nav nav-pills pull-right" data-step="5" data-intro="Get it, use it.">
25+
<li><a href="https://github.com/usablica/intro.js/tags"><i class='icon-black icon-download-alt'></i> Download</a></li>
26+
<li><a href="https://github.com/usablica/intro.js">Github</a></li>
27+
<li><a href="https://twitter.com/usablica">@usablica</a></li>
28+
</ul>
29+
<h3 class="muted">Intro.js</h3>
30+
</div>
31+
32+
<hr>
33+
34+
<div class="jumbotron">
35+
<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+
<a class="btn btn-large btn-success" href="javascript:void(0);" onclick="javascript:introJs().start();">Show me how</a>
38+
</div>
39+
40+
<hr>
41+
42+
<div class="row-fluid marketing">
43+
<div class="span6" data-step="2" data-intro="Ok, wasn't that fun?">
44+
<h4>Easy to Use</h4>
45+
<p>Just include the js and css files and add <code>data-step</code> and <code>data-intro</code> to your code.</p>
46+
47+
<h4>Fast &amp; Small</h4>
48+
<p><strong>4 KB</strong> JavaScript and <strong>2 KB</strong> CSS. That's all.</p>
49+
50+
<h4>Free &amp; Open-Source</h4>
51+
<p>Free and open-source (including commercial use). Published under MIT license.</p>
52+
</div>
53+
54+
<div class="span6" data-step="3" data-intro="More features, more fun.">
55+
<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>
57+
58+
<h4>Browser Compatibllity</h4>
59+
<p>Better compatibility is on the roadmap, but currently it should work in recent versions of Firefox and Chrome (probably IE10, too!)</p>
60+
<h4>Developed with &lt;3</h4>
61+
<p>With &lt;3 in <a href='http://usabli.ca/' target="_blank" title="usabli.ca group">usabli.ca</a>, Tehran.</p>
62+
</div>
63+
</div>
64+
65+
<hr>
66+
67+
<div class="footer">
68+
<p>&copy; <a href='http://usabli.ca/' target="_blank" title="usabli.ca group">usabli.ca</a> 2013 - A weekend project by <a href="http://afshinm.name/" target="_blank">Afshin Mehrabani</a></p>
69+
</div>
70+
71+
</div>
72+
<script type="text/javascript" src="intro.js"></script>
73+
</body>
74+
</html>

0 commit comments

Comments
 (0)