popin
Version:
Create your custom popin
158 lines (156 loc) • 3.2 kB
HTML
<html>
<head>
<title>popin</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="popin.css" />
</head>
<body>toto<br/>
<a href="#" id="blabla"><span>blabla</span></a>
<a href="#" class="js-newpopin" data-target="popin-new"><span>test popin</span></a>
<a href="#" class="js-newpopin" data-target="popin-new2"><span>test popin</span></a>
<a href="#" class="js-popin2" data-target="popin-toto"><span>test popin</span></a>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
<a href="#" class="js-popin" data-target="popin-toto"><span>test popin</span></a>
<a href="#" class="js-popinAjax">test popin ajax</a>
<a href="#" class="test">test popin</a>
<a href="#" class="test2">test popin2</a>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
toto<br/>
<div id="popin-toto" class="popin">
<div class="popin-header">
<a class="js-popin-linkClose popin-header-linkClose" href="#" title="">Fermer X</a>
</div>
<div class="popin-content">
<a href="#" class="js-popin" data-target="popin-tata">test popin</a>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
contenu<br/>
<a class="js-popin-linkClose" href="#" title="">Fermer X</a>
</div>
</div>
<div id="popin-tata" class="popin">
<div class="popin-header">
<a class="js-popin-linkClose popin-header-linkClose" href="#" title="">Fermer X</a>
</div>
<div class="popin-content">
blabla<br/>
blabla<br/>
blabla<br/>
blabla<br/>
</div>
</div>
<div id="popin-new" class="popin">
<div class="popin-header">
<a class="js-popin-linkClose popin-header-linkClose" href="#" title="">Fermer X</a>
</div>
<div class="popin-content">
new<br/>
blabla<br/>
blabla<br/>
blabla<br/>
</div>
</div>
<div id="popinOverlay" class="popin-overlay"></div>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="bundle.js"></script>
</body>
</html>