Skip to content

Commit

Permalink
Added github forkme ribbon to demo.. yay?!??!
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstocks committed Jul 20, 2012
1 parent 5aed07d commit cbdc4ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions demo/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ body {
font: normal 14px/1.2 'Helvetica Neue', 'Arial'
}

.fork {
border:0;
position:absolute;
top:0;
right:0;
}

.col {
width: 320px;
float: left;
Expand Down
8 changes: 5 additions & 3 deletions demo/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
<script src="../src/jquery.collapse.js"></script>
</head>
<body>
<a href="https://github.com/danielstocks/jQuery-Collapse">
<img class="fork" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub">
</a>
<h1>jQuery Collapse Demo</h1>

<div class="col c1">
<h2>Default Example</h2>
<div id="default-example" data-collapse>
Expand All @@ -33,7 +35,7 @@ <h3>Yeah!!</h3>
</div>

<h2>Persistence Example</h2>
<div id="persistance-example" data-collapse="persist">
<div id="persistence-example" data-collapse="persist">
<h3>These</h3>
<div>Well hello there</div>
<h3>Sections</h3>
Expand Down Expand Up @@ -72,7 +74,7 @@ <h3>Indeed</h3>
<!-- END Custom show and hide -->

<!-- BEGIN Showing and hiding with CSS -->
<h2>Showing and hiding with CSS</h2>
<h2>w/ CSS3 Animations</h2>
<div id="css3-animated-example">
<h3>Hello</h3>
<div>
Expand Down

0 comments on commit cbdc4ad

Please sign in to comment.