﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-asfman-文章分类-vml</title><link>http://www.cnitblog.com/asfman/category/2345.html</link><description>有些事，我们明知道是错的，也要去坚持，因为不甘心；有些人，我们明知道是爱的，也要去放弃，因为没结局；有时候，我们明知道没路了，却还在前行，因为习惯了。</description><language>zh-cn</language><lastBuildDate>Mon, 26 Sep 2011 05:36:30 GMT</lastBuildDate><pubDate>Mon, 26 Sep 2011 05:36:30 GMT</pubDate><ttl>60</ttl><item><title>图片飘飘</title><link>http://www.cnitblog.com/asfman/articles/17765.html</link><dc:creator>汪杰</dc:creator><author>汪杰</author><pubDate>Mon, 09 Oct 2006 07:50:00 GMT</pubDate><guid>http://www.cnitblog.com/asfman/articles/17765.html</guid><wfw:comment>http://www.cnitblog.com/asfman/comments/17765.html</wfw:comment><comments>http://www.cnitblog.com/asfman/articles/17765.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/asfman/comments/commentRss/17765.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/asfman/services/trackbacks/17765.html</trackback:ping><description><![CDATA[javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);<img src ="http://www.cnitblog.com/asfman/aggbug/17765.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/asfman/" target="_blank">汪杰</a> 2006-10-09 15:50 <a href="http://www.cnitblog.com/asfman/articles/17765.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Vml+Dhtml:制作一个应用渐变效果不错的进度条[原作者：风云舞] </title><link>http://www.cnitblog.com/asfman/articles/8861.html</link><dc:creator>汪杰</dc:creator><author>汪杰</author><pubDate>Sat, 08 Apr 2006 00:33:00 GMT</pubDate><guid>http://www.cnitblog.com/asfman/articles/8861.html</guid><wfw:comment>http://www.cnitblog.com/asfman/comments/8861.html</wfw:comment><comments>http://www.cnitblog.com/asfman/articles/8861.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/asfman/comments/commentRss/8861.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/asfman/services/trackbacks/8861.html</trackback:ping><description><![CDATA[&lt;HTML xmlns:v&gt;<br />&lt;HEAD&gt;<br />&lt;META http-equiv='Content-Type' content='text/html;charset=gb2312'&gt;<br />&lt;Meta name='Gemeratpr' content='网络程序员伴侣(Lshdic)2004'&gt;<br />&lt;TITLE&gt;效果不错的VML进度条&lt;/TITLE&gt;<br />&lt;STYLE&gt;<br />v\:*{behavior:url(#default#VML);}<br />*{font-size:12px;color:;}<br />&lt;/STYLE&gt;<br />&lt;/HEAD&gt;<br />&lt;BODY topmargin='2' leftmargin='2'&gt;<br />&lt;div style='table-Layout:fixed;width:100%;height:100%;border:1 solid black'&gt;<br />&lt;v:RoundRect id='a' style='position:absolute;left:300;top:250;height:29;'&gt;<br />&lt;v:Textbox inset='5px,5px,5px'&gt;&lt;b&gt;&lt;font color='red' id='jindu'&gt;&lt;/font&gt;&lt;/b&gt;&lt;/v:textbox&gt;<br />&lt;v:fill type='gradient' id='fill1' color='blue'/&gt;<br />&lt;/v:RoundRect&gt;<br />&lt;/div&gt;<br />&lt;script&gt;<br />//原作:风云舞,载自:[url]http://www.lshdic.com/bbs[/url]<br />var pos1=1,posall=200  //定义全局变量,pos1为当前进度,posall为总进度<br />function play1(){ //播放函数<br />if(pos1&lt;posall)pos1+=1;else{pos1=1;fill1.color="rgb("+Math.round(Math.random()*255)+","+Math.round(Math.random()*255)+","+Math.round(Math.random()*255)+")"}<br />a.style.width=Math.round(300/(posall/pos1));jindu.innerText=pos1+"/"+posall+","+Math.round(100/(posall/pos1))+"%"<br />fill1.angle=Math.round(300/(posall/pos1))<br />}<br />setInterval("play1()",10) //10毫秒播放一次，一般CPU保证能消化~~~<br />&lt;/script&gt;<br />&lt;/BODY&gt;<br />&lt;/HTML&gt; <br /><img src ="http://www.cnitblog.com/asfman/aggbug/8861.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/asfman/" target="_blank">汪杰</a> 2006-04-08 08:33 <a href="http://www.cnitblog.com/asfman/articles/8861.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>