你的位置:首页 > Java教程

[Java教程]基于jQuery适合做图片类网站的特效


分享一款基于jquery适合做图片类网站的特效。这是一款鼠标经过图片滑动弹出标题效果代码。效果图如下:

在线预览    源码下载

实现的代码。

html代码:

<div class="common">    <ul>      <li class="listbox mr20">        <div class="listimg">          <a href="http://www.cnblogs.com//"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a>          <div class="summary">            <div class="summarytxt">              <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p>            </div>          </div>        </div>        <div class="listinfo">          <div class="listtitle"><a href="http://www.cnblogs.com//">适合做图片类网站的特效</a></div>          <div class="listtag"><a href="http://www.cnblogs.com//" rel="tag">图片特效</a><a href="http://www.cnblogs.com//" rel="tag">网页特效</a></div>          <div class="listdate">2015-06-18</div>          <div class="listview">6253</div>          <div class="listcomment">16</div>          <div class="listdemo"><a href="http://www.cnblogs.com//" rel="external nofollow" target="_blank">演示</a></div>        </div>      </li>      <li class="listbox mr20">        <div class="listimg">          <a href="http://www.cnblogs.com//"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a>          <div class="summary">            <div class="summarytxt">              <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p>            </div>          </div>        </div>        <div class="listinfo">          <div class="listtitle"><a href="http://www.cnblogs.com//">适合做图片类网站的特效</a></div>          <div class="listtag"><a href="http://www.cnblogs.com//" rel="tag">图片特效</a><a href="http://www.cnblogs.com//" rel="tag">网页特效</a></div>          <div class="listdate">2015-06-18</div>          <div class="listview">6253</div>          <div class="listcomment">16</div>          <div class="listdemo"><a href="http://www.cnblogs.com//" rel="external nofollow" target="_blank">演示</a></div>        </div>      </li>      <li class="listbox mr20">        <div class="listimg">          <a href="http://www.cnblogs.com//"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a>          <div class="summary">            <div class="summarytxt">              <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p>            </div>          </div>        </div>        <div class="listinfo">          <div class="listtitle"><a href="http://www.cnblogs.com//">适合做图片类网站的特效</a></div>          <div class="listtag"><a href="http://www.cnblogs.com//" rel="tag">图片特效</a><a href="http://www.cnblogs.com//" rel="tag">网页特效</a></div>          <div class="listdate">2015-06-18</div>          <div class="listview">6253</div>          <div class="listcomment">16</div>          <div class="listdemo"><a href="http://www.cnblogs.com//" rel="external nofollow" target="_blank">演示</a></div>        </div>      </li>      <li class="listbox mr20">        <div class="listimg">          <a href="http://www.cnblogs.com//"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a>          <div class="summary">            <div class="summarytxt">              <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p>            </div>          </div>        </div>        <div class="listinfo">          <div class="listtitle"><a href="http://www.cnblogs.com//">适合做图片类网站的特效</a></div>          <div class="listtag"><a href="http://www.cnblogs.com//" rel="tag">图片特效</a><a href="http://www.cnblogs.com//" rel="tag">网页特效</a></div>          <div class="listdate">2015-06-18</div>          <div class="listview">6253</div>          <div class="listcomment">16</div>          <div class="listdemo"><a href="http://www.cnblogs.com//" rel="external nofollow" target="_blank">演示</a></div>        </div>      </li>      <li class="listbox mr20">        <div class="listimg">          <a href="http://www.cnblogs.com//"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a>          <div class="summary">            <div class="summarytxt">              <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p>            </div>          </div>        </div>        <div class="listinfo">          <div class="listtitle"><a href="http://www.cnblogs.com//">适合做图片类网站的特效</a></div>          <div class="listtag"><a href="http://www.cnblogs.com//" rel="tag">图片特效</a><a href="http://www.cnblogs.com//" rel="tag">网页特效</a></div>          <div class="listdate">2015-06-18</div>          <div class="listview">6253</div>          <div class="listcomment">16</div>          <div class="listdemo"><a href="http://www.cnblogs.com//" rel="external nofollow" target="_blank">演示</a></div>        </div>      </li>      <li class="listbox mr20">        <div class="listimg">          <a href="http://www.cnblogs.com//"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a>          <div class="summary">            <div class="summarytxt">              <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p>            </div>          </div>        </div>        <div class="listinfo">          <div class="listtitle"><a href="http://www.cnblogs.com//">适合做图片类网站的特效</a></div>          <div class="listtag"><a href="http://www.cnblogs.com//" rel="tag">图片特效</a><a href="http://www.cnblogs.com//" rel="tag">网页特效</a></div>          <div class="listdate">2015-06-18</div>          <div class="listview">6253</div>          <div class="listcomment">16</div>          <div class="listdemo"><a href="http://www.cnblogs.com//" rel="external nofollow" target="_blank">演示</a></div>        </div>      </li>    </ul>    <div class="clear"></div>  </div>

via:http://www.w2bc.com/Article/46692