Template:Team:CBNU-Korea/css new

From 2012.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 339: Line 339:
}
}
-
#CB_sub_cont {
+
#CB_sub_cont embed, iframe{
-
+
width: 100%;
 +
max-width: 560px;
}
}
Line 692: Line 693:
$(".CB_ul").slideToggle("slow");
$(".CB_ul").slideToggle("slow");
});
});
 +
 +
$(window).resize(function(){ var width = parseInt($(this).width());
 +
if(width > 1024){
 +
 +
$(".CB_ul").css("display","block");
 +
}
 +
else{
 +
 +
$(".CB_ul").css("display","none");
 +
}
 +
}).resize();
});
});

Latest revision as of 03:50, 27 September 2012