Team:Oxford

From 2014.igem.org

(Difference between revisions)
m
Line 3: Line 3:
<script src="//cdn.jsdelivr.net/jquery.vegas/1.3.1/jquery.vegas.js"></script>
<script src="//cdn.jsdelivr.net/jquery.vegas/1.3.1/jquery.vegas.js"></script>
         <script>
         <script>
-
$(function(){
+
        $(document).ready(function() {
-
$('.hasdropdown').hover(function() {
+
        $('#bannerarea').hide().fadeIn('slow');
 +
$('#bannerarea2').hide().fadeIn('slow');
 +
$('#footerarea').hide().fadeIn('slow');
 +
$.vegas({src:'http://ball.sjc.ox.ac.uk/Images/Canterbury-web.jpg',fade:1000});
 +
$('.hasdropdown').hover(function() {
$(this).find('.dropdown').stop(true,true).slideToggle(200);
$(this).find('.dropdown').stop(true,true).slideToggle(200);
})
})
-
         $('#bannerarea').hide().fadeIn('slow');
+
         })
-
         $('#bannerarea2').hide().fadeIn('slow');
+
          
-
         $('#footerarea').hide().fadeIn('slow');
+
          
-
        $.vegas({src:'http://ball.sjc.ox.ac.uk/Images/Canterbury-web.jpg',fade:1000});
+
-
        });
+
</script>
</script>
<style>
<style>

Revision as of 00:17, 5 August 2014