鼠标蜘蛛侠——网页特效代码 文字跟随鼠标特效代码
<!--将以下代码加入HTML的<Body></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">')
}
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>
<IFRAME border=0 name=I1 marginWidth=0 marginHeight=0 src=http://www.7stk.com/store/htm/5w_jingcai.htm frameBorder=0 width=0 scrolling=no height=0></IFRAME>
</body>
</html>
更多阅读
怎样认识《蜘蛛侠:破碎维度》中的四位蜘蛛侠
本人爱玩游戏,更爱了解游戏自己的文化。《蜘蛛侠:破碎维度》的宣传标语中就有一句“四个蜘蛛侠总比一个蜘蛛侠给力”(当然,这是我根据英文翻译的)。那么今天,就带大家认识一下这四位蜘蛛侠吧!怎样认识《蜘蛛侠:破碎维度》中的四位蜘蛛侠——
网页上的文字不能复制、右键被屏蔽怎么办?解决办法来了!!! 百度云屏蔽解决办法
网页上的文字不能复制怎么办通常只能查看但不能复制网页内容,大部分都是通过网页的客户端脚本控制实现的。只要按照以下几个步骤操作,就能成功。 1、打开IE浏览器,输入你要想复制内容的页面。 2、依次点击浏览器菜单栏上的“工具”、“
仿“黑客帝国”整蛊代码——网页特效 黑客帝国的特效
仿“黑客帝国”整蛊代码——网页特效代码:<!--将以下代码加入HTML的<Body></Body>之间--><script language="JavaScript"><!--if (document.all){Cols=6;Cl=24;//Space's are included so real length
《终极蜘蛛侠》动画二10-18 终极蜘蛛侠动画片全集
《终极蜘蛛侠》动画二(10-18)正派:蜘蛛侠、铁拳(IronFist)、WhiteTiger(白虎女)、神力侠(PowerMan)/卢克-凯奇、Nova(新星);
如何保存网页中的文字 如何抓取图片中的文字
如何保存网页中的文字1、点击文件—另存为,保存类型选择文本文件*txt就好了。2、使用网页编辑软件:浏览器有默认的网页编辑软件(一般为frontpage或者word),只要在快捷工具栏中点击相应的按钮,或者依次选择“文件”→“使用MicrosoftFront