Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

merge pull req

  • Loading branch information...
commit 39e58690bfee44d559dd1c78ecaf09aeaa0a6eb4 1 parent 5417d54
Hakim El Hattab authored

Showing 1 changed file with 4 additions and 28 deletions. Show diff stats Hide diff stats

  1. +4 28 index.html
32 index.html
@@ -17,14 +17,8 @@
17 17 <link rel="stylesheet" href="css/avgrund.css">
18 18
19 19 <script>
20   - function showDialog() {
21   - Avgrund.show("#custom-popup");
22   - }
23   - function stackIt() {
24   - Avgrund.show("#default-popup");
25   - }
26   - function growIt() {
27   - Avgrund.show("#default-popup");
  20 + function openDialog() {
  21 + Avgrund.show( "#default-popup" );
28 22 }
29 23 function closeDialog() {
30 24 Avgrund.hide();
@@ -46,19 +40,12 @@
46 40 <button onclick="javascript:closeDialog();">Close</button>
47 41 </aside>
48 42
49   - <div id="custom-popup" class="avgrund-popup">
50   - <p>Custom popup content</p>
51   - <a href="#" id="custom-popup-close">close</a>
52   - </div>
53   -
54 43 <article class="avgrund-contents">
55 44 <h1>Avgrund</h1>
56 45 <p>
57   - 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.
  46 + 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.
58 47 </p>
59   - <button onclick="javascript:stackIt();">Stack it</button>
60   - <button onclick="javascript:growIt();">Grow it</button>
61   - <button onclick="javascript:showDialog();">Other dialog</button>
  48 + <button onclick="javascript:openDialog();">Open Avgrund</button>
62 49 <p>
63 50 Uses CSS transforms to scale components and CSS filters to blur the page. Built for the fun of
64 51 it, not intended for any practical use.
@@ -85,16 +72,5 @@
85 72
86 73 <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
87 74
88   - <script>
89   - var _gaq = [['_setAccount', 'UA-15240703-1'], ['_trackPageview']];
90   - (function(d, t) {
91   - var g = d.createElement(t),
92   - s = d.getElementsByTagName(t)[0];
93   - g.async = true;
94   - g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
95   - s.parentNode.insertBefore(g, s);
96   - })(document, 'script');
97   - </script>
98   -
99 75 </body>
100 76 </html>

0 comments on commit 39e5869

Please sign in to comment.
Something went wrong with that request. Please try again.