原文:http://jquery.com/plugins/project/linkchecker
这个组件能够通过向服务器发送请求及要求回应来检查当前页面上的链接,如果服务器返回200则链接正常,否则不正常。
利用php作为后台。
预览:
使用:
{tab=head} <LINK
href="style.css" type=text/css rel=stylesheet>
<SCRIPT src="jquery.js"></SCRIPT>
<SCRIPT src="jquery.linkchecker.js"></SCRIPT>
<SCRIPT>
$(document).ready( function() {
$.linkChecker({query : 'a.goto', linksAtOnce : 2});
} );
</SCRIPT>
<STYLE>.inactive {
BACKGROUND: #ccffff; COLOR: #33ccff
}
.active {
BACKGROUND: #ffffcc; COLOR: #ffcc66
}
</STYLE>
{tab=body} <P>Just view source of that file to see example usage.
Blue means inactive link,
yellow means active</P>
<UL>
<LI><A class=goto
href="http://www.microsoft.com/en/us/default.aspx">microsoft.com</A>
<LI><A class=goto href="http://37signals.com/">37signals.com</A> (99.9%
online, I think :)
<LI><A class=goto href="http://unexistenthost.fm/">unexistenthost.fm</A> (will
be 100% offline)
<LI><A class=goto href="http://www.hotajax.org/">www.hotajax.org</A>
</LI></UL> {/tabs}
支持:
- View all support requests
- View pending support requests
- View pending bug reports
- View pending feature requests
- Login or register to create an issue
下载:http://www.hotajax.org/download/jquery/linkchecker.zip

| < Prev | Next > |
|---|
- 28/11/2007 22:59 - jQuery Multimedia Portfolio
- 10/11/2007 22:11 - jquery biggerlink
- 07/11/2007 03:30 - Semitransparent rollovers made easy with JQuery
- 03/11/2007 19:13 - Confirm inplace( jQuery)
- 03/11/2007 07:25 - jQuery lightbox plugin
- 09/10/2007 22:39 - magicpuff(jquery plugin)
- 21/09/2007 09:53 - 图片加载延迟(jquery应用)
- 21/09/2007 08:32 - 数字拼图游戏(jquery应用)
- 17/09/2007 22:50 - ThickBox 2.0







