<?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>Hacklog &#187; 前端开发</title>
	<atom:link href="http://ihacklog.com/cat/xml_html_css_js_ajax/feed" rel="self" type="application/rss+xml" />
	<link>http://ihacklog.com</link>
	<description>荒野无灯weblog</description>
	<lastBuildDate>Sat, 04 Feb 2012 12:30:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Google Web fonts 试用</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/google-webfonts.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/google-webfonts.html#comments</comments>
		<pubDate>Mon, 19 Dec 2011 11:01:33 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5191</guid>
		<description><![CDATA[去这里选择字体：　https://www.google.com/webfonts#ChoosePlace:select 然后引用： link 引用： 1&#60;link href='http://fonts.googleapis.com/css?family=Bad+Script' rel='stylesheet' type='text/css'&#62; 或通过js引用： 12345678910111213&#60;script type=&#34;text/javascript&#34;&#62; ...]]></description>
			<content:encoded><![CDATA[<p>去这里选择字体：　<a href="https://www.google.com/webfonts#ChoosePlace:select" target="_blank">https://www.google.com/webfonts#ChoosePlace:select</a></p>
<p>然后引用：<br />
link 引用：</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'http://fonts.googleapis.com/css?family=Bad+Script'</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'stylesheet'</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/css'</span>&gt;</span></div></td></tr></tbody></table></div>
<p>或通过js引用：</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span><br />
&nbsp; WebFontConfig <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; google<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span> families<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span> <span style="color: #3366CC;">'Bad+Script::latin'</span> <span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#125;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> wf <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; wf.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'https:'</span> <span style="color: #339933;">==</span> document.<span style="color: #660066;">location</span>.<span style="color: #660066;">protocol</span> <span style="color: #339933;">?</span> <span style="color: #3366CC;">'https'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'http'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #3366CC;">'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; wf.<span style="color: #660066;">type</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'text/javascript'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; wf.<span style="color: #660066;">async</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'true'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> s <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; s.<span style="color: #660066;">parentNode</span>.<span style="color: #660066;">insertBefore</span><span style="color: #009900;">&#40;</span>wf<span style="color: #339933;">,</span> s<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>
<p>再按自己需求修改：</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">h1<span style="color: #cc00cc;">#blog-name</span> a <span style="color: #00AA00;">&#123;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Nosifer Caps'</span> !important<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #cc00cc;">#content</span> h2<span style="color: #6666ff;">.post-title</span> a <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Nova Square'</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">'Microsoft YaHei'</span> !important<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #cc00cc;">#comments</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Spinnaker'</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">'Microsoft YaHei'</span> !important<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #cc00cc;">#sidebar</span> <span style="color: #cc00cc;">#recentcomments</span> li <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Marmelad'</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">'Microsoft YaHei'</span> !important<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
body <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Electrolize<span style="color: #00AA00;">,</span> <span style="color: #ff0000;">'Microsoft YaHei'</span> !important<span style="color: #00AA00;">;</span>&nbsp; <span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>图省事，css代码直接加在Hacklog DownloadManager的自定义CSS后面了~~</p>
<p><a href="http://static.ihacklog.com/wp-files/2011/12/ihacklog_com-google-webfonts.png" class="tinybox2"  onclick="TINY.box.show({image:this.href,boxid:'frameless',animate:true,fixed:false});return false;"  title="Click to enlarge（点击查看大图）" ><img src="http://static.ihacklog.com/wp-files/2011/12/ihacklog_com-google-webfonts-550x284.png" alt="" title="ihacklog_com-google-webfonts" width="550" height="284" class="alignnone size-medium wp-image-5193" /> </a></p>
<p><a href="http://static.ihacklog.com/wp-files/2011/12/ihacklog_com-google-webfonts-comments.png" class="tinybox2"  onclick="TINY.box.show({image:this.href,boxid:'frameless',animate:true,fixed:false});return false;"  title="Click to enlarge（点击查看大图）" ><img src="http://static.ihacklog.com/wp-files/2011/12/ihacklog_com-google-webfonts-comments-536x400.png" alt="" title="ihacklog_com-google-webfonts-comments" width="536" height="400" class="alignnone size-medium wp-image-5192" /> </a></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5191";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5191" title="Permanent Link to Google Web fonts 试用" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5191</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2008年11月27日  //  <a href="http://ihacklog.com/php/wordpress/50-wordpress-theme.html" title="50个精美WordPress免费风格下载 ">50个精美WordPress免费风格下载 </a> (0)</li><li>2011年08月20日  //  <a href="http://ihacklog.com/php/habari/hb-quicktags.html" title="原创插件：HB quicktags">原创插件：HB quicktags</a> (4)</li><li>2009年09月28日  //  <a href="http://ihacklog.com/php/wordpress/wpskills/replace-wordpress-default-search-with-google-custom-search.html" title="用google搜索替换wordpress的默认搜索">用google搜索替换wordpress的默认搜索</a> (7)</li><li>2009年05月24日  //  <a href="http://ihacklog.com/linux/ubuntu-desktop/linuxxiageshihuacipanmingling.html" title="Linux下格式化磁盘命令">Linux下格式化磁盘命令</a> (0)</li><li>2011年08月20日  //  <a href="http://ihacklog.com/memory/hacklog/migrating-from-wordpress-to-habari.html" title="从WordPress迁移到Habari的方法">从WordPress迁移到Habari的方法</a> (4)</li><li>2009年11月29日  //  <a href="http://ihacklog.com/software/cool_software_share/minimalist-audio-player.html" title="世界上体积最小的音乐播放器">世界上体积最小的音乐播放器</a> (7)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/google-webfonts.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>试一下yahoo webplayer</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/yahoo-webplayer-trial.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/yahoo-webplayer-trial.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 05:03:33 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[yahoo webplayer]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=4957</guid>
		<description><![CDATA[从七小罗汉那里看到的，试玩了下，还不错，现在还是beta,期待中。 http://webplayer.yahoo.com/get/ 放一首好听的歌： I Could Be the One (Donna Lewis) 电影： X-Men: First Class (2011) I Could Be the One (Donna Lewis)个人觉得比较好听。传送门：虾米&#8212;> X-Men这电影也不错，要下载高清的果断去yyets搜索吧。 喜欢这篇文章吗?请订阅本站 RSS feed 或 作者：荒野...]]></description>
			<content:encoded><![CDATA[<p>从<a href="http://ihacklog.com/l.php?url=lllllll.me" target="_blank">七小罗汉</a>那里看到的，试玩了下，还不错，现在还是beta,期待中。</p>
<p><script type="text/javascript" src="http://webplayer.yahooapis.com/player-beta.js"></script> </p>
<p><a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwebplayer.yahoo.com%2Fget%2F" target="_blank">http://webplayer.yahoo.com/get/</a></p>
<p>放一首好听的歌：</p>
<p><a href="http://www.ztyrope.com/a.mp3">I Could Be the One (Donna Lewis)</a></p>
<p>电影：<br />
<a href="http://movies.yahoo.com/movie/1810159061/info">X-Men: First Class (2011)</a></p>
<p>I Could Be the One (Donna Lewis)个人觉得比较好听。传送门：虾米&#8212;><br />
<embed src="http://www.xiami.com/widget/0_2128868/singlePlayer.swf" type="application/x-shockwave-flash" width="257" height="33" wmode="transparent"></embed></p>
<p>X-Men这电影也不错，要下载高清的果断去yyets搜索吧。</p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=4957";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=4957" title="Permanent Link to 试一下yahoo webplayer" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=4957</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2010年03月12日  //  <a href="http://ihacklog.com/software/powerfulvim/vim-quickkey.html" title=" Vim 键盘图中文版"> Vim 键盘图中文版</a> (3)</li><li>2008年12月25日  //  <a href="http://ihacklog.com/php/phpini-%e4%b8%ad%e6%96%87%e7%89%88php-52%e8%bd%ac.html" title="php.ini 中文版(php-5.2)[转]">php.ini 中文版(php-5.2)[转]</a> (0)</li><li>2008年12月24日  //  <a href="http://ihacklog.com/php/%e5%86%8d%e8%b0%88%e5%9b%bd%e5%86%85%e7%a8%8b%e5%ba%8f%e5%91%98%e5%81%9a%e4%b8%8d%e5%88%b0%e4%b8%89%e5%8d%81%e4%ba%94%e5%b2%81.html" title=" 再谈国内程序员做不到三十五岁"> 再谈国内程序员做不到三十五岁</a> (0)</li><li>2011年12月18日  //  <a href="http://ihacklog.com/programming/math/an-intuitive-guide-to-exponential-functions-e.html" title="数学常数E的含义[转]">数学常数E的含义[转]</a> (4)</li><li>2011年12月13日  //  <a href="http://ihacklog.com/php/wordpress/plugins/make-codecolorer-be-compatible-with-wp-3-3.html" title="修正codecolorer与WP 3.3兼容性">修正codecolorer与WP 3.3兼容性</a> (5)</li><li>2010年07月15日  //  <a href="http://ihacklog.com/linux/ubuntu-desktop/how-to-list-directories-in-a-directory-in-linux.html" title="在Linux下列出指定目录下面的目录的方法">在Linux下列出指定目录下面的目录的方法</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/yahoo-webplayer-trial.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://www.ztyrope.com/a.mp3" length="4206518" type="audio/mpeg" />
		</item>
		<item>
		<title>定义code的CSS样式代码更有型</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/style-your-code.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/style-your-code.html#comments</comments>
		<pubDate>Sun, 31 Jul 2011 09:07:03 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[highlight]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=4689</guid>
		<description><![CDATA[下面这个风格个人比较喜欢： /*CSS by 荒野无灯　http://ihacklog.com/?p=4689 */ div.single code,div.single pre.gray { font-family: "Deja Vu Sans Mono",Consolas,Monaco,"Courier New",Courier,monospace; color:#000; font-size: 14px; font-weight: inherit; padding: 11px; 　　margin: ...]]></description>
			<content:encoded><![CDATA[<p>下面这个风格个人比较喜欢：</p>
<pre class="gray">
 /*CSS by 荒野无灯　http://ihacklog.com/?p=4689 */
div.single code,div.single pre.gray {
    font-family: "Deja Vu Sans Mono",Consolas,Monaco,"Courier New",Courier,monospace;
    color:#000;
    font-size: 14px;
    font-weight: inherit;
    padding: 11px;
　　margin: 0 0 20px;
    margin-bottom: 22px;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: none repeat scroll 0 0 #F5F5F5;
    border: 1px solid #DADADA;
    overflow-x: auto;
}
</pre>
<p>使用方法：</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/pre.html"><span style="color: #000000; font-weight: bold;">pre</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gray&quot;</span>&gt;</span><br />
PUT YOUR CODE HERE ......<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/pre.html"><span style="color: #000000; font-weight: bold;">pre</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>下面这个漂亮的代码风格来自：<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwww.smoothdivscroll.com%2F" target="_blank">http://www.smoothdivscroll.com/</a></p>
<pre class='smooth'>
div.single pre.smooth {
    background: url("images/pre_code_bg.gif") repeat-y scroll left top transparent;
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
	font-family: "Deja Vu Sans Mono",Consolas,Monaco,"Courier New",Courier,monospace;
    font-size: 13px;
    line-height: 20px;
    margin: 0 0 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
	display: block;
    padding: 18px 5px 18px 28px;
    text-align: left;
	/*防止溢出*/
    width: 580px;
    text-align: left;
}
</pre>
<p>使用方法：</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/pre.html"><span style="color: #000000; font-weight: bold;">pre</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;smooth&quot;</span>&gt;</span><br />
PUT YOUR CODE HERE ......<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/pre.html"><span style="color: #000000; font-weight: bold;">pre</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>注意加上你自己模板的CLASS标签或ID标签，以免对不必要的标签也生效。</p>
<p>如我的是.single</p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=4689";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=4689" title="Permanent Link to 定义code的CSS样式代码更有型" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=4689</a>
            </p>
             </div><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2011年07月13日  //  <a href="http://ihacklog.com/software/development-tool/aptana.html" title="Aptana">Aptana</a> (2)</li><li>2011年06月12日  //  <a href="http://ihacklog.com/xml_html_css_js_ajax/most-used-css-tricks.html" title="Most used CSS tricks">Most used CSS tricks</a> (0)</li><li>2011年04月28日  //  <a href="http://ihacklog.com/php/drupal/drupal-code-highlight-module-geshifilter-usage.html" title="drupal代码高亮模块geshifilter的安装和使用">drupal代码高亮模块geshifilter的安装和使用</a> (1)</li><li>2010年04月17日  //  <a href="http://ihacklog.com/php/wordpress/wpskills/use-gzip-to-compressed-your-web-content.html" title="用gzip压缩js和css,加速页面装载">用gzip压缩js和css,加速页面装载</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/style-your-code.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>最常用的10条CSS hacks</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/10-best-css-hacks.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/10-best-css-hacks.html#comments</comments>
		<pubDate>Sat, 11 Jun 2011 19:34:04 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[CSS hacks]]></category>

		<guid isPermaLink="false">http://ihacklog.com/xml_html_css_js_ajax/10-best-css-hacks.html</guid>
		<description><![CDATA[1,垂直居中 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748&#60;div id=&#34;shim&#34;/&#62;&#60;/div&#62; &#60;div id=&#34;wrapper&#34;&#62; Content &#60;/div&#62; &#160; html, body { height: 100%; margin: 0; padding: 0;...]]></description>
			<content:encoded><![CDATA[<p>1,垂直居中</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;shim&quot;</span><span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wrapper&quot;</span>&gt;</span><br />
Content<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp;<br />
html, body {<br />
height: 100%;<br />
margin: 0;<br />
padding: 0;<br />
}<br />
&nbsp;<br />
* {<br />
margin:0px auto;<br />
padding:0;<br />
}<br />
&nbsp;<br />
div#shim {<br />
visibility: hidden;<br />
width: 100%;<br />
height: 50%;<br />
margin-top: -200px;<br />
float: left;<br />
}<br />
&nbsp;<br />
div#wrapper {<br />
width: 1000px;<br />
height: 400px;<br />
clear: both;<br />
background:red;<br />
position: relative;<br />
top: -200px;<br />
/* IE4ever Hack: Hide from IE4 **/<br />
position: static;<br />
/** end hack */<br />
&nbsp;<br />
}<br />
&nbsp;<br />
/* Hide from IE5mac \*//*/<br />
div#shim {<br />
display: none;<br />
}<br />
&nbsp;<br />
html, body {<br />
height: auto;<br />
}<br />
/* end hack */<br />
&nbsp;<br />
/* ]]&gt; */</div></td></tr></tbody></table></div>
<p>see: http://stylizedweb.com/2008/02/01/vertical-align-div/</p>
<p>2.指定最小高度</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">selector <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">500px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> !important<br />
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">500px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>3.PNG透明问题<br />
ie6/7:<br />
用<a href="http://homepage.ntlworld.com/bobosola/pngfix.js">pngfix</a></p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7.]&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;script type=&quot;text/javascript&quot; src=&quot;pngfix.js&quot;&gt;&lt;/script&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></div></td></tr></tbody></table></div>
<p>还有一种就是纯CSS解决方案,因为当你的背景图片是在css文件中定义时，pngfix是无<br />
能为力了。</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.someelement</span> <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/image.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #00AA00;">*</span> html <span style="color: #6666ff;">.someelemen</span> <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span><br />
back\ground-<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/blank.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
filter<span style="color: #00AA00;">:</span> progid<span style="color: #3333ff;">:DXImageTransform</span>.Microsoft.<br />
AlphaImageLoader<span style="color: #00AA00;">&#40;</span>src<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;images/image.png&quot;</span><span style="color: #00AA00;">,</span> sizingMethod<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;scale&quot;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>see http://stylizedweb.com/2007/12/30/png-transparency-issues/</p>
<p>4.Autoclear自动清除浮动</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.container</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">visibility</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.container</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline-table</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #808080; font-style: italic;">/* Hides from IE-mac \*/</span><br />
<span style="color: #00AA00;">*</span> html <span style="color: #6666ff;">.container</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1%</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.container</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #808080; font-style: italic;">/* End hide from IE-mac */</span></div></td></tr></tbody></table></div>
<p>5. Reset CSS</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">html<span style="color: #00AA00;">,</span> body<span style="color: #00AA00;">,</span> div<span style="color: #00AA00;">,</span> span<span style="color: #00AA00;">,</span> applet<span style="color: #00AA00;">,</span> object<span style="color: #00AA00;">,</span> iframe<span style="color: #00AA00;">,</span> h1<span style="color: #00AA00;">,</span> h2<span style="color: #00AA00;">,</span> h3<span style="color: #00AA00;">,</span> h4<span style="color: #00AA00;">,</span> h5<span style="color: #00AA00;">,</span> h6<span style="color: #00AA00;">,</span> p<span style="color: #00AA00;">,</span> blockquote<span style="color: #00AA00;">,</span> pre<span style="color: #00AA00;">,</span> a<span style="color: #00AA00;">,</span> abbr<span style="color: #00AA00;">,</span> acronym<span style="color: #00AA00;">,</span> address<span style="color: #00AA00;">,</span> big<span style="color: #00AA00;">,</span> cite<span style="color: #00AA00;">,</span> code<span style="color: #00AA00;">,</span> del<span style="color: #00AA00;">,</span> dfn<span style="color: #00AA00;">,</span> em<span style="color: #00AA00;">,</span> <span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">,</span> img<span style="color: #00AA00;">,</span> ins<span style="color: #00AA00;">,</span> kbd<span style="color: #00AA00;">,</span> q<span style="color: #00AA00;">,</span> s<span style="color: #00AA00;">,</span> samp<span style="color: #00AA00;">,</span> small<span style="color: #00AA00;">,</span> strike<span style="color: #00AA00;">,</span> strong<span style="color: #00AA00;">,</span> sub<span style="color: #00AA00;">,</span> sup<span style="color: #00AA00;">,</span> tt<span style="color: #00AA00;">,</span> var<span style="color: #00AA00;">,</span> dl<span style="color: #00AA00;">,</span> dt<span style="color: #00AA00;">,</span> dd<span style="color: #00AA00;">,</span> ol<span style="color: #00AA00;">,</span> ul<span style="color: #00AA00;">,</span> li<span style="color: #00AA00;">,</span> fieldset<span style="color: #00AA00;">,</span> form<span style="color: #00AA00;">,</span> label<span style="color: #00AA00;">,</span> legend<span style="color: #00AA00;">,</span> table<span style="color: #00AA00;">,</span> caption<span style="color: #00AA00;">,</span> tbody<span style="color: #00AA00;">,</span> tfoot<span style="color: #00AA00;">,</span> thead<span style="color: #00AA00;">,</span> tr<span style="color: #00AA00;">,</span> th<span style="color: #00AA00;">,</span> td <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">0pt</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inherit</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inherit</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inherit</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">0pt</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">outline-color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">invert</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">outline-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">outline-width</span><span style="color: #00AA00;">:</span><span style="color: #933;">0pt</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">0pt</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">vertical-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">baseline</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
table <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">border-collapse</span><span style="color: #00AA00;">:</span><span style="color: #993333;">separate</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">border-spacing</span><span style="color: #00AA00;">:</span><span style="color: #933;">0pt</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
caption<span style="color: #00AA00;">,</span> th<span style="color: #00AA00;">,</span> td <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
blockquote<span style="color: #3333ff;">:before</span><span style="color: #00AA00;">,</span> blockquote<span style="color: #3333ff;">:after</span><span style="color: #00AA00;">,</span> q<span style="color: #3333ff;">:before</span><span style="color: #00AA00;">,</span> q<span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
blockquote<span style="color: #00AA00;">,</span> q <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">quotes</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
strong <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
em <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">italic</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">0pt</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">0pt</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>6.Scrolling Render IE</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">html <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span> <span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span>null<span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">fixed</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>7.透明层</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #cc00cc;">#transdiv</span> <span style="color: #00AA00;">&#123;</span><br />
filter<span style="color: #00AA00;">:</span>alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">75</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
-moz-opacity<span style="color: #00AA00;">:</span>.75<span style="color: #00AA00;">;</span><br />
opacity<span style="color: #00AA00;">:</span>.75<span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>8.pre 标签</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">pre <span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* css-3 */</span><br />
<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -moz-pre-wrap !important<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Mozilla, since 1999 */</span><br />
<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Opera 4-6 */</span><br />
<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -o-pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Opera 7 */</span><br />
word-wrap<span style="color: #00AA00;">:</span> break-word<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Internet Explorer 5.5+ */</span><br />
<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>9.Li Background Repeat IE</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;style&gt;</span><br />
<span style="color: #808080; font-style: italic;">#leftnav li { zoom: 1;} /* haslayout=true */</span><br />
<span style="color: #808080; font-style: italic;">&lt;/style&gt;</span><br />
 <br />
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></div></td></tr></tbody></table></div>
<p>10.一些应该知道的东东</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #a1a100;">@charset &quot;UTF-8&quot;;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* ----------------------------------------------------------------------<br />
&nbsp; &nbsp; WinIE7<br />
---------------------------------------------------------------------- */</span><br />
<span style="color: #00AA00;">*</span><span style="color: #3333ff;">:first-child</span><span style="color: #00AA00;">+</span>html selector<span style="color: #00AA00;">&#123;</span>property<span style="color: #00AA00;">:</span>value<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* ----------------------------------------------------------------------<br />
&nbsp; &nbsp; WinIE6 &amp; Mac IE<br />
---------------------------------------------------------------------- */</span><br />
<span style="color: #00AA00;">*</span> html selector<span style="color: #00AA00;">&#123;</span>property<span style="color: #00AA00;">:</span>value<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* ----------------------------------------------------------------------<br />
&nbsp; &nbsp; WinIE6<br />
---------------------------------------------------------------------- */</span><br />
<span style="color: #808080; font-style: italic;">/*\*/</span><br />
<span style="color: #00AA00;">*</span> html selector<span style="color: #00AA00;">&#123;</span>property<span style="color: #00AA00;">:</span>value<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #808080; font-style: italic;">/**/</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* ----------------------------------------------------------------------<br />
&nbsp; &nbsp; MacIE<br />
---------------------------------------------------------------------- */</span><br />
<span style="color: #808080; font-style: italic;">/*\*/</span><span style="color: #808080; font-style: italic;">/*/<br />
selector{property:value;}<br />
/**/</span></div></td></tr></tbody></table></div>
<p>本文译自：<br />
 <a href="http://stylizedweb.com/2008/02/14/10-best-css-hacks/">10 best CSS hacks  | StylizedWeb.com</a></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=4568";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=4568" title="Permanent Link to 最常用的10条CSS hacks" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=4568</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2008年02月21日  //  <a href="http://ihacklog.com/php/skills/%e7%94%a8php%e5%ae%9a%e5%88%b6404%e9%94%99%e8%af%af%e9%a1%b5%e9%9d%a2%ef%bc%8c%e5%b9%b6%e5%8f%91%e4%bf%a1%e7%bb%99%e7%ae%a1%e7%90%86%e5%91%98%e7%9a%84%e7%a8%8b%e5%ba%8f.html" title="用php定制404错误页面，并发信给管理员的程序">用php定制404错误页面，并发信给管理员的程序</a> (0)</li><li>2010年07月9日  //  <a href="http://ihacklog.com/software/cool_software_share/flashget-for-linux.html" title="快车Flashget for linux 1.0.3 测试版">快车Flashget for linux 1.0.3 测试版</a> (1)</li><li>2011年07月13日  //  <a href="http://ihacklog.com/php/wordpress/upgrade/upgrade-to-wordpress-3-2-1.html" title="升级到WordPress 3.2.1 ">升级到WordPress 3.2.1 </a> (13)</li><li>2008年12月31日  //  <a href="http://ihacklog.com/software/tips/%e3%80%90%e8%bd%ac%e3%80%91%e8%8f%9c%e9%b8%9f%e4%b9%9f%e8%83%bd%e8%bd%bb%e6%9d%be%e5%9c%a8windows%e4%b8%8b%e5%88%b7bios.html" title="【转】菜鸟也能轻松在windows下刷BIOS">【转】菜鸟也能轻松在windows下刷BIOS</a> (0)</li><li>2010年03月23日  //  <a href="http://ihacklog.com/memory/hacklog/google-hk.html" title="从今天起，我用google hk了">从今天起，我用google hk了</a> (19)</li><li>2008年12月25日  //  <a href="http://ihacklog.com/server/%e9%98%b2%e6%ad%a2%e7%9b%97%e9%93%be%e5%9b%be%e7%89%87%ef%bc%88%e8%af%91%ef%bc%89.html" title="防止盗链图片（译）">防止盗链图片（译）</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/10-best-css-hacks.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Most used CSS tricks</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/most-used-css-tricks.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/most-used-css-tricks.html#comments</comments>
		<pubDate>Sat, 11 Jun 2011 19:09:12 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://ihacklog.com/xml_html_css_js_ajax/most-used-css-tricks.html</guid>
		<description><![CDATA[1.无图片实现圆角 12345678910111213141516&#60;div id=&#34;container&#34;&#62; &#60;b class=&#34;rtop&#34;&#62; &#60;b class=&#34;r1&#34;&#62;&#60;/b&#62; &#60;b class=&#34;r2&#34;&#62;&#60;/b&#62; &#60;b class=&#34;r3&#34;&#62;&#60;/b&#62; &#60;b class=&#34;r4&#3...]]></description>
			<content:encoded><![CDATA[<p>1.无图片实现圆角</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rtop&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;r1&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;r2&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;r3&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;r4&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;!--content goes here --&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rbottom&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;r4&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;r3&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;r2&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;r1&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp;<br />
.rtop, .rbottom{display:block}<br />
.rtop *, .rbottom *{display: block; height: 1px; overflow: hidden}<br />
.r1{margin: 0 5px}<br />
.r2{margin: 0 3px}<br />
.r3{margin: 0 2px}<br />
.r4{margin: 0 1px; height: 2px}</div></td></tr></tbody></table></div>
<p>2.给列表加上样式</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ol.html"><span style="color: #000000; font-weight: bold;">ol</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp;<br />
This is line one<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp;<br />
Here is line two<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp;<br />
And last line<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ol.html"><span style="color: #000000; font-weight: bold;">ol</span></a>&gt;</span><br />
&nbsp;<br />
ol {<br />
font: italic 1em Georgia, Times, serif;<br />
color: #999999;<br />
}<br />
&nbsp;<br />
ol p {<br />
font: normal .8em Arial, Helvetica, sans-serif;<br />
color: #000000;<br />
}</div></td></tr></tbody></table></div>
<p>3.无表格版form</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;</span>Name<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;address&quot;</span>&gt;</span>Address<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;address&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;address&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;city&quot;</span>&gt;</span>City<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;city&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;city&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a>&gt;</span><br />
&nbsp;<br />
label,input {<br />
display: block;<br />
width: 150px;<br />
float: left;<br />
margin-bottom: 10px;<br />
}<br />
&nbsp;<br />
label {<br />
text-align: right;<br />
width: 75px;<br />
padding-right: 20px;<br />
}<br />
&nbsp;<br />
br {<br />
clear: left;<br />
}</div></td></tr></tbody></table></div>
<p>4.Double blockquote</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">blockquote:first-letter {<br />
background: url(images/open-quote.gif) no-repeat left top;<br />
padding-left: 18px;<br />
font: italic 1.4em Georgia, &quot;Times New Roman&quot;, Times, serif;<br />
}</div></td></tr></tbody></table></div>
<p>5.渐变文字效果</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h1.html"><span style="color: #000000; font-weight: bold;">h1</span></a>&gt;&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>CSS Gradient Text<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h1.html"><span style="color: #000000; font-weight: bold;">h1</span></a>&gt;</span><br />
&nbsp;<br />
h1 {<br />
font: bold 330%/100% &quot;Lucida Grande&quot;;<br />
position: relative;<br />
color: #464646;<br />
}<br />
h1 span {<br />
background: url(gradient.png) repeat-x;<br />
position: absolute;<br />
display: block;<br />
width: 100%;<br />
height: 31px;<br />
}<br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;style&gt;</span><br />
<span style="color: #808080; font-style: italic;">h1 span {</span><br />
<span style="color: #808080; font-style: italic;">background: none;</span><br />
<span style="color: #808080; font-style: italic;">filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='gradient.png', sizingMethod='scale');</span><br />
<span style="color: #808080; font-style: italic;">}</span><br />
<span style="color: #808080; font-style: italic;">&lt;/style&gt;</span><br />
 <br />
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></div></td></tr></tbody></table></div>
<p>6.带line-height的竖直居中</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">div{<br />
height:100px;<br />
}<br />
div *{<br />
margin:0;<br />
}<br />
div p{<br />
line-height:100px;<br />
}<br />
&nbsp;<br />
Content here</div></td></tr></tbody></table></div>
<p>7.背景图片实现圆角</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;roundcont&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;roundtop&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tl.gif&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;15&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;15&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;corner&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display: none&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp;<br />
CONTENT<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;roundbottom&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bl.gif&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;15&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;15&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;corner&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display: none&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp;<br />
.roundcont {<br />
width: 250px;<br />
background-color: #f90;<br />
color: #fff;<br />
}<br />
&nbsp;<br />
.roundcont p {<br />
margin: 0 10px;<br />
}<br />
&nbsp;<br />
.roundtop {<br />
background: url(tr.gif) no-repeat top right;<br />
}<br />
&nbsp;<br />
.roundbottom {<br />
background: url(br.gif) no-repeat top right;<br />
}<br />
&nbsp;<br />
img.corner {<br />
width: 15px;<br />
height: 15px;<br />
border: none;<br />
display: block !important;<br />
}</div></td></tr></tbody></table></div>
<p>8.多个class属性值</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;image.gif&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;class1 class2&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp;<br />
.class1 { border:2px solid #666; }<br />
.class2 {<br />
padding:2px;<br />
background:#ff0;<br />
}</div></td></tr></tbody></table></div>
<p>9.水平居中</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp;<br />
#container {<br />
margin:0px auto;<br />
}</div></td></tr></tbody></table></div>
<p>10.首字下沉</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;introduction&quot;</span>&gt;</span> This paragraph has the class &quot;introduction&quot;. If your browser supports the pseudo-class &quot;first-letter&quot;, the first letter will be a drop-cap. <br />
&nbsp;<br />
p.introduction:first-letter {<br />
font-size : 300%;<br />
font-weight : bold;<br />
float : left;<br />
width : 1em;<br />
}</div></td></tr></tbody></table></div>
<p>11.禁止超链接换行及隐藏超过区域大小的内容</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">a{<br />
white-space:nowrap;<br />
}<br />
&nbsp;<br />
#main{<br />
overflow:hidden;<br />
}</div></td></tr></tbody></table></div>
<p>12.显示firefox滚动条，移除IE中文本域的滚动条</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">html{<br />
overflow:-moz-scrollbars-vertical;<br />
}<br />
&nbsp;<br />
textarea{<br />
overflow:auto;<br />
}</div></td></tr></tbody></table></div>
<p>译自：<br />
<a href="http://stylizedweb.com/2008/03/12/most-used-css-tricks/">Most used CSS tricks  | StylizedWeb.com</a></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=4567";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=4567" title="Permanent Link to Most used CSS tricks" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=4567</a>
            </p>
             </div><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2011年08月2日  //  <a href="http://ihacklog.com/php/skills/30-php-best-practices-for-beginners.html" title="给初学者的30条PHP最佳实践">给初学者的30条PHP最佳实践</a> (7)</li><li>2011年08月2日  //  <a href="http://ihacklog.com/php/skills/10-advanced-php-tips-revisited.html" title="10条PHP高级技巧[修正版]">10条PHP高级技巧[修正版]</a> (5)</li><li>2011年08月1日  //  <a href="http://ihacklog.com/php/skills/smart-file-type-detection-using-php.html" title="利用PHP实现智能文件类型检测">利用PHP实现智能文件类型检测</a> (3)</li><li>2011年08月1日  //  <a href="http://ihacklog.com/php/wordpress/plugins/8-plugins-to-improve-the-wordpress-cms.html" title="8个能有效改善WordPress CMS功能的插件">8个能有效改善WordPress CMS功能的插件</a> (3)</li><li>2011年07月31日  //  <a href="http://ihacklog.com/xml_html_css_js_ajax/style-your-code.html" title="定义code的CSS样式代码更有型">定义code的CSS样式代码更有型</a> (7)</li><li>2011年07月13日  //  <a href="http://ihacklog.com/software/development-tool/aptana.html" title="Aptana">Aptana</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/most-used-css-tricks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQ表格插件推荐：jQgrid</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/jquery-grid-plugin.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/jquery-grid-plugin.html#comments</comments>
		<pubDate>Fri, 26 Nov 2010 14:23:45 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4255</guid>
		<description><![CDATA[上demo: http://www.trirand.com/blog/jqgrid/jqgrid.html 官方博客：http://www.trirand.com/blog/ 插件下载：http://www.trirand.com/blog/?page_id=6 喜欢这篇文章吗?请订阅本站 RSS feed 或 作者：荒野无灯 出处：Hacklog【荒野无灯weblog】 声明: 本站遵循 署名-非商业性使用-相同方式共享 2.5 共享协议. 转载请注明转自Hacklog【荒野无灯weblog】 本文链接...]]></description>
			<content:encoded><![CDATA[<p>上demo: <a target="_blank" href="http://www.ihacklog.com/l.php?url=www.trirand.com/blog/jqgrid/jqgrid.html">http://www.trirand.com/blog/jqgrid/jqgrid.html</a></p>
<p>官方博客：<a target="_blank" href="http://www.ihacklog.com/l.php?url=www.trirand.com/blog/">http://www.trirand.com/blog/</a></p>
<p>插件下载：<a target="_blank" href="http://www.ihacklog.com/l.php?url=www.trirand.com/blog/orz__page_id=6">http://www.trirand.com/blog/?page_id=6</a></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=4255";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=4255" title="Permanent Link to jQ表格插件推荐：jQgrid" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=4255</a>
            </p>
             </div><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2011年04月5日  //  <a href="http://ihacklog.com/php/wordpress/wpskills/jquery-fontsize-change-script-for-wordpress.html" title="给WP文章增加字体大小调整按钮">给WP文章增加字体大小调整按钮</a> (5)</li><li>2010年05月25日  //  <a href="http://ihacklog.com/xml_html_css_js_ajax/facebox-v1-2.html" title="Facebox v1.2:很酷的popup 效果JQuery插件">Facebox v1.2:很酷的popup 效果JQuery插件</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/jquery-grid-plugin.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Facebox v1.2:很酷的popup 效果JQuery插件</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/facebox-v1-2.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/facebox-v1-2.html#comments</comments>
		<pubDate>Tue, 25 May 2010 10:57:08 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[Facebox]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[popup]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=3844</guid>
		<description><![CDATA[Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages. It&#8217;s simple to use and easy on the eyes. Download the tarball, view the examples, then start enjoying the curves. 官方页面： facebox 使用方法很简单，看下官方说明...]]></description>
			<content:encoded><![CDATA[<p> Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.</p>
<p>It&#8217;s simple to use and easy on the eyes. Download the tarball, view the examples, then start enjoying the curves.<br />
<a href="http://static.ihacklog.com/wp-files/2010/05/facebox.png" class="tinybox2"  onclick="TINY.box.show({image:this.href,boxid:'frameless',animate:true,fixed:false});return false;"  title="Click to enlarge（点击查看大图）" ><img src="http://static.ihacklog.com/wp-files/2010/05/facebox-550x322.png" alt="" title="facebox" width="550" height="322" class="alignnone size-medium wp-image-3845" /> </a></p>
<p>官方页面：<br />
<a target="_blank" href="http://www.ihacklog.com/l.php?url=famspam.com/facebox">facebox</a></p>
<p>使用方法很简单，看下官方说明就可以了。</p>
注意：该页面嵌入了下载文件，请访问 <a href="http://ihacklog.com/xml_html_css_js_ajax/facebox-v1-2.html">该页面</a>下载该文件。

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=3844";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=3844" title="Permanent Link to Facebox v1.2:很酷的popup 效果JQuery插件" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=3844</a>
            </p>
             </div><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2011年04月5日  //  <a href="http://ihacklog.com/php/wordpress/wpskills/jquery-fontsize-change-script-for-wordpress.html" title="给WP文章增加字体大小调整按钮">给WP文章增加字体大小调整按钮</a> (5)</li><li>2010年11月26日  //  <a href="http://ihacklog.com/xml_html_css_js_ajax/jquery-grid-plugin.html" title="jQ表格插件推荐：jQgrid">jQ表格插件推荐：jQgrid</a> (6)</li><li>2009年11月6日  //  <a href="http://ihacklog.com/php/wordpress/problems/wordpress-cannot-open-popup-upload-window.html" title="关于wordpress郁闷了很久的事情">关于wordpress郁闷了很久的事情</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/facebox-v1-2.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>校内flash播放器</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/xiaoneiflashbofangqi.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/xiaoneiflashbofangqi.html#comments</comments>
		<pubDate>Thu, 28 May 2009 05:39:12 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>

		<guid isPermaLink="false">http://blog.thinkstd.com/?p=2176</guid>
		<description><![CDATA[原创文章 如： http://www.ihacklog.com/wordpress/wp-content/demo/player/player.html?url=http://www.hz95.com/upload/slds.mp3 一个很简洁的mp3播放器 我写的调用代码如下： 12345678910111213141516171819202122232425262728293031&#60;!DOCTYPE HTML PUBLIC &#34;-//W3C//DTD HTML 4.0 Transitio...]]></description>
			<content:encoded><![CDATA[<p><em>原创文章</em><br />
如：</p>
<blockquote><p>http://www.ihacklog.com/wordpress/wp-content/demo/player/player.html?url=http://www.hz95.com/upload/slds.mp3</p></blockquote>
<p>一个很简洁的mp3播放器</p>
<p>我写的调用代码如下：</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #00bbdd;">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span>xiaonei mp3 flash player<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><br />
var urlstr=window.location.search;<br />
if(/(.*\?url=)/.test(urlstr)||/(.*\?.*<span style="color: #ddbb00;">&amp;url=)/.test(urlstr))</span><br />
<span style="color: #ddbb00;">//alert(urlstr);</span><br />
var s=urlstr.split(&quot;=&quot;);<br />
var paramNum=s.length-1;<br />
var isMP3Url=/\.mp3/.test(s[paramNum]);<br />
//alert(isMP3Url);<br />
var url=s[paramNum];<br />
var player=&quot;<span style="color: #009900;">&lt;embed <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;./player.swf?url=&quot;</span>+url+<span style="color: #ff0000;">&quot;&amp;Rwid=450&amp;Autoplay=1\&quot;</span> wmode<span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;transparent\&quot;</span> loop<span style="color: #66cc66;">=</span>false menu<span style="color: #66cc66;">=</span>false quality<span style="color: #66cc66;">=</span>high scale<span style="color: #66cc66;">=</span>noscale salign<span style="color: #66cc66;">=</span>lt <span style="color: #000066;">bgcolor</span><span style="color: #66cc66;">=</span>#ffffff <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;450\&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;30\&quot;</span> <span style="color: #000066;">align</span><span style="color: #66cc66;">=</span>middle allowScriptAccess<span style="color: #66cc66;">=</span>sameDomain allowFullScreen<span style="color: #66cc66;">=</span>false <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span>application<span style="color: #66cc66;">/</span>x-shockwave-flash pluginspage<span style="color: #66cc66;">=</span>http:<span style="color: #66cc66;">//</span>www.macromedia.com<span style="color: #66cc66;">/</span>go<span style="color: #66cc66;">/</span>getflashplayer <span style="color: #66cc66;">/</span>&gt;</span>&quot;;<br />
//alert(url);<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><br />
if(!isMP3Url)<br />
alert('error! \n mp3 url is undefined or invalid mp3 url!');<br />
else<br />
document.write(player);<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=2176";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=2176" title="Permanent Link to 校内flash播放器" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=2176</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2011年09月9日  //  <a href="http://ihacklog.com/software/tips/fuck-k115-net.html" title="删除k115.net这个流氓快捷启动项的方法">删除k115.net这个流氓快捷启动项的方法</a> (16)</li><li>2011年05月30日  //  <a href="http://ihacklog.com/software/modify-wordpress-xmlrpc-server-api-to-get-thumbnail-in-vimreprese.html" title="修改wordpress xmlrpc API搞定通过vimrepress上传图片时没办法显示缩略图的问题">修改wordpress xmlrpc API搞定通过vimrepress上传图片时没办法显示缩略图的问题</a> (3)</li><li>2011年08月20日  //  <a href="http://ihacklog.com/php/habari/hb-audio-player-modified.html" title="HB Audio Player荒野无灯修改版">HB Audio Player荒野无灯修改版</a> (0)</li><li>2008年12月7日  //  <a href="http://ihacklog.com/php/skills/securing-forms-random-image.html" title="Securing Forms &#8211; Random Image">Securing Forms &#8211; Random Image</a> (0)</li><li>2009年05月18日  //  <a href="http://ihacklog.com/php/wordpress/wpskills/renshixfnlianjieguanxi.html" title="认识XFN链接关系">认识XFN链接关系</a> (0)</li><li>2010年02月27日  //  <a href="http://ihacklog.com/php/wordpress/plugins/codecolorer-keyword-open-in-new-window.html" title="CodeColorer关键字在新窗口中打开">CodeColorer关键字在新窗口中打开</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/xiaoneiflashbofangqi.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>google挑歌</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/googletiaoge.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/googletiaoge.html#comments</comments>
		<pubDate>Wed, 27 May 2009 14:07:09 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>

		<guid isPermaLink="false">http://blog.thinkstd.com/?p=2162</guid>
		<description><![CDATA[挑歌这个玩意儿挺有趣的，我蛮喜欢的，最重要的是它提供正版音乐的免费下载（虽然目前它收录的歌曲不是非常多） 这个东东太复杂，ActionScript这玩意儿我不怎么弄过，这个flash播放器就不分析了。 先从播放器看起吧： 播放器地址为： http://g.top100.cn/7872775/html/player.html#loaded 其源码相当简洁： 12345678910111213141516&#60;html&#62; &#160; &#60;head&#62; &#160; &#160; &#...]]></description>
			<content:encoded><![CDATA[<p>挑歌这个玩意儿挺有趣的，我蛮喜欢的，最重要的是它提供正版音乐的免费下载（虽然目前它收录的歌曲不是非常多）<br />
这个东东太复杂，ActionScript这玩意儿我不怎么弄过，这个flash播放器就不分析了。<br />
先从播放器看起吧：<br />
播放器地址为：</p>
<p>http://g.top100.cn/7872775/html/player.html#loaded</p>
<p>其源码相当简洁：</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;../javascript/compiled/static_page.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; window.onload = function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; _onloadPlayerPage();<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; window.onresize = function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; _onWindowResize('player-iframe');<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;margin: 0px;&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;player-iframe&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;740&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;504&quot;</span> <span style="color: #000066;">frameborder</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">scrolling</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;no&quot;</span><span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>再看static_page.js，其代码如下：</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> c<span style="color: #339933;">=</span>window<span style="color: #339933;">,</span>d<span style="color: #339933;">=</span>document<span style="color: #339933;">;</span><span style="color: #003366; font-weight: bold;">function</span> f<span style="color: #009900;">&#40;</span>b<span style="color: #339933;">,</span>a<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #000066; font-weight: bold;">return</span> b.<span style="color: #660066;">width</span><span style="color: #339933;">=</span>a<span style="color: #009900;">&#125;</span><span style="color: #003366; font-weight: bold;">function</span> g<span style="color: #009900;">&#40;</span>b<span style="color: #339933;">,</span>a<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #000066; font-weight: bold;">return</span> b.<span style="color: #660066;">height</span><span style="color: #339933;">=</span>a<span style="color: #009900;">&#125;</span><span style="color: #003366; font-weight: bold;">var</span> h<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;clientWidth&quot;</span><span style="color: #339933;">,</span>i<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;getElementById&quot;</span><span style="color: #339933;">,</span>j<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;location&quot;</span><span style="color: #339933;">,</span>k<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;style&quot;</span><span style="color: #339933;">,</span>l<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;body&quot;</span><span style="color: #339933;">,</span>m<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;clientHeight&quot;</span><span style="color: #339933;">,</span>n<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;documentElement&quot;</span><span style="color: #339933;">,</span>o<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://www.google.cn/music/top100/&quot;</span><span style="color: #339933;">,</span>p<span style="color: #339933;">=</span>o<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;lyrics&quot;</span><span style="color: #339933;">,</span>q<span style="color: #339933;">=</span>o<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;musicdownload&quot;</span><span style="color: #339933;">,</span>r<span style="color: #339933;">=</span>o<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;player_page&quot;</span><span style="color: #339933;">,</span>s<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;Top100 Online Player&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #003366; font-weight: bold;">function</span> t<span style="color: #009900;">&#40;</span>b<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> a<span style="color: #339933;">=</span>d<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#40;</span>b<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>a<span style="color: #009900;">&#41;</span><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>c.<span style="color: #660066;">innerHeight</span><span style="color: #339933;">&amp;&amp;</span>c.<span style="color: #660066;">innerWidth</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>f<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span>c.<span style="color: #660066;">innerWidth</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>g<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span>c.<span style="color: #660066;">innerHeight</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#91;</span>n<span style="color: #009900;">&#93;</span><span style="color: #339933;">&amp;&amp;</span>d<span style="color: #009900;">&#91;</span>n<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>m<span style="color: #009900;">&#93;</span><span style="color: #339933;">&amp;&amp;</span>d<span style="color: #009900;">&#91;</span>n<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>h<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>f<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span>d<span style="color: #009900;">&#91;</span>n<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>h<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>g<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span>d<span style="color: #009900;">&#91;</span>n<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>m<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#91;</span>l<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>m<span style="color: #009900;">&#93;</span><span style="color: #339933;">&amp;&amp;</span>d<span style="color: #009900;">&#91;</span>l<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>h<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>f<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span><br />
d<span style="color: #009900;">&#91;</span>l<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>h<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>g<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span>d<span style="color: #009900;">&#91;</span>l<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>m<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<br />
<span style="color: #003366; font-weight: bold;">function</span> u<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> b<span style="color: #339933;">=</span>d<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;lyrics-iframe&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>a<span style="color: #339933;">=</span>p<span style="color: #339933;">+</span>c<span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">search</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>b<span style="color: #339933;">&amp;&amp;</span>b.<span style="color: #660066;">src</span><span style="color: #339933;">!=</span>a<span style="color: #009900;">&#41;</span>b.<span style="color: #660066;">src</span><span style="color: #339933;">=</span>a<span style="color: #339933;">;</span><br />
t<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;lyrics-iframe&quot;</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #003366; font-weight: bold;">function</span> v<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> b<span style="color: #339933;">=</span>d<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;download-iframe&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>a<span style="color: #339933;">=</span>q<span style="color: #339933;">+</span>c<span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">search</span><span style="color: #339933;">;</span><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>b<span style="color: #339933;">&amp;&amp;</span>b.<span style="color: #660066;">src</span><span style="color: #339933;">!=</span>a<span style="color: #009900;">&#41;</span>b.<span style="color: #660066;">src</span><span style="color: #339933;">=</span>a<span style="color: #339933;">;</span><br />
t<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;download-iframe&quot;</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #003366; font-weight: bold;">function</span> w<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
c.<span style="color: #000066;">name</span><span style="color: #339933;">=</span>s<span style="color: #339933;">;</span><br />
c.<span style="color: #660066;">document</span>.<span style="color: #660066;">title</span><span style="color: #339933;">=</span>s<span style="color: #339933;">;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> b<span style="color: #339933;">=</span>d<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;player-iframe&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>a<span style="color: #339933;">=</span>r<span style="color: #339933;">+</span>c<span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">search</span><span style="color: #339933;">+</span>c<span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">hash</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>b<span style="color: #339933;">&amp;&amp;</span>b.<span style="color: #660066;">src</span><span style="color: #339933;">!=</span>a<span style="color: #009900;">&#41;</span><br />
b.<span style="color: #660066;">src</span><span style="color: #339933;">=</span>a<span style="color: #339933;">;</span><br />
t<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;player-iframe&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> y<span style="color: #339933;">=</span>c.<span style="color: #660066;">setInterval</span><span style="color: #009900;">&#40;</span>x<span style="color: #339933;">,</span><span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #003366; font-weight: bold;">function</span> x<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>b.<span style="color: #660066;">contentWindow</span>.<span style="color: #660066;">length</span><span style="color: #339933;">&gt;=</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>c.<span style="color: #660066;">clearInterval</span><span style="color: #009900;">&#40;</span>y<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #003366; font-weight: bold;">var</span> e<span style="color: #339933;">=</span>d.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;iframe&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>e.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;frameborder&quot;</span><span style="color: #339933;">,</span><br />
<span style="color: #3366CC;">&quot; 0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>g<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#91;</span>k<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>f<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#91;</span>k<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>e<span style="color: #009900;">&#91;</span>k<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">top</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;0&quot;</span><span style="color: #339933;">;</span>e<span style="color: #009900;">&#91;</span>k<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">left</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;0&quot;</span><span style="color: #339933;">;</span>e<span style="color: #009900;">&#91;</span>k<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">position</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;absolute&quot;</span><span style="color: #339933;">;</span>e<span style="color: #009900;">&#91;</span>k<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">zIndex</span><span style="color: #339933;">=-</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>e<span style="color: #009900;">&#91;</span>k<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">display</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;none&quot;</span><span style="color: #339933;">;</span>e.<span style="color: #660066;">src</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">;</span>d<span style="color: #009900;">&#91;</span>l<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#125;</span><br />
c<span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">hash</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;#loaded&quot;</span><span style="color: #009900;">&#125;</span><br />
<br />
<br />
<span style="color: #003366; font-weight: bold;">var</span> _onloadLyricsPage<span style="color: #339933;">=</span>u<span style="color: #339933;">,</span>_onloadDownloadPage<span style="color: #339933;">=</span>v<span style="color: #339933;">,</span>_onloadPlayerPage<span style="color: #339933;">=</span>w<span style="color: #339933;">,</span>_onWindowResize<span style="color: #339933;">=</span>t<span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>t函数用于调整iframe窗口大小为弹出窗口大小，即使这个iframe占满整个弹出的窗口。<br />
这个t函数考虑了三种情况：</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">window.<span style="color: #660066;">innerWidth</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#40;</span>c.<span style="color: #660066;">innerWidth</span><span style="color: #009900;">&#41;</span><br />
document.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">clientWidth</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#40;</span> d<span style="color: #009900;">&#91;</span>n<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>h<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><br />
document.<span style="color: #660066;">body</span>.<span style="color: #660066;">clientWidth</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#91;</span>l<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>h<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span></div></td></tr></tbody></table></div>
<p>u用于加载歌词，v用于加载下载页面，w用来加载播放器<br />
由以上js代码可以知道，点击那个向下的箭头下载歌曲时，弹出的窗口并不是直接的，而是用一个iframe加载真正的下载页面。<br />
打开播放器后（当页面加载完后），先是_onloadPlayerPage()即执行w函数加载播放器iframe，再_onWindowResize(&#8216;player-iframe&#8217;)即调整这个iframe的大小。<br />
如：</p>
<blockquote><p>http://g.top100.cn/7872775/html/download.html?id=S4ca0f5b8ebb2748a</p></blockquote>
<p>实际上是</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;../javascript/compiled/static_page.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; window.onload = function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; _onloadDownloadPage();<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; window.onresize = function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; _onWindowResize('download-iframe');<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;margin: 0px;&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;download-iframe&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;650&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;350&quot;</span> <span style="color: #000066;">frameborder</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">scrolling</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;no&quot;</span><span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>download-iframe用于加载下载页面，从js代码可以看出它的实际下载页面是：</p>
<blockquote><p>http://www.google.cn/music/top100/musicdownload?id=S4ca0f5b8ebb2748a</p></blockquote>
<p>它的歌词调用的是：</p>
<blockquote><p>http://www.google.cn/music/top100/lyrics?id=S4ca0f5b8ebb2748a</p></blockquote>
<p>其实上面那个应该是调用了：<br />
<blockquote>http://g.top100.cn/7872775/html/lyrics.html?id=S4ca0f5b8ebb2748a</p></blockquote>
<p>真正的下载地址就隐藏在该页面中：</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;&lt;<a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;">meta</span></a> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=UTF-8&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span>Top100 Music Download - <span style="color: #ddbb00;">&amp;#29233;&amp;#20284;&amp;#27700;&amp;#20185;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/music/top100/javascript/1328496674-partner_js.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'stylesheet'</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/css'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'/music/top100/css/1947696284-partner_css.css'</span><span style="color: #66cc66;">/</span>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; window.onload = function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; window.setInterval(&quot;location.reload(true)&quot;, 1200000);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;download-div&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;download-div&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">table</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;download-table&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">tr</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;header-tr&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;logo-td&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.gstatic.cn/top100/images/top100_logo.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;partner-header-td&quot;</span> nowrap&gt;</span><span style="color: #ddbb00;">&amp;#27468;&amp;#26354;&amp;#19979;&amp;#36733;&amp;#30001;</span>Top100.cn <span style="color: #ddbb00;">&amp;#24040;&amp;#40120;&amp;#38899;&amp;#20048;&amp;#32593;&amp;#25552;&amp;#20379;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">tr</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">tr</span></a>&gt;&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail-td&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;background-image: url(http://www.gstatic.cn/top100/images/cd_cover.png); background-repeat: no-repeat;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail-div&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> </span><br />
<span style="color: #009900;"><span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span></span><br />
<span style="color: #009900;"> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.gstatic.cn/base_media?q=http://pic.top100.cn/SpecialImg/middle_special_123854.jpg&amp;amp;size=5&amp;amp;hl=cn&amp;amp;fact=194&amp;amp;dhm=cda3d3fb&quot;</span> onerror<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;this.onerror=null; this.src='http://www.gstatic.cn/top100/images/cd_cover_default.png'&quot;</span><span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-meta-table&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">table</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;song-meta-name-table&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">tr</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;meta-names-tr&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-song-name&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#27468;&amp;#26354;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-singer&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#27468;&amp;#25163;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-size&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#25991;&amp;#20214;&amp;#22823;&amp;#23567;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-format&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#26684;&amp;#24335;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">tr</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">table</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">table</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;song-meta-data-table&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">tr</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;meta-data-tr&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-song-name&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#29233;&amp;#20284;&amp;#27700;&amp;#20185;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-singer&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#37329;&amp;#28023;&amp;#24515;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-size&quot;</span>&gt;</span>5.5<span style="color: #ddbb00;">&amp;nbsp;</span>MB<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;td-format&quot;</span>&gt;</span>MP3<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">tr</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">table</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">td</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">tr</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">table</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;download&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;contract-info&quot;</span>&gt;</span>Copyright<span style="color: #ddbb00;">&amp;nbsp;&amp;copy;&amp;nbsp;&amp;#37329;&amp;#20449;&amp;#23376;&amp;#25991;&amp;#21270;</span><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a>&gt;</span><span style="color: #ddbb00;">&amp;#19979;&amp;#36733;&amp;#35813;&amp;#38899;&amp;#20048;&amp;#34920;&amp;#31034;&amp;#24744;&amp;#21516;&amp;#24847;&amp;#25105;&amp;#20204;&amp;#30340;</span><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.top100.cn/tos.html&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;window.open(this.href, &amp;#39;&amp;#39;, &amp;#39;resizable=1, location=1, menubar=1, scrollbars=1&amp;#39;); return false;&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#26381;&amp;#21153;&amp;#26465;&amp;#27454;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span><span style="color: #ddbb00;">&amp;#21644;</span><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.top100.cn/privatepolicy.html&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;window.open(this.href, &amp;#39;&amp;#39;, &amp;#39;resizable=1, location=1, menubar=1, scrollbars=1&amp;#39;); return false;&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#38544;&amp;#31169;&amp;#21327;&amp;#35758;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/music/top100/url?q=http%3A%2F%2Ffile3.top100.cn%2F200905280905%2F411027BFF23F27945A2E3F0CD8D3A6EC%2FSpecial_123854%2F%25E7%2588%25B1%25E4%25BC%25BC%25E6%25B0%25B4%25E4%25BB%2599.mp3&amp;amp;ct=rdl&amp;amp;cad=dl&amp;amp;ei=UeMdSrDRM4yOtAKE8_miAg&amp;amp;sig=F1D4E450B218F28ECE64A033498533A5&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.gstatic.cn/top100/images/download_icon.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;border: none;&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;download-hint&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#22914;&amp;#26524;&amp;#19979;&amp;#36733;&amp;#26377;&amp;#38382;&amp;#39064;&amp;#65292;&amp;#35831;&amp;#23581;&amp;#35797;&amp;#28857;&amp;#20987;&amp;#40736;&amp;#26631;&amp;#21491;&amp;#38190;&amp;#65292;&amp;#36873;&amp;#25321;&amp;ldquo;&amp;#30446;&amp;#26631;&amp;#21478;&amp;#23384;&amp;#20026;&amp;rdquo;&amp;#19979;&amp;#36733;&amp;#12290;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ads-line&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ads-image&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;top100_admusic_adifr&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://t.top100.cn/www/delivery/ifr.ashx?host=google&amp;amp;zid=6&amp;amp;mw=so%3AM0123854001%23%E7%88%B1%E4%BC%BC%E6%B0%B4%E4%BB%99%24si%3A%23%E9%87%91%E6%B5%B7%E5%BF%83%24al%3A%23%E7%88%B1%E4%BC%BC%E6%B0%B4%E4%BB%99%20EP&quot;</span> <span style="color: #000066;">frameborder</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;630&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;80&quot;</span> <span style="color: #000066;">scrolling</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;no&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>其中的</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">http%3A%2F%2Ffile3.top100.cn%2F200905280905%2F411027BFF23F27945A2E3F0CD8D3A6EC%2FSpecial_123854%2F%25E7%2588%25B1%25E4%25BC%25BC%25E6%25B0%25B4%25E4%25BB%2599.mp3</div></td></tr></tbody></table></div>
<p>即为mp3地址。</p>
<p>接下来再看下播放器页面：</p>
<p>例如随便打开一个页面</p>
<blockquote><p>http://www.google.cn/music/top100/player_page?id=S4ca0f5b8ebb2748a#loaded</p></blockquote>
<p>点击下面链接会打开播放器自动播放王菲的  棋子：</p>
<p><a href="http://www.google.cn/music/top100/player_page?id=Sc404159fe479f257&#038;type=song&#038;autoplay=true"></p>
<p>http://www.google.cn/music/top100/player_page?id=Sc404159fe479f257&#038;type=song&#038;autoplay=true</a></p>
<p>其源代码部分加密了：</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;&lt;<a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;">meta</span></a> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=UTF-8&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/music/top100/javascript/1328496674-partner_js.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'stylesheet'</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/css'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'/music/top100/css/1947696284-partner_css.css'</span><span style="color: #66cc66;">/</span>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span>Top100 Online Player<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;margin: 0px; overflow: auto; background-color: #FFFFFF;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;flash-upgrade&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;flash-upgrade-msg&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#24744;&amp;#30340;</span>flash player<span style="color: #ddbb00;">&amp;#29256;&amp;#26412;&amp;#36807;&amp;#20302;&amp;#65292;&amp;#35831;&amp;#28857;&amp;#20987;&amp;#39029;&amp;#38754;&amp;#19978;&amp;#26041;&amp;#30340;&amp;#25552;&amp;#31034;&amp;#25110;&amp;#32773;&amp;#24377;&amp;#20986;&amp;#30340;&amp;#31383;&amp;#21475;&amp;#23433;&amp;#35013;</span>flash player<span style="color: #ddbb00;">&amp;#12290;&amp;#22914;&amp;#26524;&amp;#24744;&amp;#30340;&amp;#27983;&amp;#35272;&amp;#22120;&amp;#27809;&amp;#26377;&amp;#33258;&amp;#21160;&amp;#23433;&amp;#35013;&amp;#21151;&amp;#33021;&amp;#65292;&amp;#35831;&amp;#28857;&amp;#20987;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.adobe.com/cn/products/flashplayer/&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;window.open(this.href, &amp;#39;&amp;#39;, &amp;#39;height=550, width=750, scrollbars=1&amp;#39;); window.close(); return false;&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;#36825;&amp;#37324;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span><br />
<span style="color: #ddbb00;">&amp;#19979;&amp;#36733;&amp;#26032;&amp;#30340;&amp;#29256;&amp;#26412;&amp;#65292;&amp;#28982;&amp;#21518;&amp;#37325;&amp;#26032;&amp;#25171;&amp;#24320;&amp;#27492;&amp;#39029;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; _checkFlashVersion();<br />
&nbsp; &nbsp; &nbsp; &nbsp; window.onload = function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var onloadTimer = window.setInterval(onloadPlayerIntervalCallback, 300);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; function onloadPlayerIntervalCallback() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(_allGlobalScriptExcuted) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; window.clearInterval(onloadTimer);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _onloadPlayerPage(&quot;S4ca0f5b8ebb2748a&quot;, &quot;&quot;, true,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;http://g.top100.cn/7872775/html/player_container_remote_control_iframe.html&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;http://www.google.cn/music/html/hidden_iframe.html&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;http://www.google.cn/music/html/hidden_iframe.html&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;http://t.top100.cn/www/delivery/ifr.ashx?host\x3dgoogle\x26zid\x3d1\x26mw\x3d&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; window.onfocus = function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.title = &quot;Top100 Online Player&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;OnlinePlayerSingleton&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;OnlinePlayerSingleton&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.cn/music/html/hidden_iframe.html&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">frameborder</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;OnlinePlayerSingletonWeb&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;OnlinePlayerSingletonWeb&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.cn/music/html/hidden_iframe.html&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">frameborder</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;player-line&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;player-object&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;player&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/object.html"><span style="color: #000000; font-weight: bold;">object</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;OnlinePlayerActiveX&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;player&quot;</span> <span style="color: #000066;">classid</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot;</span> <span style="color: #000066;">codebase</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #000066;">align</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;middle&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;allowScriptAccess&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;always&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;allowFullScreen&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;menu&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;movie&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.gstatic.cn/top100/player/856916091-OnlinePlayer.swf&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;FlashVars&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imagePath=http%3A%2F%2Fwww.gstatic.cn%2Ftop100%2Fplayer%2F&amp;amp;allowDomain=www.google.cn&amp;amp;serverUrl=http%3A%2F%2Fwww.google.cn%2Fmusic%2F&amp;amp;serverUrlHash=2BFF71E00249BE77346FADF23767F990&amp;amp;downloadUrl=http%3A%2F%2Fg.top100.cn%2F7872775%2Fhtml%2Fdownload.html&amp;amp;downloadUrlHash=22D7A88A7478B0DE15D37EF197C3CA32&amp;amp;chartNames=chinese_songs_cn%2Cchinese_new_songs_cn%2Cjk_songs_cn%2Cea_songs_cn%2Cea_new_songs_cn%2Cnew-release_songs_cn%2Crock_songs_cn%2Cethnic_songs_cn%2Clatin_songs_cn%2Cjnb_songs_cn%2Crnb_songs_cn%2Ccountry_songs_cn%2Chip-hop_songs_cn%2Csoundtrack_songs_cn%2Cfolk_songs_cn%2Cpop_songs_cn%2Csoul_songs_cn%2Ceasy-listening_songs_cn&amp;amp;chartTitles=%E5%8D%8E%E8%AF%AD%E7%83%AD%E6%AD%8C%2C%E5%8D%8E%E8%AF%AD%E6%96%B0%E6%AD%8C%2C%E6%97%A5%E9%9F%A9%E7%83%AD%E6%AD%8C%2C%E6%AC%A7%E7%BE%8E%E7%83%AD%E6%AD%8C%2C%E6%AC%A7%E7%BE%8E%E6%96%B0%E6%AD%8C%2C%E6%9C%80%E6%96%B0%E6%AD%8C%E6%9B%B2%2C%E6%91%87%E6%BB%9A%E7%83%AD%E6%AD%8C%2C%E6%B0%91%E6%97%8F%E7%83%AD%E6%AD%8C%2C%E6%8B%89%E4%B8%81%E7%83%AD%E6%AD%8C%2C%E7%88%B5%E5%A3%AB%E8%93%9D%E8%B0%83%E7%83%AD%E6%AD%8C%2CR%26B%E7%83%AD%E6%AD%8C%2C%E4%B9%A1%E6%9D%91%E7%83%AD%E6%AD%8C%2C%E5%98%BB%E5%93%88%E7%83%AD%E6%AD%8C%2C%E5%BD%B1%E8%A7%86%E7%83%AD%E6%AD%8C%2C%E6%B0%91%E8%B0%A3%E7%83%AD%E6%AD%8C%2C%E6%B5%81%E8%A1%8C%E7%83%AD%E6%AD%8C%2C%E7%81%B5%E6%AD%8C%E7%83%AD%E6%AD%8C%2C%E8%BD%BB%E9%9F%B3%E4%B9%90%E7%83%AD%E6%AD%8C&amp;amp;chartNameHash=7AEAEDF56BB9B6BB55E0772E2750DA23&amp;amp;topicNames=top100_collection_of_eason_chan_2009%2Ctop100_loving_in_the_delicacy%2Ctop100_be_jilted_2009%2Ctop100_songs_of_billboard_2009_part_one%2Ctop100_sony_songwriters_2009%2Ctop100_songs_of_sea%2Ctop100_glory_to_god_in_the_highest%2Ctop100_moden_music_festival_in_city%2Ctop100_party_hopping_music%2Ctop100_china_underground_2_2009%2Ctop100_the_songstress_of_amazing_jazz%2Ctop100_china_underground_1_2009%2Ctop100_the_gangsta_world_in_hip-hop_carnival%2Ctop100_the_age_of_innocence%2Ctop100_the_songs_for_children%2Ctop100_indie_2009_domestic%2Ctop100_my_love_city_songs%2Ctop100_happy_valentine_day%2Ctop100_lantern_festival_2009%2Ctop100_spring_festival_2009_folk%2Ctop100_homesick_songs%2Ctop100_spring_festival_theme_2009%2Ctop100_happy_new_year_songs%2Ctop100_the_best_cantonese_songs_of_young_people%2Ctop100_the-wind-songs%2Ctop100_the-songs-of-ordinary-people%2Ctop100_the_songs-of-malaysia-singers%2Ctop100_midi_festival_songs%2Ctop100_queen-of-cantonese-singer%2Ctop100_king-of-cantonese-singer%2Ctop100_in-the-1990s-chinese-songs%2Ctop100_cantonese_reminiscence_songs%2Ctop100_folk_songs_with_original_guitar%2Ctop100_nostalgia-songs%2Ctop100_lazy-songs%2Ctop100_environmental-protection-songs%2Ctop100_songs_of_leslie%2Ctop100_wedding_songs%2Ctop100_mid-autumn_festival_songs%2Ctop100_wisdom_women_songs%2Ctop100_olympic_hots_songs%2Ctop100_travelling_in_tibet_hot_songs%2Ctop100_earthquake_relief_songs%2Ctop100_best_men_singer-songwriter_songs%2Ctop100_joyous_music_life_songs%2Ctop100_comfortable_holiday_songs%2Ctop100_representative_songs%2Ctop100_the_overture_of_seven-color_carnations%2Ctop100_beijing_city_landmark_songs%2Ctop100_duet_songs%2Ctop100_charm_housewives_songs%2Ctop100_ost_classic_songs%2Ctop100_chinese_band_songs&amp;amp;topicTitles=%E7%BB%8F%E5%85%B8%E9%99%88%E5%A5%95%E8%BF%85%2C%E7%BE%8E%E5%91%B3%E7%BA%AF%E7%88%B1%E7%89%A9%E8%AF%AD%2C%E5%A4%B1%E6%81%8B%E8%80%85%E7%96%97%E4%BC%A4%E4%B9%8B%E5%9C%B0%2C%E7%8E%A9%E8%BD%AC%E5%85%AC%E5%91%8A%E7%89%8C%E8%BE%91%E4%B8%80%2C%E5%88%9B%E4%BD%9C%E5%81%B6%E5%83%8F%E7%BA%A2%E4%BA%BA%E9%A6%86%2C%E4%B8%8E%E4%BD%A0%E5%8E%BB%E5%90%AC%E6%B5%B7%2C%E7%8C%AE%E7%BB%99%E8%80%B6%E5%92%8C%E5%8D%8E%E7%9A%84%E8%AF%97%2C%E6%91%A9%E7%99%BB%E9%9F%B3%E4%B9%90%E5%9F%8E%E4%B8%AD%E5%BF%97%2C%E7%83%AD%E8%88%9E%E8%BF%B7%E6%83%85%E5%A4%9C%2C%E4%B8%AD%E5%9B%BD%E5%9C%B0%E4%B8%8B%E5%8A%BF%E5%8A%9B%E8%BE%912%2C%E7%88%B5%E8%89%B2%E6%83%8A%E9%AD%82%E5%90%8D%E4%BC%B6%E8%AE%B0%2C%E4%B8%AD%E5%9B%BD%E5%9C%B0%E4%B8%8B%E5%8A%BF%E5%8A%9B%E8%BE%911%2C%E5%98%BB%E5%93%88%E5%9C%A3%E6%AE%BF%E4%B9%8B%E5%B8%AE%E5%8C%AA%E5%A0%82%2C%E7%BA%AF%E7%9C%9F%E5%B9%B4%E4%BB%A3%2C%E5%94%B1%E6%B8%B8%E7%AB%A5%E5%BF%83%E4%B9%90%E5%9B%AD%2C%E5%B0%8F%E4%BC%97%E8%BF%B7%E9%9F%B3%E4%B9%90%E8%8A%B1%E5%9B%AD%2C%E6%88%91%E7%9A%84%E7%88%B1%E6%81%8B%E5%80%BE%E5%9F%8E%2C%E6%9A%96%E5%BF%83%E5%91%8A%E7%99%BD%E5%BF%85K%E6%9B%B2%2C%E5%85%83%E5%AE%B5%E8%8A%82%E8%B5%8F%E6%9C%88%E4%BD%B3%E6%9B%B2%2C%E6%96%B0%E6%98%A5%E6%B0%91%E9%9F%B5%E4%BC%B4%E4%BD%A0%E5%BF%83%2C%E6%B5%81%E6%B5%AA%E8%80%85%E6%80%9D%E4%B9%A1%E6%81%8B%E6%9B%B2%2C%E6%96%B0%E6%98%A5%E6%97%8B%E5%BE%8B%E7%A5%9D%E7%A6%8F%E4%BD%A0%2C%E6%96%B0%E5%B9%B4%E5%96%9C%E4%B9%90%E5%8E%85%2C%E7%B2%A4%E8%AF%AD%E8%87%B3%E5%B0%8A%E6%96%B0%E4%BA%BA%E7%8E%8B%2C%E6%82%A0%E6%82%A0%E5%9B%9B%E5%AD%A3%E9%A3%8E%E4%B9%8B%E6%AD%8C%2C%E5%B9%B3%E6%B0%91%E5%B7%A8%E6%98%9F%E7%83%AD%E6%9B%B2%E6%B1%87%2C%E6%AD%8C%E4%BB%8E%E9%A9%AC%E6%9D%A5%E8%A5%BF%E4%BA%9A%E6%9D%A5%2C%E5%8E%86%E5%B1%8A%E8%BF%B7%E7%AC%9B%E7%B2%BE%E5%93%81%E6%B1%87%2C%E9%87%91%E7%89%8C%E7%B2%A4%E8%AF%AD%E5%A4%A9%E5%90%8E%E7%AF%87%2C%E9%87%91%E7%89%8C%E7%B2%A4%E8%AF%AD%E5%A4%A9%E7%8E%8B%E7%AF%87%2C%E9%87%8D%E6%B8%A990%E5%8D%8E%E8%AF%AD%E6%AD%8C%E5%9D%9B%2C%E7%B2%A4%E8%AF%AD%E6%80%80%E6%97%A7%E7%99%BD%E9%87%91%E6%9B%B2%2C%E6%B8%85%E6%96%B0%E5%90%89%E4%BB%96%E4%BC%B4%E6%B0%91%E8%B0%A3%2C%E6%97%A7%E6%97%A5%E6%80%9D%E7%BB%AA%E6%80%80%E6%97%A7%E6%9B%B2%2C%E4%BA%AB%E5%8F%97%E6%85%B5%E6%87%92%E4%BC%91%E9%97%B2%E6%AD%8C%2C%E7%BB%BF%E8%89%B2%E7%8E%AF%E4%BF%9D%E5%85%AC%E7%9B%8A%E6%AD%8C%2C%E5%9B%BD%E8%8D%A3%E7%BB%8F%E5%85%B8%E6%9B%B2%E5%9B%9E%E9%A1%BE%2C%E5%A9%9A%E7%A4%BC%E5%BF%85%E9%80%89%E7%A5%9D%E7%A6%8F%E6%AD%8C%2C%E4%B8%AD%E7%A7%8B%E8%B5%8F%E6%9C%88%E4%BD%B3%E6%9B%B2%E6%B1%87%2C%E6%89%8D%E6%83%85%E7%9F%A5%E6%80%A7%E5%A5%B3%E4%BA%BA%E6%9B%B2%2C%E5%A5%A5%E8%BF%90%E5%81%A5%E5%84%BF%E5%8A%A0%E6%B2%B9%E6%AD%8C%2C%E9%9F%B3%E4%B9%90%E5%B8%A6%E4%BD%A0%E6%B8%B8%E8%A5%BF%E8%97%8F%2C%E6%8A%97%E9%9C%87%E6%95%91%E7%81%BE%E5%A3%AE%E5%BF%97%E6%9B%B2%2C%E5%94%B1%E4%BD%9C%E7%94%B7%E7%94%9F%E6%9C%80%E6%B5%81%E8%A1%8C%2C%E5%BF%AB%E4%B9%90%E7%94%9F%E6%B4%BB%E4%BC%91%E9%97%B2%E6%AD%8C%2C%E6%94%BE%E6%9D%BE%E5%BF%83%E6%83%85%E4%B8%93%E7%94%A8%E6%AD%8C%2C%E4%B8%80%E4%BA%BA%E4%B8%80%E9%A6%96%E6%88%90%E5%90%8D%E6%9B%B2%2C%E4%B8%83%E8%89%B2%E5%BA%B7%E4%B9%83%E9%A6%A8%E5%BA%8F%E6%9B%B2%2C%E5%8C%97%E4%BA%AC%E5%9F%8E%E5%B8%82%E6%A0%87%E5%BF%97%E6%AD%8C%2C%E4%BA%8C%E4%BA%BA%E4%B8%96%E7%95%8C%E5%B1%85%E5%AE%B6%E6%9B%B2%2C%E7%BE%8E%E4%B8%BD%E4%B8%BB%E5%A6%87%E5%AE%B6%E5%8A%A1%E6%AD%8C%2C%E5%BD%B1%E8%A7%86%E9%87%91%E6%9B%B2%E7%B2%BE%E7%B2%B9%2C%E5%8D%8E%E4%BA%BA%E7%BB%84%E5%90%88%E7%83%AD%E6%AD%8C%E6%A6%9C&amp;amp;topicNameHash=1DBE8E3536356301C7032EC3E512474C&amp;amp;enableChina512EarthquakeRemembrance=false&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;quality&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;high&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bgcolor&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#ffffff&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;play&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;scale&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;noscale&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wmode&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;window&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;salign&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;lt&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;loop&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;OnlinePlayer&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pluginspage&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.macromedia.com/go/getflashplayer&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;embed <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;player&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;OnlinePlayerPlugin&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.gstatic.cn/top100/player/856916091-OnlinePlayer.swf&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #000066;">bgcolor</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#ffffff&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;OnlinePlayer&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;application/x-shockwave-flash&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; pluginspage<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.macromedia.com/go/getflashplayer&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; allowScriptAccess<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;always&quot;</span> allowFullScreen<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> menu<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; movie<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.gstatic.cn/top100/player/856916091-OnlinePlayer.swf&quot;</span> quality<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;high&quot;</span> play<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; FlashVars<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imagePath=http%3A%2F%2Fwww.gstatic.cn%2Ftop100%2Fplayer%2F&amp;allowDomain=www.google.cn&amp;serverUrl=http%3A%2F%2Fwww.google.cn%2Fmusic%2F&amp;serverUrlHash=2BFF71E00249BE77346FADF23767F990&amp;downloadUrl=http%3A%2F%2Fg.top100.cn%2F7872775%2Fhtml%2Fdownload.html&amp;downloadUrlHash=22D7A88A7478B0DE15D37EF197C3CA32&amp;chartNames=chinese_songs_cn%2Cchinese_new_songs_cn%2Cjk_songs_cn%2Cea_songs_cn%2Cea_new_songs_cn%2Cnew-release_songs_cn%2Crock_songs_cn%2Cethnic_songs_cn%2Clatin_songs_cn%2Cjnb_songs_cn%2Crnb_songs_cn%2Ccountry_songs_cn%2Chip-hop_songs_cn%2Csoundtrack_songs_cn%2Cfolk_songs_cn%2Cpop_songs_cn%2Csoul_songs_cn%2Ceasy-listening_songs_cn&amp;chartTitles=%E5%8D%8E%E8%AF%AD%E7%83%AD%E6%AD%8C%2C%E5%8D%8E%E8%AF%AD%E6%96%B0%E6%AD%8C%2C%E6%97%A5%E9%9F%A9%E7%83%AD%E6%AD%8C%2C%E6%AC%A7%E7%BE%8E%E7%83%AD%E6%AD%8C%2C%E6%AC%A7%E7%BE%8E%E6%96%B0%E6%AD%8C%2C%E6%9C%80%E6%96%B0%E6%AD%8C%E6%9B%B2%2C%E6%91%87%E6%BB%9A%E7%83%AD%E6%AD%8C%2C%E6%B0%91%E6%97%8F%E7%83%AD%E6%AD%8C%2C%E6%8B%89%E4%B8%81%E7%83%AD%E6%AD%8C%2C%E7%88%B5%E5%A3%AB%E8%93%9D%E8%B0%83%E7%83%AD%E6%AD%8C%2CR%26B%E7%83%AD%E6%AD%8C%2C%E4%B9%A1%E6%9D%91%E7%83%AD%E6%AD%8C%2C%E5%98%BB%E5%93%88%E7%83%AD%E6%AD%8C%2C%E5%BD%B1%E8%A7%86%E7%83%AD%E6%AD%8C%2C%E6%B0%91%E8%B0%A3%E7%83%AD%E6%AD%8C%2C%E6%B5%81%E8%A1%8C%E7%83%AD%E6%AD%8C%2C%E7%81%B5%E6%AD%8C%E7%83%AD%E6%AD%8C%2C%E8%BD%BB%E9%9F%B3%E4%B9%90%E7%83%AD%E6%AD%8C&amp;chartNameHash=7AEAEDF56BB9B6BB55E0772E2750DA23&amp;topicNames=top100_collection_of_eason_chan_2009%2Ctop100_loving_in_the_delicacy%2Ctop100_be_jilted_2009%2Ctop100_songs_of_billboard_2009_part_one%2Ctop100_sony_songwriters_2009%2Ctop100_songs_of_sea%2Ctop100_glory_to_god_in_the_highest%2Ctop100_moden_music_festival_in_city%2Ctop100_party_hopping_music%2Ctop100_china_underground_2_2009%2Ctop100_the_songstress_of_amazing_jazz%2Ctop100_china_underground_1_2009%2Ctop100_the_gangsta_world_in_hip-hop_carnival%2Ctop100_the_age_of_innocence%2Ctop100_the_songs_for_children%2Ctop100_indie_2009_domestic%2Ctop100_my_love_city_songs%2Ctop100_happy_valentine_day%2Ctop100_lantern_festival_2009%2Ctop100_spring_festival_2009_folk%2Ctop100_homesick_songs%2Ctop100_spring_festival_theme_2009%2Ctop100_happy_new_year_songs%2Ctop100_the_best_cantonese_songs_of_young_people%2Ctop100_the-wind-songs%2Ctop100_the-songs-of-ordinary-people%2Ctop100_the_songs-of-malaysia-singers%2Ctop100_midi_festival_songs%2Ctop100_queen-of-cantonese-singer%2Ctop100_king-of-cantonese-singer%2Ctop100_in-the-1990s-chinese-songs%2Ctop100_cantonese_reminiscence_songs%2Ctop100_folk_songs_with_original_guitar%2Ctop100_nostalgia-songs%2Ctop100_lazy-songs%2Ctop100_environmental-protection-songs%2Ctop100_songs_of_leslie%2Ctop100_wedding_songs%2Ctop100_mid-autumn_festival_songs%2Ctop100_wisdom_women_songs%2Ctop100_olympic_hots_songs%2Ctop100_travelling_in_tibet_hot_songs%2Ctop100_earthquake_relief_songs%2Ctop100_best_men_singer-songwriter_songs%2Ctop100_joyous_music_life_songs%2Ctop100_comfortable_holiday_songs%2Ctop100_representative_songs%2Ctop100_the_overture_of_seven-color_carnations%2Ctop100_beijing_city_landmark_songs%2Ctop100_duet_songs%2Ctop100_charm_housewives_songs%2Ctop100_ost_classic_songs%2Ctop100_chinese_band_songs&amp;topicTitles=%E7%BB%8F%E5%85%B8%E9%99%88%E5%A5%95%E8%BF%85%2C%E7%BE%8E%E5%91%B3%E7%BA%AF%E7%88%B1%E7%89%A9%E8%AF%AD%2C%E5%A4%B1%E6%81%8B%E8%80%85%E7%96%97%E4%BC%A4%E4%B9%8B%E5%9C%B0%2C%E7%8E%A9%E8%BD%AC%E5%85%AC%E5%91%8A%E7%89%8C%E8%BE%91%E4%B8%80%2C%E5%88%9B%E4%BD%9C%E5%81%B6%E5%83%8F%E7%BA%A2%E4%BA%BA%E9%A6%86%2C%E4%B8%8E%E4%BD%A0%E5%8E%BB%E5%90%AC%E6%B5%B7%2C%E7%8C%AE%E7%BB%99%E8%80%B6%E5%92%8C%E5%8D%8E%E7%9A%84%E8%AF%97%2C%E6%91%A9%E7%99%BB%E9%9F%B3%E4%B9%90%E5%9F%8E%E4%B8%AD%E5%BF%97%2C%E7%83%AD%E8%88%9E%E8%BF%B7%E6%83%85%E5%A4%9C%2C%E4%B8%AD%E5%9B%BD%E5%9C%B0%E4%B8%8B%E5%8A%BF%E5%8A%9B%E8%BE%912%2C%E7%88%B5%E8%89%B2%E6%83%8A%E9%AD%82%E5%90%8D%E4%BC%B6%E8%AE%B0%2C%E4%B8%AD%E5%9B%BD%E5%9C%B0%E4%B8%8B%E5%8A%BF%E5%8A%9B%E8%BE%911%2C%E5%98%BB%E5%93%88%E5%9C%A3%E6%AE%BF%E4%B9%8B%E5%B8%AE%E5%8C%AA%E5%A0%82%2C%E7%BA%AF%E7%9C%9F%E5%B9%B4%E4%BB%A3%2C%E5%94%B1%E6%B8%B8%E7%AB%A5%E5%BF%83%E4%B9%90%E5%9B%AD%2C%E5%B0%8F%E4%BC%97%E8%BF%B7%E9%9F%B3%E4%B9%90%E8%8A%B1%E5%9B%AD%2C%E6%88%91%E7%9A%84%E7%88%B1%E6%81%8B%E5%80%BE%E5%9F%8E%2C%E6%9A%96%E5%BF%83%E5%91%8A%E7%99%BD%E5%BF%85K%E6%9B%B2%2C%E5%85%83%E5%AE%B5%E8%8A%82%E8%B5%8F%E6%9C%88%E4%BD%B3%E6%9B%B2%2C%E6%96%B0%E6%98%A5%E6%B0%91%E9%9F%B5%E4%BC%B4%E4%BD%A0%E5%BF%83%2C%E6%B5%81%E6%B5%AA%E8%80%85%E6%80%9D%E4%B9%A1%E6%81%8B%E6%9B%B2%2C%E6%96%B0%E6%98%A5%E6%97%8B%E5%BE%8B%E7%A5%9D%E7%A6%8F%E4%BD%A0%2C%E6%96%B0%E5%B9%B4%E5%96%9C%E4%B9%90%E5%8E%85%2C%E7%B2%A4%E8%AF%AD%E8%87%B3%E5%B0%8A%E6%96%B0%E4%BA%BA%E7%8E%8B%2C%E6%82%A0%E6%82%A0%E5%9B%9B%E5%AD%A3%E9%A3%8E%E4%B9%8B%E6%AD%8C%2C%E5%B9%B3%E6%B0%91%E5%B7%A8%E6%98%9F%E7%83%AD%E6%9B%B2%E6%B1%87%2C%E6%AD%8C%E4%BB%8E%E9%A9%AC%E6%9D%A5%E8%A5%BF%E4%BA%9A%E6%9D%A5%2C%E5%8E%86%E5%B1%8A%E8%BF%B7%E7%AC%9B%E7%B2%BE%E5%93%81%E6%B1%87%2C%E9%87%91%E7%89%8C%E7%B2%A4%E8%AF%AD%E5%A4%A9%E5%90%8E%E7%AF%87%2C%E9%87%91%E7%89%8C%E7%B2%A4%E8%AF%AD%E5%A4%A9%E7%8E%8B%E7%AF%87%2C%E9%87%8D%E6%B8%A990%E5%8D%8E%E8%AF%AD%E6%AD%8C%E5%9D%9B%2C%E7%B2%A4%E8%AF%AD%E6%80%80%E6%97%A7%E7%99%BD%E9%87%91%E6%9B%B2%2C%E6%B8%85%E6%96%B0%E5%90%89%E4%BB%96%E4%BC%B4%E6%B0%91%E8%B0%A3%2C%E6%97%A7%E6%97%A5%E6%80%9D%E7%BB%AA%E6%80%80%E6%97%A7%E6%9B%B2%2C%E4%BA%AB%E5%8F%97%E6%85%B5%E6%87%92%E4%BC%91%E9%97%B2%E6%AD%8C%2C%E7%BB%BF%E8%89%B2%E7%8E%AF%E4%BF%9D%E5%85%AC%E7%9B%8A%E6%AD%8C%2C%E5%9B%BD%E8%8D%A3%E7%BB%8F%E5%85%B8%E6%9B%B2%E5%9B%9E%E9%A1%BE%2C%E5%A9%9A%E7%A4%BC%E5%BF%85%E9%80%89%E7%A5%9D%E7%A6%8F%E6%AD%8C%2C%E4%B8%AD%E7%A7%8B%E8%B5%8F%E6%9C%88%E4%BD%B3%E6%9B%B2%E6%B1%87%2C%E6%89%8D%E6%83%85%E7%9F%A5%E6%80%A7%E5%A5%B3%E4%BA%BA%E6%9B%B2%2C%E5%A5%A5%E8%BF%90%E5%81%A5%E5%84%BF%E5%8A%A0%E6%B2%B9%E6%AD%8C%2C%E9%9F%B3%E4%B9%90%E5%B8%A6%E4%BD%A0%E6%B8%B8%E8%A5%BF%E8%97%8F%2C%E6%8A%97%E9%9C%87%E6%95%91%E7%81%BE%E5%A3%AE%E5%BF%97%E6%9B%B2%2C%E5%94%B1%E4%BD%9C%E7%94%B7%E7%94%9F%E6%9C%80%E6%B5%81%E8%A1%8C%2C%E5%BF%AB%E4%B9%90%E7%94%9F%E6%B4%BB%E4%BC%91%E9%97%B2%E6%AD%8C%2C%E6%94%BE%E6%9D%BE%E5%BF%83%E6%83%85%E4%B8%93%E7%94%A8%E6%AD%8C%2C%E4%B8%80%E4%BA%BA%E4%B8%80%E9%A6%96%E6%88%90%E5%90%8D%E6%9B%B2%2C%E4%B8%83%E8%89%B2%E5%BA%B7%E4%B9%83%E9%A6%A8%E5%BA%8F%E6%9B%B2%2C%E5%8C%97%E4%BA%AC%E5%9F%8E%E5%B8%82%E6%A0%87%E5%BF%97%E6%AD%8C%2C%E4%BA%8C%E4%BA%BA%E4%B8%96%E7%95%8C%E5%B1%85%E5%AE%B6%E6%9B%B2%2C%E7%BE%8E%E4%B8%BD%E4%B8%BB%E5%A6%87%E5%AE%B6%E5%8A%A1%E6%AD%8C%2C%E5%BD%B1%E8%A7%86%E9%87%91%E6%9B%B2%E7%B2%BE%E7%B2%B9%2C%E5%8D%8E%E4%BA%BA%E7%BB%84%E5%90%88%E7%83%AD%E6%AD%8C%E6%A6%9C&amp;topicNameHash=1DBE8E3536356301C7032EC3E512474C&amp;enableChina512EarthquakeRemembrance=false&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; scale<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;noscale&quot;</span> wmode<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;window&quot;</span> salign<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;lt&quot;</span> loop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/object.html"><span style="color: #000000; font-weight: bold;">object</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;debug-msg-container&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display: none&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ads-absolute&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ads-line&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ads-image&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;top100_admusic_adifr&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">frameborder</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;630&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;80&quot;</span> <span style="color: #000066;">scrolling</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;no&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=2162";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=2162" title="Permanent Link to google挑歌" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=2162</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2011年12月21日  //  <a href="http://ihacklog.com/php/wordpress/plugins/about-hacklog-downloadmanager-later-development.html" title="关于Hacklog DownloadManager的后期开发">关于Hacklog DownloadManager的后期开发</a> (12)</li><li>2008年12月31日  //  <a href="http://ihacklog.com/php/skills/%e5%9f%ba%e7%a1%80%e8%a1%a5%e4%b9%a0%ef%bc%9aphp%e6%98%93%e6%b7%b7%e6%b7%86%e5%87%bd%e6%95%b0%e7%9a%84%e5%8c%ba%e5%88%86.html" title="基础补习：PHP易混淆函数的区分">基础补习：PHP易混淆函数的区分</a> (0)</li><li>2011年05月29日  //  <a href="http://ihacklog.com/software/use-imdisable-switch-fcitx-input-method-in-vim.html" title="利用imdisable实现Fcitx与VIM模式切换">利用imdisable实现Fcitx与VIM模式切换</a> (0)</li><li>2008年12月21日  //  <a href="http://ihacklog.com/xml_html_css_js_ajax/ajax%e4%bd%bf%e7%94%a8post%e6%96%b9%e6%b3%95.html" title="Ajax使用POST方法">Ajax使用POST方法</a> (0)</li><li>2011年07月10日  //  <a href="http://ihacklog.com/php/skills/install-phpdocumentor-pear-package.html" title="安装PhpDocumentor PEAR包">安装PhpDocumentor PEAR包</a> (1)</li><li>2009年09月28日  //  <a href="http://ihacklog.com/php/wordpress/wpskills/wordpress-under-html-editor-open-anchor-in-new-window.html" title="让wordpress在 HTML编辑器下添加链接在新窗口中打开">让wordpress在 HTML编辑器下添加链接在新窗口中打开</a> (8)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/googletiaoge.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>百度空间删除文章的隐藏表单</title>
		<link>http://ihacklog.com/xml_html_css_js_ajax/baidukongjianshanchuwenzhangdeyincangbiaodan.html</link>
		<comments>http://ihacklog.com/xml_html_css_js_ajax/baidukongjianshanchuwenzhangdeyincangbiaodan.html#comments</comments>
		<pubDate>Wed, 27 May 2009 13:54:04 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[前端开发]]></category>

		<guid isPermaLink="false">http://blog.thinkstd.com/?p=2155</guid>
		<description><![CDATA[原创文章 下面是定义的函数： 1234567891011121314151617181920212223242526272829303132333435&#60;script language=&#34;javascript&#34;&#62; &#60;!-- var k=0,j=0; function blogdel&#40;str&#41; &#123; &#160; &#160; var pop=new Popup&#40;&#123; contentType:3,isReloadOnClose:...]]></description>
			<content:encoded><![CDATA[<p><em>原创文章</em></p>
<p>下面是定义的函数：</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;!--</span><br />
<span style="color: #003366; font-weight: bold;">var</span> k<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>j<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #003366; font-weight: bold;">function</span> blogdel<span style="color: #009900;">&#40;</span>str<span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> pop<span style="color: #339933;">=</span><span style="color: #003366; font-weight: bold;">new</span> Popup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> contentType<span style="color: #339933;">:</span><span style="color: #CC0000;">3</span><span style="color: #339933;">,</span>isReloadOnClose<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>width<span style="color: #339933;">:</span><span style="color: #CC0000;">340</span><span style="color: #339933;">,</span>height<span style="color: #339933;">:</span><span style="color: #CC0000;">80</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; pop.<span style="color: #660066;">setContent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;删除文章&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; pop.<span style="color: #660066;">setContent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;confirmCon&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;您确定要彻底删除这篇文章及其所有评论吗？&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; pop.<span style="color: #660066;">setContent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;callBack&quot;</span><span style="color: #339933;">,</span>delCallback<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; pop.<span style="color: #660066;">setContent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;parameter&quot;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>fid<span style="color: #339933;">:</span>str<span style="color: #339933;">,</span>popup<span style="color: #339933;">:</span>pop<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; pop.<span style="color: #660066;">build</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; pop.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #003366; font-weight: bold;">function</span> delCallback<span style="color: #009900;">&#40;</span>para<span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> o_pop<span style="color: #339933;">=</span>para<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;popup&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; o_pop.<span style="color: #660066;">config</span>.<span style="color: #660066;">contentType</span><span style="color: #339933;">=</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; o_pop.<span style="color: #660066;">setContent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;contentUrl&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; o_pop.<span style="color: #660066;">reBuild</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; G<span style="color: #009900;">&#40;</span>para<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;fid&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">target</span><span style="color: #339933;">=</span>o_pop.<span style="color: #660066;">iframeIdName</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">eval</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;document.&quot;</span><span style="color: #339933;">+</span>para<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;fid&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
&nbsp;String.<span style="color: #660066;">prototype</span>._encodeHTML <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/./g</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> &nbsp;<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&amp;#'</span> <span style="color: #339933;">+</span> s.<span style="color: #660066;">charCodeAt</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #003366; font-weight: bold;">var</span> XSSspRefURL <span style="color: #339933;">=</span> window.<span style="color: #660066;">location</span>.<span style="color: #660066;">href</span>._encodeHTML<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">//--&gt;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>
<p>在每篇博文处加上了js代码：</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">&lt;!--</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;dArea&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">id</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;dArea&quot;</span> <span style="color: #339933;">+</span> k<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;dArea&quot;</span><span style="color: #339933;">+</span>k<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot; | &lt;a href='#' onClick='return blogdel(<span style="color: #000099; font-weight: bold;">\&quot;</span>form&quot;</span><span style="color: #339933;">+</span>k<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>);'&gt;删除&lt;/a&gt; &lt;form style='display:none;' action='/54phper/commit' name='form&quot;</span><span style="color: #339933;">+</span>k<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;' id='form&quot;</span><span style="color: #339933;">+</span>k<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;' method='post'&gt;&lt;input type='hidden' &nbsp;name='ct' value='1'&gt;&lt;input type='hidden' &nbsp;name='cm' value='3'&gt;&lt;input type='hidden' &nbsp;name='spBlogID' value='a59858dee1340450cdbf1a35'&gt;&lt;input type='hidden' name='spRefURL' value='&quot;</span><span style="color: #339933;">+</span>XSSspRefURL<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;'&gt;&lt;/form&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; k<span style="color: #339933;">++;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">//--&gt;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>
<p>其中有一个隐藏表单，表单action指向http://hi.baidu.com/54phper/commit ,表单name 、 id 都是加上自增数k生成的。<br />
其中还有很多隐藏域，spBlogID为博文在数据库里的id，这个参数比较重要，其它的是类别啊什么的，那个就不说了。<br />
form name (表单名称) 和blogdel里传递的参数是相同的，这一点要注意。</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000066; font-weight: bold;">eval</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;document.&quot;</span><span style="color: #339933;">+</span>para<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;fid&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>即是提交隐藏的表单删除文章。</p>
<p>j变量用于显示博文的即时浏览量：</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">浏览(<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fArea&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript&quot;</span>&gt;</span>var tps = &quot;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'div&quot;+j+&quot;'</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>&quot;;j++;document.getElementById(&quot;fArea&quot;).id = &quot;fArea&quot; + j;document.getElementById(&quot;fArea&quot;+j).innerHTML = tps;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span>)</div></td></tr></tbody></table></div>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=2155";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=2155" title="Permanent Link to 百度空间删除文章的隐藏表单" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=2155</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2008年12月31日  //  <a href="http://ihacklog.com/php/cpu%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%ef%bc%9acpu%e5%89%8d%e7%ab%af%e6%80%bb%e7%ba%bf.html" title="CPU基础知识：CPU前端总线">CPU基础知识：CPU前端总线</a> (0)</li><li>2011年06月24日  //  <a href="http://ihacklog.com/programming/c/char-is-signed-or-unsigned-by-default.html" title="关于C语言的char类型是有符号还是无符号">关于C语言的char类型是有符号还是无符号</a> (0)</li><li>2011年06月6日  //  <a href="http://ihacklog.com/linux/linux-game-alienarena.html" title="Linux下一款好玩的游戏：alienarena">Linux下一款好玩的游戏：alienarena</a> (4)</li><li>2009年08月8日  //  <a href="http://ihacklog.com/php/one-month-left.html" title="还有一个月假期">还有一个月假期</a> (0)</li><li>2010年03月28日  //  <a href="http://ihacklog.com/php/original/better-i-feel-lucky.html" title="I feel lucky修改版">I feel lucky修改版</a> (23)</li><li>2008年12月24日  //  <a href="http://ihacklog.com/security_optimization/php%e6%b2%89%e6%80%9d%e5%bd%95%e4%b9%8b%e4%b8%80%ef%bc%9a%e5%b7%a5%e4%bd%9c%e6%a8%a1%e5%9e%8b.html" title="PHP沉思录之一：工作模型">PHP沉思录之一：工作模型</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/xml_html_css_js_ajax/baidukongjianshanchuwenzhangdeyincangbiaodan.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

