Team:UCLA/Template/Javascript

From 2014.igem.org

(Difference between revisions)
Line 71: Line 71:
<script type="text/javascript">
<script type="text/javascript">
-
function Slider(){
+
$(document).ready(function(){
$(".slider #1").show("fade",500);
$(".slider #1").show("fade",500);
$(".slider #1").delay(5500).hide("slide",{direction:'left'},500);
$(".slider #1").delay(5500).hide("slide",{direction:'left'},500);

Revision as of 09:52, 24 July 2014