<?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>web集结号 &#187; js特效</title>
	<atom:link href="http://www.songlecn.com/tag/js%e7%89%b9%e6%95%88/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.songlecn.com</link>
	<description>专注于web表现层技术</description>
	<lastBuildDate>Wed, 04 Nov 2009 02:46:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>js圆角效果</title>
		<link>http://www.songlecn.com/2009/05/909/</link>
		<comments>http://www.songlecn.com/2009/05/909/#comments</comments>
		<pubDate>Fri, 08 May 2009 02:35:38 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[圆角效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=909</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js圆角效果，给div添加圆角效果，多种样式可定制，运行代码查看 &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;JavaScript 圆角效果&#60;/title&#62; &#60;style type=&#34;text/css&#34;&#62; #shadowed-border { padding: 20px; width: 30%; margin: 20px auto; } #shadowed-border .sb-inner { background:#ccc; } #shadowed-border .sb-border { background:#fff; } #shadowed-border2 { padding: 10px; width: 30%; margin: 10px auto; } #shadowed-border2 .sb-inner { background:#DFE2FF; [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/05/909/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web效果套装-shiftzoom缩放效果</title>
		<link>http://www.songlecn.com/2009/05/901/</link>
		<comments>http://www.songlecn.com/2009/05/901/#comments</comments>
		<pubDate>Thu, 07 May 2009 02:50:46 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[shiftzoom]]></category>
		<category><![CDATA[web效果套装]]></category>
		<category><![CDATA[缩放效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=901</guid>
		<description><![CDATA[web效果套装-shiftzoom缩放效果，它可以帮助你在网站上添加一种图片的缩放效果，更可用于地图导航等方面，示例中各方面应用描述详尽，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/05/901/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web效果套装-page curl翻页效果</title>
		<link>http://www.songlecn.com/2009/05/892/</link>
		<comments>http://www.songlecn.com/2009/05/892/#comments</comments>
		<pubDate>Wed, 06 May 2009 02:35:04 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[page curl]]></category>
		<category><![CDATA[web效果套装]]></category>
		<category><![CDATA[翻页效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=892</guid>
		<description><![CDATA[web效果套装-page curl翻页效果，给图片增加一个从页脚翻起的效果，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/05/892/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web效果套装-bevel</title>
		<link>http://www.songlecn.com/2009/05/884/</link>
		<comments>http://www.songlecn.com/2009/05/884/#comments</comments>
		<pubDate>Tue, 05 May 2009 02:19:00 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[bevel]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[web效果套装]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=884</guid>
		<description><![CDATA[web效果套装-bevel，看看效果图吧：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/05/884/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web效果套装-busy loading效果</title>
		<link>http://www.songlecn.com/2009/05/874/</link>
		<comments>http://www.songlecn.com/2009/05/874/#comments</comments>
		<pubDate>Mon, 04 May 2009 02:19:33 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[loading效果]]></category>
		<category><![CDATA[web效果套装]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=874</guid>
		<description><![CDATA[web效果套装-busy loading效果，您可以添加/删除loadig图标，以HTML元素（或视图）对您的网页（公司重叠的颜色及透明度）展示，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/05/874/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web效果套装-loupe放大镜效果</title>
		<link>http://www.songlecn.com/2009/04/831/</link>
		<comments>http://www.songlecn.com/2009/04/831/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 03:05:23 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[loupe]]></category>
		<category><![CDATA[web效果套装]]></category>
		<category><![CDATA[放大镜效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=831</guid>
		<description><![CDATA[web效果套装-loupe放大镜效果，它可以添加一个放大镜在您的网页上的图像上，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/831/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web效果套装-filmed影片特效</title>
		<link>http://www.songlecn.com/2009/04/810/</link>
		<comments>http://www.songlecn.com/2009/04/810/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 03:10:16 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[filmed]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[web效果套装]]></category>
		<category><![CDATA[影片特效]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=810</guid>
		<description><![CDATA[web效果套装-filmed影片特效，它允许您添加电影地带和阴影的图像在您的网页上，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web效果套装-slided幻灯阴影</title>
		<link>http://www.songlecn.com/2009/04/802/</link>
		<comments>http://www.songlecn.com/2009/04/802/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 02:58:59 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[slided]]></category>
		<category><![CDATA[web效果套装]]></category>
		<category><![CDATA[幻灯阴影]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=802</guid>
		<description><![CDATA[web效果套装-slided幻灯阴影，它允许您添加幻灯片框架和阴影的图像在您的网页上。它采用不显眼的JavaScript代码，以使您的代码清洁。效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/802/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>web效果套装-instant即时图片效果</title>
		<link>http://www.songlecn.com/2009/04/787/</link>
		<comments>http://www.songlecn.com/2009/04/787/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 03:44:00 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[instant]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[web效果套装]]></category>
		<category><![CDATA[即时图片效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=787</guid>
		<description><![CDATA[web效果套装-instant即时图片效果，为图片增加一个即时效果，很不错，看图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/787/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>独一无二的弹性图片展示特效</title>
		<link>http://www.songlecn.com/2009/04/769/</link>
		<comments>http://www.songlecn.com/2009/04/769/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 03:21:37 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[图片展示]]></category>
		<category><![CDATA[弹性特效]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=769</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>独一无二的弹性图片展示特效，效果不错，点击运行查看效果： &#60;html&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; /&#62; &#60;script type=&#34;text/javascript&#34;&#62; eval(function(p,a,c,k,e,d){e=function(c){return(c&#60;a?'':e(parseInt(c/a)))+((c=c%a)&#62;35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]&#124;&#124;e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('n 19=l(1W){n 4h=l(){m(9.1n&#38;&#38;15[0]!=\'6d\')k 9.1n.2K(9,15);T k 9};P(n C 14 9)4h[C]=9[C];4h.Y=1W;k 4h};19.1H=l(){};19.Y={V:l(1W){n 4g=Q 9(\'6d\');n 6c=l(2C,1x){m(!2C.2K&#124;&#124;!1x.2K)k U;k l(){9.1A=2C;k 1x.2K(9,15)}};P(n C 14 1W){n 2C=4g[C];n 1x=1W[C];m(2C&#38;&#38;2C!=1x)1x=6c(2C,1x)&#124;&#124;1x;4g[C]=1x}k Q 19(4g)},26:l(1W){P(n C 14 1W)9.Y[C]=1W[C]}};2a.V=l(){n 12=15;12=(12[1])?[12[0],12[1]]:[9,12[0]];P(n C 14 12[1])12[0][C]=12[1][C];k 12[0]};2a.5f=l(){P(n i=0;i&#60;15.11;i++)15[i].V=19.Y.26};Q 2a.5f(51,1t,5E,6h,19);m(5u 3L==\'2R\'){n 3L=19.1H;3L.Y={}}T{3L.Y.5c=1h}1a.V=L.V=2a.V;n 8x=1a;l $B(J){m(J===22&#124;&#124;J===2R)k U;n B=5u J;m(B==\'4U\'){m(J.5c)k\'G\';m(J.1o)k\'1P\';m(J.8w){23(J.6m){18 1:k\'G\';18 3:k [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/769/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js广告-左右底部广告</title>
		<link>http://www.songlecn.com/2009/04/759/</link>
		<comments>http://www.songlecn.com/2009/04/759/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 02:39:31 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[JS广告]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[左右底部广告]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=759</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js广告-左右底部广告，可定制左边显示、右边显示和两边显示，代码相当简单 &#60;script type=&#34;text/javascript&#34; language=&#34;javascript&#34;&#62; var MmyeeAdShow = 3; //1为左侧显示 2为右侧显示 其他为两侧显示 var MmyeeAdWidth =300; //广告宽度 var MmyeeAdHeight = 200; //广告高度 //左边浮动 var AdLeftContent= &#34;&#60;div&#62;&#60;iframe id='iframyee' bordercolor='#000000' frameborder='0' hspace='0' marginheight='0' marginwidth='0' scrolling='no' src='http://www.songlecn.com' width='&#34;+MmyeeAdWidth+&#34;' height='&#34;+MmyeeAdHeight+&#34;'&#62;&#60;/iframe&#62;&#60;/div&#62;&#34;; //右边浮动 var AdRightContent = &#34;&#60;div&#62;&#60;iframe id=iframyee frameborder=0 marginwidth=0 marginheight=0 bordercolor='#000000' hspace='0' scrolling=no src='http://www.songlecn.com' width='&#34;+MmyeeAdWidth+&#34;' height='&#34;+MmyeeAdHeight+&#34;'&#62;&#60;/iframe&#62;&#60;/div&#62;&#34; //漂浮据页面底部设定框值，为了美观请不要修改次参数 var marginTop = 10 //漂浮据边框的距离 [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/759/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js浮动广告代码</title>
		<link>http://www.songlecn.com/2009/04/750/</link>
		<comments>http://www.songlecn.com/2009/04/750/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 02:26:06 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[浮动广告]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=750</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js浮动广告代码，常见的在屏幕内漂浮的图片广告效果，可以吸引用户注意力，缺点是用户体验稍差 &#60;div id=&#34;img&#34; style=&#34;LEFT:27px; visibility=hidden;POSITION:absolute; TOP:1115px&#34;&#62; &#60;a href=&#34;http://www.songlecn.com&#34; target=&#34;_blank&#34;&#62; &#60;img border=0 src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/14/009.jpg&#34; width=400 height=50&#62; &#60;/a&#62; &#60;/div&#62; &#60;script language=&#34;javascript&#34;&#62; &#60;!-- Begin var xPos = 20; var yPos = document.body.clientHeight; var step = 1; var delay = 30; var height = 0; var Hoffset = 0; var Woffset = 0; var yon = 0; var xon = [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/750/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>js广告-流动效果</title>
		<link>http://www.songlecn.com/2009/04/742/</link>
		<comments>http://www.songlecn.com/2009/04/742/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 02:35:47 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[JS广告]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[流动效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=742</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js广告-流动效果，很简单的，没什么技术含量 &#60;html&#62; &#60;head&#62;&#60;/head&#62; &#60;body&#62; &#60;marquee onMouseOver=this.stop() onMouseOut=this.start() scrollamount=5 behavior=alternate&#62; &#60;table cellspacing=0 cellpadding=2 width=&#34;100%&#34; border=0&#62; &#60;tbody&#62; &#60;tr&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; height=&#34;150&#34;&#62;&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;http://www.songlecn.com/wp-content/supload/2009/04/13/2.jpg&#34; width=&#34;150&#34; [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/742/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用Javascript实现抽奖功能</title>
		<link>http://www.songlecn.com/2009/04/735/</link>
		<comments>http://www.songlecn.com/2009/04/735/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 04:47:26 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[抽奖功能]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=735</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>用Javascript实现抽奖功能，很简单，点击运行查看效果 &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;title&#62; 抽奖系统&#60;/title&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34;&#62; &#60;script language=&#34;javascript&#34;&#62; &#60;!-- // global variables var timer; var flag = new Array(100); var existingnum = new Array(100); var clickTimes = 0; var randnum; var cellnum =1; var mobile = new Array(); // set data here!! mobile[0]=13020000100; [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/735/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>flash右侧浮动广告代码</title>
		<link>http://www.songlecn.com/2009/04/728/</link>
		<comments>http://www.songlecn.com/2009/04/728/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 06:39:51 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[广告代码]]></category>
		<category><![CDATA[浮动广告]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=728</guid>
		<description><![CDATA[flash右侧浮动广告代码，下载后看效果吧]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/728/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>简单的双击编辑文本js代码</title>
		<link>http://www.songlecn.com/2009/04/719/</link>
		<comments>http://www.songlecn.com/2009/04/719/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 02:33:00 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[双击编辑文本]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=719</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>我们经常看到交互性很强的功能。一些用户资料可以直接双击出现文本框，并在此输入新的资料即可修改，无需再按确定按钮等，这些功能看似较难，其实实现起来很简单，只需几行代码就可实现。 &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;直接双击页面元素进行修改的HTML代码&#60;/title&#62; &#60;script type=&#34;text/javascript&#34;&#62; function ShowElement(element) { var oldhtml = element.innerHTML; //获得元素之前的内容 var newobj = document.createElement('input'); //创建一个input元素 newobj.type = 'text'; //为newobj元素添加类型 //设置newobj失去焦点的事件 newobj.onblur = function(){ element.innerHTML = this.value ? this.value : oldhtml; //当触发时判断newobj的值是否为空，为空则不修改，并返回oldhtml。 } element.innerHTML = ''; //设置元素内容为空 element.appendChild(newobj); [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/719/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js广告-翻屏效果</title>
		<link>http://www.songlecn.com/2009/04/703/</link>
		<comments>http://www.songlecn.com/2009/04/703/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 02:38:31 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[JS广告]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[翻屏效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=703</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js广告-翻屏效果，运行代码即可查看： &#60;html&#62; &#60;head&#62;&#60;/head&#62; &#60;body&#62; &#60;div style=&#34;HEIGHT:85px&#34;&#62; &#60;script LANGUAGE='JavaScript'&#62; document.ns = navigator.appName == &#34;Microsoft Internet Explorer&#34;; function showStr(str,textWidth,num) { if(!document.ns) { document.write(str[0]+'&#60;br&#62;') } else { var wrt=&#34;&#34;; wrt+='&#60;table border=0 cellspacing=0 cellpadding=0&#62;'; wrt+='&#60;tr&#62;&#60;td&#62;'; wrt+='&#60;div id=&#34;icefable1'+num+'&#34;&#62;'; wrt+='&#60;table width='+textWidth+' border=0 cellspacing=0 cellpadding=0&#62;'; for (var i in str) { wrt+='&#60;tr&#62;&#60;td height=20&#62;'+str[i]+'&#60;/td&#62;&#60;/tr&#62;'; } scroll_num=i; wrt+='&#60;/table&#62;'; wrt+='&#60;/div&#62;'; wrt+='&#60;div id=&#34;icefable2'+num+'&#34; style=&#34;position:absolute;z-index:1;visibility:hidden&#34;&#62;&#60;/div&#62;'; wrt+='&#60;/td&#62;&#60;/tr&#62;'; wrt+='&#60;/table&#62;'; [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/703/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>效果好并实用的相册展示JS代码</title>
		<link>http://www.songlecn.com/2009/04/693/</link>
		<comments>http://www.songlecn.com/2009/04/693/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 02:46:11 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[图片展示]]></category>
		<category><![CDATA[相册展示]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=693</guid>
		<description><![CDATA[效果好并实用的相册展示JS代码，多种效果选择，效果也挺眩的，预览图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/693/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>实用可拖动的日历js+css代码</title>
		<link>http://www.songlecn.com/2009/04/672/</link>
		<comments>http://www.songlecn.com/2009/04/672/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 17:30:49 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[可拖动的日历]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=672</guid>
		<description><![CDATA[实用可拖动的日历js+css代码，精致、漂亮、实用的日历选择代码，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/672/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>实用的在当前页放大图片js+css代码</title>
		<link>http://www.songlecn.com/2009/04/671/</link>
		<comments>http://www.songlecn.com/2009/04/671/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 17:30:44 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[图片展示]]></category>
		<category><![CDATA[当前页放大图片]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=671</guid>
		<description><![CDATA[实用的在当前页放大图片js+css代码，放大时动作流畅，简单实用，适合在本窗口点击察看大图，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/671/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MagicZoom图片放大效果JS代码</title>
		<link>http://www.songlecn.com/2009/04/670/</link>
		<comments>http://www.songlecn.com/2009/04/670/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 17:30:01 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[MagicZoom]]></category>
		<category><![CDATA[图片放大效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=670</guid>
		<description><![CDATA[MagicZoom图片放大效果JS代码，一个可一在网页上局部放大图片的代码，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/670/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>能挡住下拉表单的CSS+JS下拉菜单</title>
		<link>http://www.songlecn.com/2009/04/669/</link>
		<comments>http://www.songlecn.com/2009/04/669/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 17:30:28 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[挡住下拉框]]></category>
		<category><![CDATA[菜单]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=669</guid>
		<description><![CDATA[能挡住下拉表单的CSS+JS下拉菜单，可能部分朋友为下拉菜单被表单中的下拉选项挡住所困扰，这个代码能彻底解决这一问题。 Demo链接：http://users.tpg.com.au/j_birch/plugins/superfish/#examples]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/04/669/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js顶部滚动条</title>
		<link>http://www.songlecn.com/2009/03/668/</link>
		<comments>http://www.songlecn.com/2009/03/668/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 17:30:32 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[js顶部滚动条]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=668</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js顶部滚动条，顶部滚动显示的效果，没什么技术含量，这几天没去找好东西，先发些基础的吧 &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;顶部滚动条&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;marquee id=&#34;alertit&#34; style=&#34;position:absolute;left:0px;top:0;background-color:#FFFFE6&#34; onMouseover=&#34;this.scrollAmount=1&#34; onMouseout=&#34;this.scrollAmount=speed&#34;&#62;&#60;/marquee&#62; &#60;script type=&#34;text/javascript&#34;&#62; //Customize your message here. Use any HTML desired: var themsg='&#60;span style=&#34;font:italic 22px Arial;color:red;&#34;&#62;&#60;b&#62;Breaking News: Microsoft Stock up 10 points! Source: &#60;a href=&#34;http://cnn.com&#34; target=&#34;_new&#34;&#62;CNN&#60;/a&#62;&#60;/b&#62;&#60;/span&#62;' var speed=6 //speed of scroller [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/668/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js打字机效果加强版</title>
		<link>http://www.songlecn.com/2009/03/667/</link>
		<comments>http://www.songlecn.com/2009/03/667/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 17:25:19 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js打字机效果]]></category>
		<category><![CDATA[js特效]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=667</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js打字机效果加强版，可定义显示速度，显示信息条数等等，点击运行查看效果： &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;打字机效果加强版&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;form name=&#34;news&#34;&#62; &#60;textarea name=&#34;news2&#34; cols=40 rows=4 wrap=virtual&#62;&#60;/textarea&#62; &#60;/form&#62; &#60;script language=JavaScript&#62; var newsText = new Array(); newsText[0] = &#34;Typing Text JScript v1\nDeveloped on Sunday, April 15th, 2001...&#34;; newsText[1] = &#34;This is a text-typing DHTML demo. \nScript [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/667/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js打字机效果</title>
		<link>http://www.songlecn.com/2009/03/666/</link>
		<comments>http://www.songlecn.com/2009/03/666/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 17:25:36 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[打字机效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=666</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js打字机效果，很简单的特效，像打字机一样一个个显示消息，运行查看效果： &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;打字机效果&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;script language=&#34;JavaScript&#34;&#62; var max=0; function textlist() { max=textlist.arguments.length; for (i=0; i&#60;max; i++) this[i]=textlist.arguments[i]; } tl=new textlist ( &#34;欢迎来到web集结号!&#34; ); var x=0; pos=0; var l=tl[0].length; function textticker() { document.tickform.tickfield.value=tl[x].substring(0,pos)+&#34;_&#34;; if(pos++==l) { pos=0; setTimeout(&#34;textticker()&#34;,1000); x++; if(x==max) x=0; [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/666/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js动态公告板</title>
		<link>http://www.songlecn.com/2009/03/665/</link>
		<comments>http://www.songlecn.com/2009/03/665/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 17:25:20 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[动态公告板]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=665</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>js动态公告板，动态显示预定义好的公告消息等等，运行查看效果： &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;Message Slideshow&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;table border=&#34;0&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&#62; &#60;tr&#62; &#60;td width=&#34;100%&#34;&#62;&#60;form name=&#34;slideshow&#34;&#62;&#60;div align=&#34;center&#34;&#62;&#60;center&#62;&#60;p&#62;&#60;b&#62;公告板&#60;/b&#62;&#60;br&#62;&#60;textarea rows=&#34;5&#34; name=&#34;S1&#34; cols=&#34;30&#34; wrap=&#34;virtual&#34;&#62;&#60;/textarea&#62;&#60;br&#62; &#60;input type=&#34;button&#34; value=&#34;Take me there!&#34; name=&#34;B1&#34; onClick=&#34;window.location=messagelinks[curmsg]&#34;&#62;&#60;/p&#62; &#60;/center&#62;&#60;/div&#62; &#60;/form&#62; &#60;/td&#62; &#60;/tr&#62; &#60;/table&#62; &#60;script&#62; var curmsg=-1 var messages=new Array() messages[0]=&#34;第一条&#34; messages[1]=&#34;第二条&#34; messages[2]=&#34;第三条&#34; [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/665/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>鼠标放上时可伸缩BANNER广告</title>
		<link>http://www.songlecn.com/2009/03/649/</link>
		<comments>http://www.songlecn.com/2009/03/649/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 01:50:48 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[伸缩效果]]></category>
		<category><![CDATA[广告代码]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=649</guid>
		<description><![CDATA[鼠标放上时可伸缩BANNER广告，搜狐网首页可伸缩BANNER广告，预览图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/649/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>表头过滤(Table filter)</title>
		<link>http://www.songlecn.com/2009/03/609/</link>
		<comments>http://www.songlecn.com/2009/03/609/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 02:49:30 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[Table filter]]></category>
		<category><![CDATA[表头过滤]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=609</guid>
		<description><![CDATA[表头过滤(Table filter)，在表头增加一个过滤行，可筛选数据，回车触发过滤，效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/609/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>简单的js版DatePicker(日期选择框)</title>
		<link>http://www.songlecn.com/2009/03/578/</link>
		<comments>http://www.songlecn.com/2009/03/578/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 02:16:19 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[DatePicker]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[日期选择框]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=578</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>简单的js版DatePicker(日期选择框)，可以试着用用，如果你没有使用别的js库的话，这个应该是个比较简介的日期选择框了 &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;JavaScript image clock&#60;/title&#62; &#60;style type=&#34;text/css&#34;&#62; .ds_box { background-color: #FFF; border: 1px solid #000; position: absolute; z-index: 32767; } .ds_tbl { background-color: #FFF; } .ds_head { background-color: #333; color: #FFF; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; text-align: [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/578/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>仿瑞星网站导航菜单</title>
		<link>http://www.songlecn.com/2009/03/569/</link>
		<comments>http://www.songlecn.com/2009/03/569/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 06:39:37 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[js特效]]></category>
		<category><![CDATA[仿瑞星]]></category>
		<category><![CDATA[导航菜单]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=569</guid>
		<description><![CDATA[仿瑞星网站导航菜单，效果不错，有预览有Demo还有下载 Demo链接：http://www.songlecn.com/wp-content/supload/2009/03/22/demo.html]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/569/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

