Categories
Friendly Link
订阅 与 统计

0299255

歪酷博客
« 上一篇: 歪酷 模板——思念。 下一篇: 歪酷 模板——流年。 »
销魂 @ 2006-07-22 11:07



##HEADER##
<SCRIPT language=JavaScript>
//鼠标跟随特效代码开始
dCol='ffffff';//date colour.
fCol='ffffff';//face colour.
sCol='ffffff';//seconds colour.
mCol='ffffff';//minutes colour.
hCol='ff0000';//hours colour.
ClockHeight=40;
ClockWidth=40;
ClockFromMouseY=0;
ClockFromMouseX=100;

 

d=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY");
m=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");
date=new Date();
day=date.getDate();
year=date.getYear();
if (year < 2000) year=year+1900;
TodaysDate=" "+d[date.getDay()]+" "+day+" "+m[date.getMonth()]+" "+year;
D=TodaysDate.split('');
H='...';
H=H.split('');
M='....';
M=M.split('');
S='.....';
S=S.split('');
Face='1 2 3 4 5 6 7 8 9 10 11 12';
font='Arial';
size=1;
speed=0.6;
ns=(document.layers);
ie=(document.all);
Face=Face.split(' ');
n=Face.length;
a=size*10;
ymouse=0;
xmouse=0;
scrll=0;
props="<font face="+font+" size="+size+" color="+fCol+"><B>";
props2="<font face="+font+" size="+size+" color="+dCol+"><B>";
Split=360/n;
Dsplit=360/D.length;
HandHeight=ClockHeight/4.5
HandWidth=ClockWidth/4.5
HandY=-7;
HandX=-2.5;
scrll=0;
step=0.06;
currStep=0;
y=new Array();x=new Array();Y=new Array();X=new Array();
for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0}
Dy=new Array();Dx=new Array();DY=new Array();DX=new Array();
for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0}
if (ns){
for (i=0; i < D.length; i++)
document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>');
for (i=0; i < n; i++)
document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>');
for (i=0; i < S.length; i++)
document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>');
for (i=0; i < M.length; i++)
document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>');
for (i=0; i < H.length; i++)
document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>');
}
if (ie){
document.write('<div id="Od" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < D.length; i++)
document.write('<div id="ieDate" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+'</B></font></div>');
document.write('</div></div>');
document.write('<div id="Of" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < n; i++)
document.write('<div id="ieFace" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i]+'</B></font></div>');
document.write('</div></div>');
document.write('<div id="Oh" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < H.length; i++)
document.write('<div id="ieHours" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol+';text-align:center;font-weight:bold">'+H[i]+'</div>');
document.write('</div></div>');
document.write('<div id="Om" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < M.length; i++)
document.write('<div id="ieMinutes" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold">'+M[i]+'</div>');
document.write('</div></div>')
document.write('<div id="Os" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < S.length; i++)
document.write('<div id="ieSeconds" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-weight:bold">'+S[i]+'</div>');
document.write('</div></div>')
}
(ns)?window.captureEvents(Event.MOUSEMOVE):0;
function Mouse(evnt){
ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY;
xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX;
}
(ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
function ClockAndAssign(){
time = new Date ();
secs = time.getSeconds();
sec = -1.57 + Math.PI * secs/30;
mins = time.getMinutes();
min = -1.57 + Math.PI * mins/30;
hr = time.getHours();
hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360;
if (ie){
Od.style.top=window.document.body.scrollTop;
Of.style.top=window.document.body.scrollTop;
Oh.style.top=window.document.body.scrollTop;
Om.style.top=window.document.body.scrollTop;
Os.style.top=window.document.body.scrollTop;
}
for (i=0; i < n; i++){
 var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style;
 F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll;
 F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180);
 }
for (i=0; i < H.length; i++){
 var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style;
 HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll;
 HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs);
 }
for (i=0; i < M.length; i++){
 var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style;
 ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll;
 ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min);
 }
for (i=0; i < S.length; i++){
 var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style;
 SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll;
 SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec);
 }
for (i=0; i < D.length; i++){
 var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
 DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll;
 DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);
 }
currStep-=step;
}
function Delay(){
scrll=(ns)?window.pageYOffset:0;
Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed);
Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed);
for (i=1; i < D.length; i++){
Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed);
Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed);
}
y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);
x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);
for (i=1; i < n; i++){
y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed);
x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed);
}
ClockAndAssign();
setTimeout('Delay()',20);
}
if (ns||ie)window.onload=Delay;
//鼠标跟随特效代码结束
</SCRIPT>
<STYLE>

