Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merge pull req

  • Loading branch information...
commit 39e58690bfee44d559dd1c78ecaf09aeaa0a6eb4 1 parent 5417d54
@hakimel authored
Showing with 4 additions and 28 deletions.
  1. +4 −28 index.html
View
32 index.html
@@ -17,14 +17,8 @@
<link rel="stylesheet" href="css/avgrund.css">
<script>
- function showDialog() {
- Avgrund.show("#custom-popup");
- }
- function stackIt() {
- Avgrund.show("#default-popup");
- }
- function growIt() {
- Avgrund.show("#default-popup");
+ function openDialog() {
+ Avgrund.show( "#default-popup" );
}
function closeDialog() {
Avgrund.hide();
@@ -46,19 +40,12 @@
<button onclick="javascript:closeDialog();">Close</button>
</aside>
- <div id="custom-popup" class="avgrund-popup">
- <p>Custom popup content</p>
- <a href="#" id="custom-popup-close">close</a>
- </div>
-
<article class="avgrund-contents">
<h1>Avgrund</h1>
<p>
- A modal concept which aims to give a sense of depth between the page and modal layers. Click a button below to give it a try.
+ A modal concept which aims to give a sense of depth between the page and modal layers. Click the button below to give it a try.
</p>
- <button onclick="javascript:stackIt();">Stack it</button>
- <button onclick="javascript:growIt();">Grow it</button>
- <button onclick="javascript:showDialog();">Other dialog</button>
+ <button onclick="javascript:openDialog();">Open Avgrund</button>
<p>
Uses CSS transforms to scale components and CSS filters to blur the page. Built for the fun of
it, not intended for any practical use.
@@ -85,16 +72,5 @@
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
- <script>
- var _gaq = [['_setAccount', 'UA-15240703-1'], ['_trackPageview']];
- (function(d, t) {
- var g = d.createElement(t),
- s = d.getElementsByTagName(t)[0];
- g.async = true;
- g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- s.parentNode.insertBefore(g, s);
- })(document, 'script');
- </script>
-
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.