Team:Queens Canada/Notebook/Week1
From 2012.igem.org
(Difference between revisions)
Line 12: | Line 12: | ||
} | } | ||
- | p fade1 { position: | + | p fade1 { position:inline; } |
- | ul fade2 { position: | + | ul fade2 { position:inline; |
font-size:36px; text-align:center; | font-size:36px; text-align:center; | ||
color:yellow; background:red; | color:yellow; background:red; | ||
Line 23: | Line 23: | ||
</head> | </head> | ||
<body> | <body> | ||
- | <div id="content2" | + | <div id="content2">(<a href="#" id="notebook">notebook</a>) <a href="#" id="protocols">protocols </a> |
- | + | <ul id="fade2"><span id="fade4">Test</span> | |
- | <ul id="fade2"><span id="fade4">Test</span></div> | + | <p id="fade1"> |
+ | This is a test </p> | ||
+ | </div> | ||
<script> | <script> | ||
- | $("# | + | $("#notebook").click(function () { |
$("#fade1").fadeOut(5000) | $("#fade1").fadeOut(5000) | ||
$("#fade4").fadeIn(200); | $("#fade4").fadeIn(200); | ||
Line 37: | Line 39: | ||
</script> | </script> | ||
<script> | <script> | ||
- | $("# | + | $("#protocols").click(function () { |
$("#fade4").fadeOut(5000) | $("#fade4").fadeOut(5000) | ||
$("#fade1").fadeIn(200); | $("#fade1").fadeIn(200); |
Revision as of 14:07, 28 May 2012
Control