Permalink
8d7064a Oct 9, 2017
1 contributor

Users who have contributed to this file

116 lines (96 sloc) 4.27 KB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hints</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Intro.js - Better introductions for websites and features with a step-by-step guide for your projects.">
<meta name="author" content="Afshin Mehrabani (@afshinmeh) in usabli.ca group">
<!-- styles -->
<link href="../assets/css/bootstrap.min.css" rel="stylesheet">
<link href="../assets/css/demo.css" rel="stylesheet">
<!-- Add IntroJs styles -->
<link href="../../introjs.css" rel="stylesheet">
<link href="../assets/css/bootstrap-responsive.min.css" rel="stylesheet">
<style>
.btn-group-justified {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
}
.btn-group-justified > * {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
</style>
</head>
<body>
<div class="container-narrow">
<div class="masthead">
<ul class="nav nav-pills pull-right" data-hint="Get it, use it." data-position="bottom-left-aligned">
<li><a href="https://github.com/usablica/intro.js/tags"><i class='icon-black icon-download-alt'></i> Download</a></li>
<li><a href="https://github.com/usablica/intro.js">Github</a></li>
<li><a data-hint="Tweet at me" data-position="right" href="https://twitter.com/usablica">@usablica</a></li>
</ul>
<h3 class="muted">
<span data-hint="Nice to meet you" data-position="bottom">Intro.js</span>
</h3>
</div>
<hr>
<div class="jumbotron">
<h1 data-hint="This is a tooltip!" data-hintPosition="top-middle" data-position="top-right-aligned">Hints</h1>
<p class="lead">Add hints using <code>data-hint</code> attribute.</p>
<a class="btn btn-large btn-success" href="javascript:void(0);" onclick="javascript:introJs().addHints();">Add hints</a>
</div>
<hr>
<div class="row-fluid marketing">
<div class="span6">
<h4>Section One</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.</p>
<h4>Section Two</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.</p>
<h4>Section Three</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.</p>
</div>
<div class="span6">
<h4>Section Four</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.</p>
<h4>Section Five</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.</p>
<h4>Section Six</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.</p>
</div>
</div>
<hr>
<div class="btn-group btn-group-justified" role="group" aria-label="...">
<button
type="button"
role="button"
data-hint="Left align"
data-hintPosition="top-middle"
data-position="bottom"
class="btn btn-default">Left</button>
<button
type="button"
role="button"
data-hint="Middle align"
data-hintPosition="top-middle"
data-position="bottom"
class="btn btn-default">Middle</button>
<button
type="button"
role="button"
data-hint="Right align"
data-hintPosition="top-middle"
data-position="bottom"
class="btn btn-default">Right</button>
</div>
</div>
<script type="text/javascript" src="../../intro.js"></script>
</body>
</html>