1.
關于引入樣式的優先級說法正确的是()
- A内聯樣式>!important>内部樣式>外部樣式>!important
- B!important>内聯樣式>内部樣式>外部樣式
- C以上都不正确
2.
關于javascript事件說法不正确的是(bcd)
- A事件由事件函數 事件源 事件對象組成
- B目前事件作用在哪個标簽上,哪個标簽就是事件源
- Conclick 就是一個事件對象
- D圖檔切換使用javascript的change事件
2.
CSS Sprites整理起來更為友善,同一個按鈕不同狀态的圖檔也不需要一個個切割出來并個别命名 錯誤
// 添加行 綁定點選事件
$(".add").click(function(){
// 删除行
$("tbody").on("click","button",function(){
$(this).parents("tr").remove();
//重新排序
function order(){
$("tbody tr").each(function(index){
$(this).children().eq(0).text(index+1);
});
}
<!-- 插入圖檔 -->
<img src="img/xiaobiao_img3.jpg">
clearInterval(timer)
//随着視窗的大小變化重新執行函數
$(window).resize(function() {
//擷取每個li所占據的寬度
var liW=li.outerWidth(true);