廣告廣告
  加入我的最愛 設為首頁 風格修改
首頁 首尾
 手機版   訂閱   地圖  簡體 
您是第 3026 個閱讀者
 
發表文章 發表投票 回覆文章
  可列印版   加為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.013861 second(s),query:16 Gzip disabled
本站由 瀛睿律師事務所 擔任常年法律顧問 | 免責聲明 | 本網站已依台灣網站內容分級規定處理 | 連絡我們 | 訪客留言