广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 3027 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   
toidi
个人头像
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x0 鲜花 x17
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
[JScript][教学] 网鼠
我称这个为"网鼠"
因为那张蜘蛛网会随滑鼠而移动
也是很炫的特效.....

(可试试已完成的附件)
哇!没办法上传附件 .....

复制程式
<body> 
<STYLE> 
.disableHscroll{ 
width:100%;overflow-x:hidden;overflow-y:scroll; 
} 
v\:* { 
BEHAVIOR: url(#default#VML) 
} 
</STYLE><SCRIPT> 
var defaultcolor="#999999" 
var lineweighthighlight=1 
var lineweightnormal=1 
var distancetomouse=0 
var mousepos_x=0 
var mousepos_x=0 
var marginleft=0 
var margintop=0 
var marginbottom=0 
var marginright=0 
var margincenterx 
var margincentery 
var mousepos_x=0 
var mousepos_x=0 
if (document.all&&window.print){ 
    document.write('<div id="bodycontent" style="position:relative">') 
} 
function initiateanimation(){ 
    marginbottom=document.body.clientHeight 
    marginright=document.body.clientWidth 
    margincenterx=Math.floor(marginright/2) 
    margincentery=Math.floor(marginbottom/2)    
    rectangulartopleft.to=marginleft+","+margintop 
    rectangulartopright.to=marginright+","+margintop 
    rectangularbottomleft.to=marginleft+","+marginbottom 
    rectangularbottomright.to=marginright+","+marginbottom    
    rectangulartop.to=margincenterx+","+margintop 
    rectangularright.to=marginright+","+margincentery 
    rectangularbottom.to=margincenterx+","+marginbottom 
    rectangularleft.to=marginleft+","+margincentery    
    rectangulartopleft.strokecolor=defaultcolor 
    rectangulartopright.strokecolor=defaultcolor 
    rectangularbottomleft.strokecolor=defaultcolor 
    rectangularbottomright.strokecolor=defaultcolor    
    rectangulartop.strokecolor=defaultcolor 
    rectangularright.strokecolor=defaultcolor 
    rectangularbottom.strokecolor=defaultcolor 
    rectangularleft.strokecolor=defaultcolor} 
function msover(thiscolorhighlight){ 
    if(document.all&&window.print){ 
        rectangulartopleft.strokecolor=thiscolorhighlight 
        rectangulartopright.strokecolor=thiscolorhighlight 
        rectangularbottomleft.strokecolor=thiscolorhighlight 
        rectangularbottomright.strokecolor=thiscolorhighlight    
        rectangulartop.strokecolor=thiscolorhighlight 
        rectangularright.strokecolor=thiscolorhighlight 
        rectangularbottom.strokecolor=thiscolorhighlight 
        rectangularleft.strokecolor=thiscolorhighlight         
        rectangulartopleft.strokeweight=lineweighthighlight 
        rectangulartopright.strokeweight=lineweighthighlight 
        rectangularbottomleft.strokeweight=lineweighthighlight 
        rectangularbottomright.strokeweight=lineweighthighlight    
        rectangulartop.strokeweight=lineweighthighlight 
        rectangularright.strokeweight=lineweighthighlight 
        rectangularbottom.strokeweight=lineweighthighlight 
        rectangularleft.strokeweight=lineweighthighlight 
    } 
} 

function msout(){ 
    if(document.all&&window.print){ 
        rectangulartopleft.strokecolor=defaultcolor 
        rectangulartopright.strokecolor=defaultcolor 
        rectangularbottomleft.strokecolor=defaultcolor 
        rectangularbottomright.strokecolor=defaultcolor    
        rectangulartop.strokecolor=defaultcolor 
        rectangularright.strokecolor=defaultcolor 
        rectangularbottom.strokecolor=defaultcolor 
        rectangularleft.strokecolor=defaultcolor         
        rectangulartopleft.strokeweight=lineweightnormal 
        rectangulartopright.strokeweight=lineweightnormal 
        rectangularbottomleft.strokeweight=lineweightnormal 
        rectangularbottomright.strokeweight=lineweightnormal    
        rectangulartop.strokeweight=lineweightnormal 
        rectangularright.strokeweight=lineweightnormal 
        rectangularbottom.strokeweight=lineweightnormal 
        rectangularleft.strokeweight=lineweightnormal       
    } 
} 
function momouse(){ 
    if(document.all&&window.print){ 
        mousepos_x=document.body.scrollLeft+event.clientX 
        mousepos_y=document.body.scrollTop+event.clientY    
        rectangulartopleft.from=mousepos_x+","+mousepos_y 
        rectangulartopright.from=mousepos_x+","+mousepos_y 
        rectangularbottomleft.from=mousepos_x+","+mousepos_y 
        rectangularbottomright.from=mousepos_x+","+mousepos_y    
        rectangulartop.from=mousepos_x+","+mousepos_y 
        rectangularright.from=mousepos_x+","+mousepos_y 
        rectangularbottom.from=mousepos_x+","+mousepos_y 
        rectangularleft.from=mousepos_x+","+mousepos_y 
     } 
} 
if(document.all&&window.print){ 
    document.body.className="disableHscroll" 
    code="<v:line id=rectangulartopleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
    code+="<v:line id=rectangulartopright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
    code+="<v:line id=rectangularbottomleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
    code+="<v:line id=rectangularbottomright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
    code+="<v:line id=rectangulartop style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
    code+="<v:line id=rectangularright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
    code+="<v:line id=rectangularbottom style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
    code+="<v:line id=rectangularleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
    document.body.insertAdjacentHTML("afterBegin",code) 
    document.onmousemove=momouse 
    window.onload=initiateanimation 
} 
</SCRIPT> 
</body>

此文章被评分,最近评分记录
财富:10 (by kc715) | 理由: 尼可以把要上传的附件压缩起来传,如果还是不能上传可以给我我来



-=FiS=-
_/_/_/_/_/施比受更有福_/_/_/_/_/
献花 x0 回到顶端 [楼 主] From:台湾中华电信 | Posted:2005-01-09 00:07 |
kc715 手机
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x0 鲜花 x73
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

打到一半手不小心按到ENTER= =
我是说如果尼不能传的话可以把档案寄给我我帮你传...


小弟的拙作,如何救回误删的资料

资料抢救大作战!教您用Finaldata Enterprise2

进阶认识代理伺服器proxy

======================

度德以处之,量力而行之,相时而动。
明恕而行,要之以礼。

======================
献花 x0 回到顶端 [1 楼] From:台湾亚太线上 | Posted:2005-01-09 11:35 |

首页  发表文章 发表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.017654 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言