1
2
3
4
5
6
7
8
9
10
11
12
<script type="text/javascript">
  $(window).load(function() {
    $("#main").show("slide", { direction: "up" }, 1000);
    $("#copyright").show("slide", { direction: "down" }, 500);
    $("#main").effect("bounce", { times: 1, distance: 5 }, 250);
    
    $('a').click(function() {
      $('#spark').sprite({fps: 30, no_of_frames: 12, play_frames: 12});
      alert("Hello!");
    });
  });
</script>