gutong7 发表于 2008-7-21 02:28:17

One World One Dream

<FONT color=red><FONT size=7>
<P align=center>One World One Dream</P>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P>
<P></FONT></FONT>原帖由 <I>午夜浪漫</I> 于 2008-7-20 10:50 发表 <A href="http://www.luoan.cn/bbs/redirect.php?goto=findpost&amp;pid=1176183&amp;ptid=73721" target=_blank><IMG alt="" src="http://www.luoan.cn/bbs/images/common/back.gif" border=0></A> 2008北京奥运会即将开幕了,我们论坛里对于奥运的帖子真是少的可怜。但是碰到着百年一遇的奥运会,我们论坛也要拿出大力支持的热情态度来啊! </P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P><FONT color=magenta><FONT size=5><FONT face=楷体_GB2312>&nbsp;</P>
<P align=center>既然时间不多了那就弄个醒目点的倒计时吧~~ </P>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P></FONT></FONT></FONT><FONT color=magenta>风格一: </FONT>
<CENTER><EMBED style="OVERFLOW: hidden; WIDTH: 155px; HEIGHT: 37px" src=http://aw.awflasher.com/2008lite.swf width=155 height=37 type=application/x-shockwave-flash></EMBED><BR><A title=奥运倒计时代码 href="http://www.awflasher.com/blog/archives/930">BJ2008</A> - <A title="aw's blog" href="http://www.awflasher.com/blog">aw</A></CENTER>
<P><FONT color=magenta></FONT><FONT color=magenta>风格二:</FONT>
<SCRIPT language=JavaScript>
  var timedate= new Date("August 9,2008");
  var times="北京奥运会";
  var now = new Date();
  var date = timedate.getTime() - now.getTime();
  var time = Math.floor(date / (1000 * 60 * 60 * 24));
  if (time >= 0) ;
document.write("<font style='font-size:12px;line-height:18px;color:#000000'>距2008"+times+"开幕还有:</font><font style='color:#F5A100;line-height:32px;font-family:Verdana;font-size:24px;'><b>"+time +"</b></font><font style='font-size:12px;line-height:18px;color:#000000'>天</font>");
</SCRIPT>
</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P><FONT color=magenta></FONT><FONT color=magenta>风格三:</FONT> </P>
<CENTER><EMBED style="OVERFLOW: hidden; WIDTH: 155px; HEIGHT: 37px" src=http://www.popcup.cn/templets/action/mini2008.swf width=155 height=37 type=application/x-shockwave-flash></EMBED><BR></CENTER><FONT color=magenta></FONT><FONT color=magenta>风格四: </FONT><IMG src="http://bbs.copcn.com/1/wuhuan.gif"> <B><FONT color=red size=3>离2008北京奥运会还有</FONT></B><SPAN id=liveclock></SPAN>
<SCRIPT language=javascript>
var DifferenceHour = -1
var DifferenceMinute = -1
var DifferenceSecond = -1
var Tday = new Date("August 8, 2008 20:00:00")
var daysms = 24 * 60 * 60 * 1000
var hoursms = 60 * 60 * 1000
var Secondms = 60 * 1000
var microsecond = 1000

function clock()
{
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()

if(minutes<=9)
minutes="0"+minutes
if(seconds<=9)
seconds="0"+seconds

var convertHour = DifferenceHour
var convertMinute = DifferenceMinute
var convertSecond = DifferenceSecond

var Diffms = Tday.getTime() - Digital.getTime()
DifferenceHour = Math.floor(Diffms / daysms)
Diffms -= DifferenceHour * daysms
DifferenceMinute = Math.floor(Diffms / hoursms)
if(DifferenceMinute<=9)
DifferenceMinute="0"+DifferenceMinute
Diffms -= DifferenceMinute * hoursms
DifferenceSecond = Math.floor(Diffms / Secondms)
if(DifferenceSecond<=9)
DifferenceSecond="0"+DifferenceSecond
Diffms -= DifferenceSecond * Secondms
var dSecs = Math.floor(Diffms / microsecond)
if(dSecs<=9)
dSecs="0"+dSecs

myclock="<font color='#FF6600' size='5' face='Impact'>"+DifferenceHour+"</font>    <fontsize='4' color = '#990033' face='Impact'>"+DifferenceMinute+":"+DifferenceSecond+":"+dSecs+"</font>"
if(document.layers){document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}else if(document.all)
liveclock.innerHTML=myclock
setTimeout("clock()",1000)
}
clock();
//-->
</SCRIPT>
<FONT color=magenta><FONT size=5><FONT face=楷体_GB2312>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P>
<P align=center>本来想整到自己的签名中去的,但是发现不支持SWF的显示<IMG alt="<img" src="http://www.luoan.cn/bbs/images/smilies/rabbit/13.gif" border=0 smilieid="49"> 。。。 </P>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P>
<P align=center>&nbsp;</P>
<P></FONT></FONT></FONT><FONT color=red>【弊端】</FONT> </P>
<P><FONT color=red>1.时间取的是本地计算机时间,因为考虑到网络连接接入以及程序的复杂度,因此没有取标准的北京时间,所以肯定是有所偏差。</FONT></P>
<P>&nbsp;<FONT color=red>2.在时间牌上右击好像还有点瑕疵</FONT> </P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P align=center><B><FONT face=楷体_GB2312>希望能改进改进用到我们论坛上来,另附2008奥运倒计时FLASH20个(个人比较喜欢3和15)</FONT></B></P>

悠悠 发表于 2008-7-21 07:43:28

谢谢,我早就想放了。还有60多天的时候。。不过,在签名里放不了,所以就不离了。等大z回来再说吧

zhansh 发表于 2008-7-21 08:00:06

晚上了我看看

zhansh 发表于 2008-7-21 22:25:53

古铜看看可以?在顶部

悠悠 发表于 2008-7-21 23:31:34

看见了:)比较秀气

又见木棉红 发表于 2008-7-22 00:01:36

好漂亮;0

gutong7 发表于 2008-7-22 00:04:54

破浏览器又出毛病了看不见~ 。。。。

悠悠都说秀气了肯定不错

gutong7 发表于 2008-7-22 01:09:53

能看到咯,^_^

gn8452 发表于 2008-7-23 18:10:08

太小了,一点都不明显,最好再大一些
页: [1]
查看完整版本: One World One Dream