Team:Duke

From 2009.igem.org

(Difference between revisions)
Line 2: Line 2:
<head>
<head>
-
 
-
<style type="text/css">
 
-
.demo-show {
 
-
  width: 350px;
 
-
  margin: 1em .5em;
 
-
}
 
-
.demo-show h3 {
 
-
  margin: 0;
 
-
  padding: .25em;
 
-
  background: #bfcd93;
 
-
  border-top: 1px solid #386785;
 
-
  border-bottom: 1px solid #386785;
 
-
}
 
-
.demo-show div {
 
-
  padding: .5em .25em;
 
-
}
 
-
</style>
 
-
 
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
Line 39: Line 21:
  // toggles the slickbox on clicking the noted link
  // toggles the slickbox on clicking the noted link
   $('a#slick-toggle').click(function() {
   $('a#slick-toggle').click(function() {
-
  $('#slickbox').toggle(400);
+
  $('#slickbox').toggle(600);
  return false;
  return false;
   });
   });
Line 46: Line 28:
</head>
</head>
-
<a onclick="#slick-show">toggle box</a>
+
<a id="slick-toggle">toggle box</a>
<div id="slickbox">
<div id="slickbox">

Revision as of 19:26, 22 September 2009

toggle box

blahblahblah


Under Construction