A:link
{ text-decoration: none; font-weight: none; color: silver;}
A:visited
{ text-decoration: none; color: white; }
A:active
{ text-decoration: none; cursor: crosshair; color: gray; }
A:hover
{ text-decoration: none; cursor: crosshair; color: silver; font-weight: bold; }
 
body {
 background-image: url(http://images.blogcn.com/2006/6/25/1/colvin0702,200606250428.jpg);
font-family: Verdana;
color: gray;
font-size: 11px;
line-height: 15px;
text-align: justify;
margin: 0px;
cursor: crosshair;

scrollbar-face-color : black;
scrollbar-highlight-color : black;
scrollbar-3dlight-color : black;
scrollbar-shadow-color : black;
scrollbar-darkshadow-color : black;
scrollbar-track-color : black;
scrollbar-arrow-color : #ffffff;
cursor: crosshair;
}

.tt_title {
 
 font-size: 24px;
 font-weight: bold;
 color: #ffffff;
}
.dis_tag {
 
 font-size: 18px;
 font-weight: bold;
 color: #ffffff;
 line-height:130%;
}
.diary_poster {
 color: #ffffff;
 background-repeat: no-repeat;
 text-indent: 12px;
}

body,td,th {
 font-size: 12px;
 color: #FFFFFF;
}
#Layer1 {
 position:absolute;
 left:839px;
 top:112px;
 width:113px;
 height:452px;
 z-index:1;
}
#Layer2 {
 position:absolute;
 left:378px;
 top:106px;
 width:426px;
 height:455px;
 z-index:2;
 overflow-y: scroll;
                overflow-x: hidden;
}
#Layer3 {
 position:absolute;
 left:379px;
 top:14px;
 width:560px;
 height:69px;
 z-index:3;
}
#Layer4 {
 position:absolute;
 left:9px;
 top:21px;
 width:209px;
 height:102px;
 z-index:4;

}
-->
</STYLE>
<body>
<DIV id=Layer1>
<DIV align=center>
<P><IMG height=100 src="http://images.blogcn.com/2006/6/25/1/colvin0702,2006062504242.gif" width=100></P>
<P>&nbsp;</P>
<P><IMG height=100 src="http://images.blogcn.com/2006/6/25/1/colvin0702,2006062504312.gif" width=100></P>
<P>&nbsp;</P>
<P><IMG height=100 src="http://images.blogcn.com/2006/6/25/1/colvin0702,2006062504344.gif" width=100></P></DIV></DIV>
<DIV id=Layer2>
<P>{content}</P>
<P><!-- BEGIN: last_followups -->
                <table align=center width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="43">最 新 评 论</td>
                  </tr>
                  <!-- BEGIN: followups_row -->
                  <tr>
                    <td><span class="b1">&nbsp;· {followups.post_time} <a href=post.{followups.post_id}.html#followups_{followups.id} >&nbsp;{followups.content_s}</a></span></td>
                  </tr>
                  <!-- END: followups_row -->
                </table>
                <!-- END: last_followups -->
</P>
<P align=center>                <table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="43" class="b2">站 内 搜 索</td>
                  </tr>
                  <tr>
                    <td align="center" valign="top" class="search">##SEARCH##</td>
                  </tr>
                </table></P>
      <br><!-- BEGIN: last_tb -->
                <table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="43" class="b2">引 用 本 网 志 的 BLOG</td>
                  </tr>
                  <tr>
                    <td>
                      <!-- BEGIN: tb -->
                      <table width=100% border=0 cellpadding=2 cellspacing=2 class="b1">
                        <tr>
                          <td width="54" class="b1">标题:</td>
                          <td width="193"><a href={trackback.r_url} target=_blank >{trackback.r_title}</a></td>
                        </tr>
                        <tr>
                          <td class="b1">时间:</td>
                          <td class="b1">{trackback.trackback_time}</td>
                        </tr>
                        <tr>
                          <td class="b1">来自:</td>
                          <td class="b1">{trackback.r_blog_name}</td>
                        </tr>
                        <tr>
                          <td class="b1">摘要:</td>
                          <td class="b1">{trackback.r_excerpt}</td>
                        </tr>
                      </table>
                      <!-- END: tb -->
                    </td>
                  </tr>
                </table><!-- END: last_tb -->
