您所在的位置:小祥子 » 编程 » JavaScript » 正文

基于jQuery适合做图片类网站的特效

时间:2015-07-16 编辑:拎壶充 来源:Cnblogs

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

在线预览    源码下载

实现的代码。

html代码:

<div class="common">
        <ul>
            <li class="listbox mr20">
                <div class="listimg">
                    <a href="/"><img src="http://www.cnblogs.com/liaohuolin/p/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="/">适合做图片类网站的特效</a></div>
                    <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" 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="/" rel="external nofollow" target="_blank">演示</a></div>
                </div>
            </li>
            <li class="listbox mr20">
                <div class="listimg">
                    <a href="/"><img src="http://www.cnblogs.com/liaohuolin/p/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="/">适合做图片类网站的特效</a></div>
                    <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" 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="/" rel="external nofollow" target="_blank">演示</a></div>
                </div>
            </li>
            <li class="listbox mr20">
                <div class="listimg">
                    <a href="/"><img src="http://www.cnblogs.com/liaohuolin/p/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="/">适合做图片类网站的特效</a></div>
                    <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" 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="/" rel="external nofollow" target="_blank">演示</a></div>
                </div>
            </li>
            <li class="listbox mr20">
                <div class="listimg">
                    <a href="/"><img src="http://www.cnblogs.com/liaohuolin/p/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="/">适合做图片类网站的特效</a></div>
                    <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" 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="/" rel="external nofollow" target="_blank">演示</a></div>
                </div>
            </li>
            <li class="listbox mr20">
                <div class="listimg">
                    <a href="/"><img src="http://www.cnblogs.com/liaohuolin/p/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="/">适合做图片类网站的特效</a></div>
                    <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" 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="/" rel="external nofollow" target="_blank">演示</a></div>
                </div>
            </li>
            <li class="listbox mr20">
                <div class="listimg">
                    <a href="/"><img src="http://www.cnblogs.com/liaohuolin/p/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="/">适合做图片类网站的特效</a></div>
                    <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" 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="/" rel="external nofollow" target="_blank">演示</a></div>
                </div>
            </li>
        </ul>

        <div class="clear"></div>

    </div>

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

关键词:图片 网站 特效