<?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>PROSPEROUS WORLD &#187; Code</title>
	<atom:link href="http://www.lensee.net/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lensee.net</link>
	<description>岚汐之语 - 只因为存在</description>
	<lastBuildDate>Sun, 18 Dec 2011 09:41:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CSS模拟Lightbox</title>
		<link>http://www.lensee.net/2008/07/css-simulation-lightbox/</link>
		<comments>http://www.lensee.net/2008/07/css-simulation-lightbox/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 12:19:08 +0000</pubDate>
		<dc:creator>孤单一吻</dc:creator>
				<category><![CDATA[天下杂侃]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.lensee.net/?p=56</guid>
		<description><![CDATA[.overlay { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color:#000; z-index:900; -moz-opacity: 0.8; opacity:.80; filter: alpha(opacity=80); } .white_content { display: none; position: absolute; top: 25%; left: 25%; width: 344px; height: 57px; padding: 6px; background-color: white; z-index:901; overflow: auto; } Lightbox是一个很华丽的图片显示效果，当然也许你并不喜欢。它通过JS使图片直接呈现在当前页面之上而不用转到新的窗口。但是缺点是必须要加载完页面以后才有效果，在这点上highslide做得更好。lightbox效果有很多版本，这里我就不一一列举。它们都是靠JS实现的，JS文件小的十几K，大的上百K。当然了，相应的能实现更多特效。如果只是需要在个别页面实现一个类似Lightbox的效果，单纯依靠CSS实现，不含js也是很不错的。点击右侧图片查看效果。]]></description>
			<content:encoded><![CDATA[<style>
.overlay
{
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color:#000;
            z-index:900;
            -moz-opacity: 0.8;
            opacity:.80;
            filter: alpha(opacity=80);
}
.white_content
{
            display: none;
            position: absolute;
            top: 25%;
            left: 25%;
            width: 344px;
            height: 57px;
            padding: 6px;
            background-color: white;
            z-index:901;
            overflow: auto;
}
</style>
<p><a title="点击放大" href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'"><img class="alignright" src="http://www.lensee.net/albums/content/pictures0/logo_pw.png" width="210"  border="0"></a>Lightbox是一个很华丽的图片显示效果，当然也许你并不喜欢。它通过JS使图片直接呈现在当前页面之上而不用转到新的窗口。但是缺点是必须要加载完页面以后才有效果，在这点上highslide做得更好。lightbox效果有很多版本，这里我就不一一列举。它们都是靠JS实现的，JS文件小的十几K，大的上百K。当然了，相应的能实现更多特效。如果只是需要在个别页面实现一个类似Lightbox的效果，单纯依靠CSS实现，不含js也是很不错的。点击右侧图片查看效果。</p>
<div id="light" class="white_content">
<a title="点击关闭" href="javascript:void(0)" onclick="document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'"><img border="0" src="http://www.lensee.net/albums/content/pictures0/logo_pw.png" width="344" height="57"><br />
</a>
</div>
<div id="fade" class="overlay"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lensee.net/2008/07/css-simulation-lightbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS部分备忘</title>
		<link>http://www.lensee.net/2008/06/css-record/</link>
		<comments>http://www.lensee.net/2008/06/css-record/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 23:22:56 +0000</pubDate>
		<dc:creator>孤单一吻</dc:creator>
				<category><![CDATA[天下杂侃]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.lensee.net/?p=49</guid>
		<description><![CDATA[继续学习，知道得还是太少啊，连门槛都还没摸到。 CSS控制大小写 首字母大写 text-transform:capitalize; 全部大写 text-transform:uppercase; 全部小写 text-transform:lowercasecase;]]></description>
			<content:encoded><![CDATA[<p>继续学习，知道得还是太少啊，连门槛都还没摸到。</p>
<blockquote><p>CSS控制大小写</p>
<p>首字母大写<br />
text-transform:capitalize;<br />
全部大写<br />
text-transform:uppercase;<br />
全部小写<br />
text-transform:lowercasecase;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.lensee.net/2008/06/css-record/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>随机日志注解备忘</title>
		<link>http://www.lensee.net/2008/06/random-entries-annotations/</link>
		<comments>http://www.lensee.net/2008/06/random-entries-annotations/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 22:15:08 +0000</pubDate>
		<dc:creator>孤单一吻</dc:creator>
				<category><![CDATA[学海无涯]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[EVE]]></category>
		<category><![CDATA[脚本]]></category>

		<guid isPermaLink="false">http://www.lensee.net/?p=48</guid>
		<description><![CDATA[中文 WordPress 工具箱随机日志注解备忘。 在模板里调用： &#60;?php random_posts(); ?&#62; 调用方式： random_posts ($limit = 5, $length = 400, $before = ‘&#60;li&#62;’, $after = ‘&#60;/li&#62;’, $show_pass_post = false, $show_excerpt_in_title = true) $limit：显示文章数，缺省5篇； $length：摘要长度，缺省400； $before：每条记录前显示的文字，缺省&#60;li&#62; $after：每条记录后显示的文字，缺省&#60;/li&#62; $show_pass_post：是(true)/否(false)显示保护了的文章，缺省否(false) $show_excerpt_in_title：是(true)，摘要显示于文章链接的title；否(false)，直接显示于页面；缺省是(true)]]></description>
			<content:encoded><![CDATA[<p>中文 WordPress 工具箱随机日志注解备忘。</p>
<blockquote><p>在模板里调用：</p>
<p>&lt;?php random_posts(); ?&gt;</p>
<p>调用方式：<br />
random_posts ($limit = 5, $length = 400, $before = ‘&lt;li&gt;’, $after = ‘&lt;/li&gt;’, $show_pass_post = false, $show_excerpt_in_title = true)</p>
<p>$limit：显示文章数，缺省5篇；<br />
$length：摘要长度，缺省400；<br />
$before：每条记录前显示的文字，缺省&lt;li&gt;<br />
$after：每条记录后显示的文字，缺省&lt;/li&gt;<br />
$show_pass_post：是(true)/否(false)显示保护了的文章，缺省否(false)<br />
$show_excerpt_in_title：是(true)，摘要显示于文章链接的title；否(false)，直接显示于页面；缺省是(true)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.lensee.net/2008/06/random-entries-annotations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>去掉超链接的下划线</title>
		<link>http://www.lensee.net/2008/05/del_link_next_draws_a_line/</link>
		<comments>http://www.lensee.net/2008/05/del_link_next_draws_a_line/#comments</comments>
		<pubDate>Sat, 17 May 2008 14:17:26 +0000</pubDate>
		<dc:creator>孤单一吻</dc:creator>
				<category><![CDATA[学海无涯]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Link]]></category>

		<guid isPermaLink="false">http://127.0.0.1/wp/?p=59</guid>
		<description><![CDATA[文字链接 a { blr:expression(this.onFocus=this.blur()) } 如果是图片区域，可以加： area { blr:expression(this.onFocus=this.blur()) } 针对图片链接 或: [script] function bluring(){ if(event.srcElement.tagName==”A”&#124;&#124;event.srcElement.tagName==”IMG”) document.body.focus(); } document.onfocusin=bluring; [/script] []替换为就不用说了吧……]]></description>
			<content:encoded><![CDATA[<p>文字链接</p>
<blockquote><p>a {<br />
	blr:expression(this.onFocus=this.blur())<br />
}</p></blockquote>
<p>如果是图片区域，可以加：</p>
<blockquote><p>area {<br />
	blr:expression(this.onFocus=this.blur())<br />
}</p></blockquote>
<p>针对图片链接</p>
<p>或:</p>
<blockquote><p>[script]<br />
function bluring(){<br />
if(event.srcElement.tagName==”A”||event.srcElement.tagName==”IMG”) document.body.focus();<br />
}<br />
document.onfocusin=bluring;<br />
[/script]</p></blockquote>
<p>[]替换为<>就不用说了吧……</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lensee.net/2008/05/del_link_next_draws_a_line/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flash相关</title>
		<link>http://www.lensee.net/2008/04/related_flash/</link>
		<comments>http://www.lensee.net/2008/04/related_flash/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 14:36:29 +0000</pubDate>
		<dc:creator>孤单一吻</dc:creator>
				<category><![CDATA[学海无涯]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[脚本]]></category>

		<guid isPermaLink="false">http://127.0.0.1/wp/?p=56</guid>
		<description><![CDATA[自己写引导页的时候用到了FLASH，不过以前一直对FLASH不怎么感冒，因为维护太麻烦。虽然他很华丽…… 把用到的写下来，算是备忘吧。 按纽,当前窗口转跳到目标地址 on(release) { getURL(“index.php”,”_self”); } 在最后一贞插入 getURL(“index.php”) 可实现自动转跳 在embed里加上 wmode=”transparent” 可实现背景透明效果。]]></description>
			<content:encoded><![CDATA[<p>自己写引导页的时候用到了FLASH，不过以前一直对FLASH不怎么感冒，因为维护太麻烦。虽然他很华丽……<br />
把用到的写下来，算是备忘吧。<br />
按纽,当前窗口转跳到目标地址</p>
<blockquote><p>on(release)<br />
{<br />
  getURL(“index.php”,”_self”);<br />
}</p></blockquote>
<p>在最后一贞插入</p>
<blockquote><p>getURL(“index.php”)</p></blockquote>
<p>可实现自动转跳</p>
<p>在embed里加上</p>
<blockquote><p>wmode=”transparent”</p></blockquote>
<p>可实现背景透明效果。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lensee.net/2008/04/related_flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