<P align=center><!-- BEGIN: link -->
                <table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="43" class="b2">友 情 连 接</td>
                  </tr>
                  <tr>
                    <td><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td class="b1"><table width=100% border=0 cellspacing=1 cellpadding=0>
                            <tr>
                              <td>· <a href="http://{MIRROR}.yculblog.com" target="_blank">歪酷博客</a></td>
                            </tr>
                            <tr>
                              <td>· <a href="http://{MIRROR}.yculblog.com/my.php" target="_blank">管理我的Blog</a></td>
                            </tr>
                            <!-- BEGIN: link_row -->
                            <tr>
                              <td> · <a href={link.url} target=_blank>{link.name}</a></td>
                            </tr>
                            <!-- END: link_row -->
                          </table>
                          <p><a href="http://enjoo.yculblog.com" target="_blank" >模板修改:销魂</a></p></td>
                        </tr>
                    </table></td>
                  </tr>
                </table><!-- END: link --></P>
<P align=center>##RSS##</P>
<P align=center>您是第{counter}位朋友</P>
<P align=center>##SMALLLOGO##</P></DIV>
<DIV id=Layer3 style="LEFT: 362px; WIDTH: 564px; TOP: 14px; HEIGHT: 69px">
<P ><BR><h2><a href="/"><span class="blog_name">{blog.blog_name}</span></a></h2>  </P>
<P align=center>     <table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
        <!-- BEGIN: folder -->
        <tr>
          <td><span class="b2">· <a href="archive.html" >所有网志</a>
                <!-- BEGIN: folder_row -->
      · <a href="archive.{folder.id}.html" >{folder.name}</a>
      <!-- END: folder_row -->
      <!-- BEGIN: folder_unfiled -->
      · <a href="archive.0.html" >未分类</a>
      <!-- END: folder_unfiled -->
          </span></td>
        </tr>
        <!-- END: folder -->
</P></DIV>
</body>
##FOOTER##  




最新评论 (点击这里查看更早的所有评论...)

2006-08-27 11:15 网址: http://silenceforever.ycool.com/

图下面的那些英文字不能设连接的么???!!!
 还有旁边的那些图。。。。
落落好郁闷捏。。。。

 Help!!!!!!!!!
Q:406713839


2006-09-29 19:04 网址: http://yhydlrj.ycool.com/

```我觉得``这个模版的评论的地方太下面了``可以教我怎么改吗?可以到我BLOG里留言``非常感谢!!!

这个很麻烦的。这个模板本来就是这个样子的。你把评论放上来?其他的放哪?


风舞

2006-10-24 15:01

就中间那快可以动的,感觉好小啊,用起来感觉不太舒服啊!

呵呵。漂亮的模板是这样的啦。


乔卡

2006-11-01 15:16 网址: http://www.blog.163.com/xujinyu13ni/

[:-D]都好漂亮哦,可惜我不知道怎么去改163的哪个BLOG的源代码,不然就可以用这么漂亮的了[T_T]

呵呵。。只要有恒心。。没什么做不成滴。。我学这个也才不到半年。。也是自己摸索滴。。慢慢来嘛。。一步一步来。。比如说。先说学改背景。。然后学会加点什么东西。

2006-11-27 16:07 网址: http://http://aaaasky1985.ycool.com/archive.html

[:-)][:-)][:-)]好喜欢好喜欢这个背景啊!只是能帮我改一下吗?把评论和连接放旁边?


2006-11-27 16:10 网址: http://http://aaaasky1985.ycool.com/

[:-)][:-)][:-)]好喜欢好喜欢这个背景啊!只是能帮我改一下吗?把评论和连接放旁边?


2007-01-09 22:56 网址: http://magicalgirl.ycool.com/

这个好漂亮啊...你真的好强啊...
可是可不可以教我怎么把显示日志的那个框框变得大点啊?文字写得长一点就显示不了了...
来我的blog留言也可以啦~谢谢啦~



2007-02-21 16:08 匿名 220.176.*.*

pp呢。。

打包带走了。。谢谢,留了你的版权在上面哈


2007-03-15 17:12

拿來用下′不介意吧?幾鐘意嘎′



山沟里的鱼

2007-06-27 15:21 匿名 61.191.*.* 网址: http://deleted

[XD]

好专业哦
好久没有来了


评论 / 个人网页 / 扔小纸条
* 昵称

已经注册过? 请登录

新用户请先注册 以便能显示头像及追踪评论回复

Email
网址
* 评论
表情
 


 

分类小组论坛
杂谈 , 娱乐、八卦 , 文学、艺术 , 体育 , 旅游、同城 , 象牙塔 , 情感 , 时尚、生活 , 星座 , 科技

请注意遵守中华人民共和国法律法规, 如威胁到本站生存, 将依法向有关部门报告, 同时本站的相关记录可能成为对您不利的证据.

相关法律法规
全国人大常委会关于维护互联网安全的决定
中华人民共和国计算机信息系统安全保护条例
中华人民共和国计算机信息网络国际联网管理暂行规定
计算机信息网络国际联网安全保护管理办法
计算机信息系统国际联网保密管理规定