jQueryでnotの複数指定
- 投稿日 : 2007-07-26, 03:11()
- タグ(jQuery)
- カテゴリ(Javascript)
- 記し人(luvsic)
- 閲覧数(1018)
- ver1.0 / 比較
忘れないうちに。
ううーん、こんなのでいいのだろうか
/*** another location use _target ***/
$(document).ready( function () {
$('a[@href^="http"]').not('[@href^="http://luvsic.net/"]').not('[@href^="http://imgred.com/"]').click(function(){
window.open(this.href, '');
return false;
});
});
$(document).ready( function () {
$('a[@href^="http"]').not('[@href^="http://luvsic.net/"]').not('[@href^="http://imgred.com/"]').click(function(){
window.open(this.href, '');
return false;
});
});
No comments yet