Team:Queens Canada/Notebook/Week1

From 2012.igem.org

(Difference between revisions)
Line 24: Line 24:
<body>
<body>
<div id="content2"> <p id="fade1">
<div id="content2"> <p id="fade1">
-
         This is a test(<a href="#">click!</a>)
+
         This is a test(<a href="#" id="fade3">click!</a>)
-
         <ul id="fade2"><span>Test</span></div>
+
         <ul id="fade2"><span id="fade4">Test</span></div>
       </p>
       </p>
<script>
<script>
-
         $("a").click(function () {
+
         $("#fade3").click(function () {
-
           $("div").fadeIn(3000, function () {
+
           $("#fade2").fadeIn(3000, function () {
-
             $("span").fadeIn(100);
+
             $("#fade4").fadeIn(100);
           });
           });
           return false;
           return false;

Revision as of 04:19, 27 May 2012

Control

This is a test(click!)

    Test