Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"
Line 76: | Line 76: | ||
}) | }) | ||
$(".slide").each(function(){ | $(".slide").each(function(){ | ||
+ | $(this).css("background-size", "100% 100%"); | ||
if($(this).data("mobile") == 1) { | if($(this).data("mobile") == 1) { | ||
$(this).data("mobile", null) | $(this).data("mobile", null) | ||
− | |||
//$(this).width($(this).data("width")+"px") | //$(this).width($(this).data("width")+"px") | ||
$(this).css("background-image", $(this).data("img")) | $(this).css("background-image", $(this).data("img")) |
Revision as of 11:36, 29 July 2015