ITeye博客

[JQuery]Link class

yepp · 2006-11-21 09:56 · Web · Markdown

js 代码

  1. <script src="jquery.js"></script>
  2. <script type="text/javascript">
  3. $(document).ready(function(){
  4. $('a.affLink').mouseover(function(){window.status=this.title;return true;})
  5. .mouseout(function(){window.status='Done';return true;});
  6. });
  7. </script>

Find all links with class name affLink and onMouseover change the status of the browser (where link information is shown) to whatever you find in the title of the link ,.......same to onMouseout...

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。