Team:Queens Canada/Notebook/Week1

From 2012.igem.org

(Difference between revisions)
Line 10: Line 10:
     background: none repeat scroll 0 0 #00438F;
     background: none repeat scroll 0 0 #00438F;
}
}
 +
 +
      p { position:relative; width:400px; height:90px; }
 +
      div { position:absolute; width:400px; height:65px;
 +
        font-size:36px; text-align:center;
 +
        color:yellow; background:red;
 +
        padding-top:25px;
 +
        top:0; left:0; display:none; }
 +
        span { display:none; }
</style>
</style>
 +
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
</head>
<body>
<body>
<div id="content2"> <span id="bounceTest">this text</span> </div>
<div id="content2"> <span id="bounceTest">this text</span> </div>
 +
<p>
 +
        Let it be known that the party of the first part
 +
        and the party of the second part are henceforth
 +
        and hereto directed to assess the allegations
 +
        for factual correctness... (<a href="#">click!</a>)
 +
        <div><span>CENSORED!</span></div>
 +
 +
      </p>
 +
<script>
 +
        $("a").click(function () {
 +
          $("div").fadeIn(3000, function () {
 +
            $("span").fadeIn(100);
 +
          });
 +
          return false;
 +
        });
 +
      </script>
</body>
</body>

Revision as of 04:08, 27 May 2012

Control
this text

Let it be known that the party of the first part and the party of the second part are henceforth and hereto directed to assess the allegations for factual correctness... (click!)

CENSORED!