Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"
m |
m |
||
Line 64: | Line 64: | ||
}) | }) | ||
$(".slide").each(function(){ | $(".slide").each(function(){ | ||
− | $(this).width($(this).data("width")) | + | $(this).width($(this).data("width")+"px") |
$(this).css("background-image", $(this).data("img")) | $(this).css("background-image", $(this).data("img")) | ||
$(this).css("min-height", $(this).data("minheight")) | $(this).css("min-height", $(this).data("minheight")) |
Revision as of 08:22, 28 July 2015