Skip to content

Commit

Permalink
Added demo
Browse files Browse the repository at this point in the history
  • Loading branch information
egdelwonk committed Jan 26, 2012
1 parent dfccb6b commit 603ec64
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/external.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h3>Woohoo! Alright!</h3>
<span class="img-wrap style1" style="background-image: url(&quot;http://placehold.it/180x150/4D99E0/ffffff.png&amp;text=180x150&quot;); background-position: center center; background-repeat: no-repeat; height: 150px; width: 180px;"><img width="180" height="150" src="http://placehold.it/180x150/4D99E0/ffffff.png&amp;text=180x150" class="" style="display: none;"></span>
52 changes: 52 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Slidepanel Demo</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="../js/jquery.codebomber.panel.js"></script>
<link rel="stylesheet" type="text/css" href="../css/jquery.codebomber.panel.css">
</head>
<style type="text/css">
#nav {
background: none repeat scroll 0 0 #E7ECF4;
border: 1px solid #D2D7E3;
border-radius: 6px 6px 6px 6px;
color: #55679D;
margin: 45px auto;
padding: 15px;
width: 250px;

}
#nav h1 {
display: inline-block;
}
#nav a {
color: #787D88;
display: inline-block;
margin: 0 0 0 25px;

}
</style>
<body>
<div id="nav">
<h1>SlidePanel</h1>
<a href="external.html" class="user" rel="panel" id="show">Show Panel</a>
</div>
<div id="panel" class="cb_slide_panel">
<div class="wrapper">
<a href="#" class="close">Close</a>
<div class="inner">
<div class="wrapper"></div>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(
function(){
$('#panel').codebomber_Panel();
}
);
</script>
</body>
</html>

0 comments on commit 603ec64

Please sign in to comment.