<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>等待-放飞梦想 &#187; 列表</title>
	<atom:link href="http://leotheme.cn/tag/%e5%88%97%e8%a1%a8/feed" rel="self" type="application/rss+xml" />
	<link>http://leotheme.cn</link>
	<description>勤现在-乐将来</description>
	<lastBuildDate>Mon, 21 May 2012 09:45:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>用jQuery实现个性有序列表</title>
		<link>http://leotheme.cn/javascript/jquery-to-sequential-list.html</link>
		<comments>http://leotheme.cn/javascript/jquery-to-sequential-list.html#comments</comments>
		<pubDate>Tue, 24 Mar 2009 06:43:54 +0000</pubDate>
		<dc:creator>Await</dc:creator>
				<category><![CDATA[前端交互]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ul]]></category>
		<category><![CDATA[列表]]></category>

		<guid isPermaLink="false">http://leotheme.cn/?p=321</guid>
		<description><![CDATA[本文转载自：http://iinterest.net/blog/2009/02/11/jquery-sequential-list/ 当遇到有序列表的时候我们一般会用到ol+li这样的标签,因为除了符合语义外其默认样式就有序号标识,这样就免去了我们手动添加的麻烦,但由于浏览器兼容性问题(尤其是IE…)使它的实用性大打折扣,所以要实现有序列表更多的时候是用程序来解决。 但通过jQuery我们完全可以在不改变现有结构的情况下打造一个个性化的有序列表. 先来看Demo 实现起来也很简单,看看第一个例子,首先是载入javascript代码 &#60;script type=“text/javascript” src=“js/jquery-1.3.js”&#62;&#60;/script&#62;&#60;script type=“text/javascript”&#62;$(document).ready(function(){&#160;&#160; &#160;&#160; &#160;$(“#step li”).each(function (i) {&#160;&#160; &#160; &#160; &#160;i = i+1;&#160;&#160; &#160; &#160; &#160;$(this).addClass(“item”+i);&#160;&#160; });&#60;/script&#62; 经过jQuery处理后,原来的代码将发生变化,jQuery为每个li增加了一个有序的不同类: 有了类之后就好办了,为每个类定义不同的样式表(我为item1,item2…增加了不同的背景图片): #step .item1 {&#160; background: url(step1.png) no-repeat;}#step .item2 {&#160; background: url(step2.png) no-repeat;}#step .item3 {&#160; background: url(step3.png) no-repeat;} 最后的效果: 当然除了图片也可以增加任意你想要的代码,比如第三个例子就是在li中增加一个 容器 &#60;script type=“text/javascript”&#62;&#160;&#160;&#160; &#160;$(“#commentlist li”).each(function (i) {&#160;&#160; &#160; &#160; &#160;i = i+1;&#160;&#160; [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="jQuery中queue和dequeue的用法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery%25E4%25B8%25ADqueue%25E5%2592%258Cdequeue%25E7%259A%2584%25E7%2594%25A8%25E6%25B3%2595.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery中queue和dequeue的用法</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="jQuery 实现 tab 切换一例" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-tab.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/22/6197250.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery 实现 tab 切换一例</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="jQuery性能优化指南" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-xingnen-youhua.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery性能优化指南</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JQ弹出层插件(tipsWindow 2.8)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-plugins-tipswindow-2-0.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JQ弹出层插件(tipsWindow 2.8)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="jQuery实现背景图渐变切换" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-dragoninteractive-navi.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/22/6197230.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery实现背景图渐变切换</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><strong>本文转载自：</strong><a href="http://iinterest.net/blog/2009/02/11/jquery-sequential-list/">http://iinterest.net/blog/2009/02/11/jquery-sequential-list/</a></p>
<p>当遇到有序列表的时候我们一般会用到ol+li这样的标签,因为除了符合语义外其默认样式就有序号标识,这样就免去了我们手动添加的麻烦,但由于浏览器兼容性问题(尤其是IE…)使它的实用性大打折扣,所以要实现有序列表更多的时候是用程序来解决。<br />
<span id="more-321"></span><br />
但通过jQuery我们完全可以在不改变现有结构的情况下打造一个个性化的有序列表.</p>
<p>先来看<a href="http://iinterest.net/blog/demo/jquery-sequential-list.html">Demo</a></p>
<p>实现起来也很简单,看看第一个例子,首先是载入javascript代码</p>
<div class="hl-surround"><div class="hl-main">&lt;script type=“text/javascript” src=“js/jquery-1.3.js”&gt;&lt;/script&gt;<br />&lt;script type=“text/javascript”&gt;<br />$(document).ready(function(){<br />&nbsp;&nbsp; <br />&nbsp;&nbsp; &nbsp;$(“#step li”).each(function (i) {<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;i = i+1;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;$(this).addClass(“item”+i);<br />&nbsp;&nbsp; });<br />&lt;/script&gt;</div></div>
<p>经过jQuery处理后,原来的代码将发生变化,jQuery为每个li增加了一个有序的不同类:</p>
<p><img src="http://leotheme.cn/wp-content/uploads/2009/03/51737245200902111307463352842657555_002.gif" alt="" title="" width="448" height="118" class="alignnone size-full wp-image-317" /></p>
<p>有了类之后就好办了,为每个类定义不同的样式表(我为item1,item2…增加了不同的背景图片):</p>
<div class="hl-surround"><div class="hl-main"><span style="color: Blue;">#step</span><span style="color: Gray;"> </span><span style="color: Blue;">.item1</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Green;">background:</span><span style="color: Gray;"> url(step1.png) </span><span style="color: Red;">no-repeat</span><span style="color: Green;"></span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span><span style="color: Gray;"><br /></span><span style="color: Blue;">#step</span><span style="color: Gray;"> </span><span style="color: Blue;">.item2</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Green;">background:</span><span style="color: Gray;"> url(step2.png) </span><span style="color: Red;">no-repeat</span><span style="color: Green;"></span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span><span style="color: Gray;"><br /></span><span style="color: Blue;">#step</span><span style="color: Gray;"> </span><span style="color: Blue;">.item3</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Green;">background:</span><span style="color: Gray;"> url(step3.png) </span><span style="color: Red;">no-repeat</span><span style="color: Green;"></span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span></div></div>
<p>最后的效果:</p>
<p><img src="http://leotheme.cn/wp-content/uploads/2009/03/51737245200902111307463352842657555_000.gif" alt="" title="" width="450" height="377" class="alignnone size-full wp-image-318" /></p>
<p>当然除了图片也可以增加任意你想要的代码,比如第三个例子就是在li中增加一个<span class=”commentnumber”> 容器</p>
<div class="hl-surround"><div class="hl-main"><span style="color: Gray;">&lt;</span><span style="color: Blue;">script</span><span style="color: Gray;"> </span><span style="color: Blue;">type</span><span style="color: Gray;">=“</span><span style="color: Blue;">text</span><span style="color: #8b0000;">/</span><span style="color: Red;">javascript”&gt;<br />&nbsp;<br />&nbsp;&nbsp; &nbsp;$(“#commentlist li”).each(function (i) {<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;i = i+1;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;$(this).prepend(‘&lt;span class=”commentnumber”&gt; #’+i+‘&lt;</span><span style="color: #8b0000;">/</span><span style="color: Blue;">span</span><span style="color: Gray;">&gt;’);<br />&nbsp;&nbsp; });<br />&nbsp;<br />});<br />&lt;</span><span style="color: #8b0000;">/</span><span style="color: Red;">script&gt;</span></div></div>
<p> jQuery处理过程:</p>
<p><img src="http://leotheme.cn/wp-content/uploads/2009/03/51737245200902111307463352842657555_003.gif" alt="51737245200902111307463352842657555_003" title="51737245200902111307463352842657555_003" width="465" height="178" class="alignnone size-full wp-image-319" /></p>
<p>样式表:</p>
<div class="hl-surround"><div class="hl-main"><span style="color: Blue;">#commentlist</span><span style="color: Gray;"> </span><span style="color: Blue;">li</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Green;">position:</span><span style="color: Gray;"> </span><span style="color: Red;">relative</span><span style="color: Green;"></span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span><span style="color: Gray;"><br />&nbsp;<br /></span><span style="color: Blue;">#commentlist</span><span style="color: Gray;"> </span><span style="color: Blue;">.commentnumber</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Green;">position:</span><span style="color: Gray;"> </span><span style="color: Red;">absolute</span><span style="color: Green;"></span><span style="color: Gray;">;<br />&nbsp; </span><span style="color: Green;">right:</span><span style="color: Gray;"> </span><span style="color: Maroon;">0</span><span style="color: Green;"></span><span style="color: Gray;">;<br />&nbsp; </span><span style="color: Green;">top:</span><span style="color: Gray;"> </span><span style="color: Maroon;">8</span><span style="color: Red;">px</span><span style="color: Green;"></span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span></div></div>
<p>最终效果:</p>
<p><img src="http://leotheme.cn/wp-content/uploads/2009/03/51737245200902111307463352842657555_001.gif" alt="" title="" width="450" height="403" class="alignnone size-full wp-image-320" /></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="jQuery中queue和dequeue的用法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery%25E4%25B8%25ADqueue%25E5%2592%258Cdequeue%25E7%259A%2584%25E7%2594%25A8%25E6%25B3%2595.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery中queue和dequeue的用法</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="jQuery 实现 tab 切换一例" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-tab.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/22/6197250.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery 实现 tab 切换一例</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="jQuery性能优化指南" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-xingnen-youhua.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery性能优化指南</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JQ弹出层插件(tipsWindow 2.8)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-plugins-tipswindow-2-0.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JQ弹出层插件(tipsWindow 2.8)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="jQuery实现背景图渐变切换" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-dragoninteractive-navi.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-to-sequential-list.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/22/6197230.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery实现背景图渐变切换</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><h3  class="related_post_title">相关文章</h3><ul class="related_post"><li>2011-09-08 -- <a href="http://leotheme.cn/javascript/jquery%e4%b8%adqueue%e5%92%8cdequeue%e7%9a%84%e7%94%a8%e6%b3%95.html" title="jQuery中queue和dequeue的用法">jQuery中queue和dequeue的用法</a> (1)<br /><small>今天在做右下角那个静止的工具栏时遇到了一个问题。鼠标放上去的时候，要让周围的4个按钮按顺序显示出来，移开的时候要按顺序隐藏。左思右想发现用animate的回调函数方式来写比较麻烦。于是百度了下，发现j...</small></li><li>2011-08-17 -- <a href="http://leotheme.cn/wordpress/flight-update.html" title="Flight主题更新">Flight主题更新</a> (19)<br /><small>这几天收到有些童鞋反应主题在wp3.2版本后台不能快速编缉文章，不能上传图片。抽空看了下，是JQ库版本冲突引起，现已更新。请移步到wopus主题站下载更新后的版本。也可以通过115网盘下载。...</small></li><li>2010-11-24 -- <a href="http://leotheme.cn/javascript/jquery-plugins-tipswindow-2-0.html" title="JQ弹出层插件(tipsWindow 3.0)">JQ弹出层插件(tipsWindow 3.0)</a> (166)<br /><small>已更新为2.7...</small></li><li>2010-10-12 -- <a href="http://leotheme.cn/javascript/flight-theme-jquery-ifocus.html" title="分享Flight主题中的焦点图（基于JQ）">分享Flight主题中的焦点图（基于JQ）</a> (22)<br /><small>关于这个焦点图没啥说的了，网上太多了。但自己一直没找到个合适的。现在的这个是Dreamy主题中的升级版，虽然看起来一模一样。其实做了很多扩展，优化了结构和JS部分。可以选择切换方式（左右滚动，上下滚动...</small></li><li>2010-10-12 -- <a href="http://leotheme.cn/javascript/jquery-ajax-load-get-in-chrome.html" title="jquery ajax方法如load,get等 在Chrome下失效的问题">jquery ajax方法如load,get等 在Chrome下失效的问题</a> (4)<br /><small>最近碰到一个问题，发现jquery在chrome 中， ajax的load get等方法完全失效。 代码如下：


function getHtml(url,ctner){
//alert(c...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://leotheme.cn/javascript/jquery-to-sequential-list.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>li 列表隔行变换背景颜色的一些方法</title>
		<link>http://leotheme.cn/javascript/ul-li-background-color.html</link>
		<comments>http://leotheme.cn/javascript/ul-li-background-color.html#comments</comments>
		<pubDate>Sun, 09 Nov 2008 12:39:30 +0000</pubDate>
		<dc:creator>Await</dc:creator>
				<category><![CDATA[前端交互]]></category>
		<category><![CDATA[列表]]></category>
		<category><![CDATA[隔行变色]]></category>

		<guid isPermaLink="false">http://leotheme.cn/?p=151</guid>
		<description><![CDATA[这个应用好像很广了.在wopus的评论中也可以看到这样的一个效果.隔行变换背景色. 以前的做法是偶数行时给li加一个class,方法当然不可取，如果后台读取再加class就很麻烦了.我们来看下怎么用JavaScript来实现. 我们首先定义两个CSS &#60;style type=&#34;text/css&#34;&#62;&#60;!--.li_bg1 { background:#FFF; }.li_bg2 { background:#F0F; }--&#62;&#60;/style&#62;&#60;ul id=&#34;list1&#34;&#62;&#60;li&#62;&#60;a href=&#34;#&#34;&#62;111&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;222&#60;/a&#62;&#60;/li&#62;&#60;li&#62;&#60;a href=&#34;#&#34;&#62;333&#60;/a&#62;&#60;/li&#62;&#60;li&#62;&#60;a href=&#34;#&#34;&#62;444&#60;/a&#62;&#60;/li&#62;&#60;li&#62;&#60;a href=&#34;#&#34;&#62;555&#60;/a&#62;&#60;/li&#62;&#60;li&#62;&#60;a href=&#34;#&#34;&#62;666&#60;/a&#62;&#60;/li&#62;&#60;/ul&#62; 接下来写JS代码: var objName= document.getElementById(&#34;list1&#34;).getElementsByTagName(&#34;li&#34;)for (i=0;i&#60;objName.length;i++) {(i%2==0)?(objName(i).className = &#34;li_bg1&#34;):(objName(i).className = &#34;li_bg2&#34;);} 好了,现在你也可以做隔行变色的效果了,其实还有种更方便的方法就是通过WP自带的JQUERY,看下面的代码: $(document).ready(function(){&#160;&#160; &#160; $(&#34;#list1 li:even&#34;).addClass(&#34;li_bg2&#34;);} 一行代码就行了.是不是更简单更方便! 相关文章2009-03-24 -- 用jQuery实现个性有序列表 (3)本文转载自：http://iinterest.net/blog/2009/02/11/jquery-sequential-list/ 当遇到有序列表的时候我们一般会用到ol+li这样的标签,因为...2008-09-15 -- jquery基础教程二[伸缩、隔行变色...] (3)在上一篇介绍中已经讲了一些基本的应用，今天继续。先看一下面这个例子 Demo_5：收缩展开功能[如无法运行请多刷新几次或保存到本地运行] 可伸缩块 p,d...<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="jQuery实现背景图渐变切换" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-dragoninteractive-navi.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/22/6197230.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery实现背景图渐变切换</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="看着非常舒服的颜色" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fweb20color.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">看着非常舒服的颜色</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS中关于背景图的应用技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fabout-css-background.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/22/6199351.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS中关于背景图的应用技巧</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JavaScript实现WordPress自由颜色主题切换" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fwordpress%2Fjavascriptwordpress.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JavaScript实现WordPress自由颜色主题切换</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="使用lesscss来编码编写css" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fuse-lesscss-edit-css.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/09/24/33763230.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">使用lesscss来编码编写css</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>这个应用好像很广了.在<a href="http://www.wopus.org/">wopus</a>的评论中也可以看到这样的一个效果.隔行变换背景色.<br />
以前的做法是偶数行时给li加一个class,方法当然不可取，如果后台读取再加class就很麻烦了.我们来看下怎么用JavaScript来实现.<br />
我们首先定义两个CSS<br />
<span id="more-151"></span></p>
<div class="hl-surround"><div class="hl-main"><span style="color: Gray;">&lt;</span><span style="color: Blue;">style</span><span style="color: Gray;"> </span><span style="color: Blue;">type</span><span style="color: Gray;">=&quot;</span><span style="color: Blue;">text</span><span style="color: Gray;">/</span><span style="color: Blue;">css</span><span style="color: Gray;">&quot;&gt;<br />&lt;!--<br /></span><span style="color: Blue;">.li</span><span style="color: Gray;">_</span><span style="color: Blue;">bg1</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"> </span><span style="color: Green;">background:</span><span style="color: #00008b;">#FFF</span><span style="color: Green;"></span><span style="color: Gray;">; </span><span style="color: Olive;">}</span><span style="color: Gray;"><br /></span><span style="color: Blue;">.li</span><span style="color: Gray;">_</span><span style="color: Blue;">bg2</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"> </span><span style="color: Green;">background:</span><span style="color: #00008b;">#F0F</span><span style="color: Green;"></span><span style="color: Gray;">; </span><span style="color: Olive;">}</span><span style="color: Gray;"><br />--&gt;<br />&lt;/</span><span style="color: Blue;">style</span><span style="color: Gray;">&gt;<br />&lt;</span><span style="color: Blue;">ul</span><span style="color: Gray;"> </span><span style="color: Blue;">id</span><span style="color: Gray;">=&quot;</span><span style="color: Blue;">list1</span><span style="color: Gray;">&quot;&gt;<br />&lt;</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;&lt;</span><span style="color: Blue;">a</span><span style="color: Gray;"> </span><span style="color: Blue;">href</span><span style="color: Gray;">=&quot;#&quot;&gt;111&lt;/</span><span style="color: Blue;">a</span><span style="color: Gray;">&gt;&lt;/</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt; <br />&lt;</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;&lt;</span><span style="color: Blue;">a</span><span style="color: Gray;"> </span><span style="color: Blue;">href</span><span style="color: Gray;">=&quot;#&quot;&gt;222&lt;/</span><span style="color: Blue;">a</span><span style="color: Gray;">&gt;&lt;/</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;<br />&lt;</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;&lt;</span><span style="color: Blue;">a</span><span style="color: Gray;"> </span><span style="color: Blue;">href</span><span style="color: Gray;">=&quot;#&quot;&gt;333&lt;/</span><span style="color: Blue;">a</span><span style="color: Gray;">&gt;&lt;/</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;<br />&lt;</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;&lt;</span><span style="color: Blue;">a</span><span style="color: Gray;"> </span><span style="color: Blue;">href</span><span style="color: Gray;">=&quot;#&quot;&gt;444&lt;/</span><span style="color: Blue;">a</span><span style="color: Gray;">&gt;&lt;/</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;<br />&lt;</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;&lt;</span><span style="color: Blue;">a</span><span style="color: Gray;"> </span><span style="color: Blue;">href</span><span style="color: Gray;">=&quot;#&quot;&gt;555&lt;/</span><span style="color: Blue;">a</span><span style="color: Gray;">&gt;&lt;/</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;<br />&lt;</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;&lt;</span><span style="color: Blue;">a</span><span style="color: Gray;"> </span><span style="color: Blue;">href</span><span style="color: Gray;">=&quot;#&quot;&gt;666&lt;/</span><span style="color: Blue;">a</span><span style="color: Gray;">&gt;&lt;/</span><span style="color: Blue;">li</span><span style="color: Gray;">&gt;<br />&lt;/</span><span style="color: Blue;">ul</span><span style="color: Gray;">&gt;</span></div></div>
<p>接下来写JS代码:</p>
<div class="hl-surround"><div class="hl-main"><span style="color: Green;">var</span><span style="color: Gray;"> </span><span style="color: Blue;">objName</span><span style="color: Gray;">= </span><span style="color: Teal;">document</span><span style="color: Gray;">.</span><span style="color: Blue;">getElementById</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">list1</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">.</span><span style="color: Blue;">getElementsByTagName</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">li</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;"><br /></span><span style="color: Green;">for</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Blue;">i</span><span style="color: Gray;">=</span><span style="color: Maroon;">0</span><span style="color: Gray;">;</span><span style="color: Blue;">i</span><span style="color: Gray;">&lt;</span><span style="color: Blue;">objName</span><span style="color: Gray;">.</span><span style="color: Blue;">length</span><span style="color: Gray;">;</span><span style="color: Blue;">i</span><span style="color: Gray;">++</span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br /></span><span style="color: Olive;">(</span><span style="color: Blue;">i</span><span style="color: Gray;">%</span><span style="color: Maroon;">2</span><span style="color: Gray;">==</span><span style="color: Maroon;">0</span><span style="color: Olive;">)</span><span style="color: Gray;">?</span><span style="color: Olive;">(</span><span style="color: Blue;">objName</span><span style="color: Olive;">(</span><span style="color: Blue;">i</span><span style="color: Olive;">)</span><span style="color: Gray;">.</span><span style="color: Blue;">className</span><span style="color: Gray;"> = </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">li_bg1</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">:</span><span style="color: Olive;">(</span><span style="color: Blue;">objName</span><span style="color: Olive;">(</span><span style="color: Blue;">i</span><span style="color: Olive;">)</span><span style="color: Gray;">.</span><span style="color: Blue;">className</span><span style="color: Gray;"> = </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">li_bg2</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span></div></div>
<p>好了,现在你也可以做隔行变色的效果了,其实还有种更方便的方法就是通过WP自带的JQUERY,看下面的代码:</p>
<div class="hl-surround"><div class="hl-main"><span style="color: Gray;">$</span><span style="color: Olive;">(</span><span style="color: Teal;">document</span><span style="color: Olive;">)</span><span style="color: Gray;">.</span><span style="color: Blue;">ready</span><span style="color: Olive;">(</span><span style="color: Green;">function</span><span style="color: Olive;">(){</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; $</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#list1 li:even</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">.</span><span style="color: Blue;">addClass</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">li_bg2</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span></div></div>
<p>一行代码就行了.是不是更简单更方便!</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="jQuery实现背景图渐变切换" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fjquery-dragoninteractive-navi.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/22/6197230.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery实现背景图渐变切换</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="看着非常舒服的颜色" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fweb20color.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">看着非常舒服的颜色</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS中关于背景图的应用技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Fabout-css-background.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/22/6199351.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS中关于背景图的应用技巧</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JavaScript实现WordPress自由颜色主题切换" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fwordpress%2Fjavascriptwordpress.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JavaScript实现WordPress自由颜色主题切换</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="联想IdeaPad S9/S10的视频广告《爱，永远在线》" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fleotheme.cn%2Fmusci%2Fideapads9s10adlove.html&from=http%3A%2F%2Fleotheme.cn%2Fjavascript%2Ful-li-background-color.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/01/7173764.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">联想IdeaPad S9/S10的视频广告《爱，永远在线》</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><h3  class="related_post_title">相关文章</h3><ul class="related_post"><li>2009-03-24 -- <a href="http://leotheme.cn/javascript/jquery-to-sequential-list.html" title="用jQuery实现个性有序列表">用jQuery实现个性有序列表</a> (3)<br /><small>本文转载自：http://iinterest.net/blog/2009/02/11/jquery-sequential-list/

当遇到有序列表的时候我们一般会用到ol+li这样的标签,因为...</small></li><li>2008-09-15 -- <a href="http://leotheme.cn/javascript/jqueryforwpgoodtwo.html" title="jquery基础教程二[伸缩、隔行变色...]">jquery基础教程二[伸缩、隔行变色...]</a> (3)<br /><small>在上一篇介绍中已经讲了一些基本的应用，今天继续。先看一下面这个例子
Demo_5：收缩展开功能[如无法运行请多刷新几次或保存到本地运行]

 
 
 
 
可伸缩块 

 
p,d...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://leotheme.cn/javascript/ul-li-background-color.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

