Difference between revisions of "Template:GlasgowNavbar"

Line 104: Line 104:
 
<script>
 
<script>
  
$(document).ready(function(){
+
 
   
+
    $(".fade").hide(0).delay(0).fadeIn(1500);
+
   
+
    $("li > div").mouseover(function(){
+
        this.style.pointerEvents = "none";
+
    $(this).animate({
+
        marginLeft: '+=50px',
+
            opacity: '0.8'}, 1200);
+
      $(this).animate({
+
           
+
        marginLeft: '+=50px',
+
            opacity: '0'}, 1200, function(){
+
            $(this).removeAttr('style');
+
        });
+
});
+
});
+
  
 
$(window).scroll(function() {
 
$(window).scroll(function() {

Revision as of 11:48, 6 August 2015