Team:Linkoping Sweden/popup

From 2014.igem.org

(Difference between revisions)
Line 39: Line 39:
             var maskWidth = $(window).width();
             var maskWidth = $(window).width();
             var horizOffset = ($(window).width() - 1100) / -2;
             var horizOffset = ($(window).width() - 1100) / -2;
-
       
+
            var vertOffset = -13;
 +
 
             //Set height and width to mask to fill up the whole screen
             //Set height and width to mask to fill up the whole screen
-
             $('#mask').css({'width':maskWidth,'height':maskHeight,'left':horizOffset });
+
             $('#mask').css({'width':maskWidth,'height':maskHeight,'left':horizOffset,'top':vertOffset});
              
              
             //transition effect         
             //transition effect         

Revision as of 09:18, 14 October 2014