artDialog 簡單幾種用法

2022-02-25 07:32:50 字數 670 閱讀 4839

$('#btn1').click(function());

return false;

});$('#btn2').click(function());//url引數其實就是iframe

return false;

});$('#btn3').click(function());

return false;

});$('#btn4').click(function(), function(), function());//style引數可以填寫多個,用空格隔開。具體有什麼請看**css檔案

return false;

});$('#btn5').click(function(), function(){});//lock引數就是鎖屏,它會中斷使用者操作,用於顯示非常重要的訊息。慎用

return false;

});$('#btn6').click(function(e) else ;

var _this = this;

artdialog(, function());//使用id引數,可以防止點選彈出多個對話方塊

return false;

});$('#btn7').click(function());//x和y座標可以使用關鍵字,當然也可以使用數字

return false;

});

ArtDialog簡單使用示例

像dojo一樣,artdialog也是在網上無意間搜出來的,可惜後來發現它和dojo衝突 最後都是用的dojo的dialog 沒辦法只有忍痛割愛了。今天花了些時間把 上的demo整理了一下,把demo.js裡的 都抽出來加到jsp 中了,這樣更直觀。如下 function a function b ...

Intent的幾種用法

returnit new intent intent.action delete,uninstalluri install apk uri installuri uri.fromparts package null returnit new intent intent.action package ...

php curl的幾種用法

1.php curl的預設呼叫方法,get方式訪問url curl setopt ch,curlopt httpheader,header 設定http頭 curl setopt ch,curlopt url,url curl setopt ch,curlopt useragent,user age...