【Html】Html 网页、页面播放 flv 视频的代码

Html 网页、页面播放 flv 视频的代码: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width=100% height=100%> <param name="movie" value="Flvplayer.swf" />  '播放器地址 <param name="quality" value="high" /> <param name="allowFullScreen" value="true" /> <param name="FlashVars" value="vcastr_file=video.flv.rar" /> '视频地址 <embed src="Flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=video.flv.rar" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width=100% height=100%></embed> </object>     这个是需要专门的flv播

Html 网页、页面中黑客风格的搜索栏、搜索框

function index_search(){ var v=f.k.value if(f.o[0].checked==true) window.open("http://www.google.com/search?hl=zh-CN&q="+v); if(f.o[1].checked==true) window.open("http://www.baidu.com/s?wd="+v); if(f.o[2].checked==true) window.open("http://www.yahoo.com.cn/search?p="+v); if(f.o[3].checked==true) window.open("http://www.iask.com/s?k="+v); if(f.o[4].checked==true) window.open("http://www.sogou.com/web?query="+v); if(f.o[5].checked==true) window.open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey="+v); if(f.o[6].checked==true) window.open("http://cha.so.163.com/so.php?key=032153283&q="+v); if(f.o[7].checked==true) window.open("http://site.search.sohu.com/sitesearch.jsp?page_index=0&key_word="+v); return false;} //-- God Hacker Google 百度 雅虎 爱问 搜狗 新浪 网易 搜狐 Html 网页、页面中黑客风格的搜索栏、搜索框: <P align=center> <TABLE id=table937 cellSpacing=0 borderColorDark=#ffffff width=746 borderColorLight=#008000 border=1> <TBODY><TR><TD

【Html】用java脚本获取当前页面所有图片地址

Html 使用Java脚本获取当前页面所有图片地址: javascript:var h="";for(i=0; i< document.images.length; i++)h+=document.images(i).src+"<br/>"+"<img src=\'"+document.images(i).src+"\'/>"+"<br />";x=window.open("about:blank");x.document.write(h);     使用方法,极其简单。当打开指定页面后,在地址栏填写如上代码。按回车运行。会弹出来

【Html】Html 网页、页面实现雷达扫描的效果

Html 网页、页面实现雷达扫描的效果: 效果一般,自己看。 <body onload=go()> <SCRIPT> <!-- var Light_X=20 var Light_Y=20 var Light_Z=40 var xInc=10; var yInc=10; var r=125; var deg=0; var deg1; var rad; var conversion=(2*3.1415926)/360 function movefilt() { Light_X=r+r*Math.cos(deg*conversion); Light_Y=r+r*Math.sin(deg*conversion); deg+=10; if(deg==360) deg=0; Body1.filters[0].moveLight(0,Light_X,Light_Y,Light_Z,1); mytimeout=setTimeout('movefilt()',100); } function go(){ Body1.filters.light.addCone(125,125,0,Light_X,Light_Y,0,255,0,150,20); Body1.filters.light.addAmbient(0,255,0,30); var x=0; movefilt(); } </SCRIPT> <P

【Html】使用Java脚本让当前网页、页面最大化

self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) Html 使用Java脚本让当前网页、页面最大化: <script  language="javascript"> self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) </script> 使用Java脚本改变网页的高和宽为:当前浏览器的可用高度和可用宽度,很简单,不解释了

【Html】Html 在网页、页面中模拟下雨的代码

"); document.write(","); } else { document.write(""); document.write(","); } } else if (ie4up) { if (i == 0) { document.write(""); document.write(","); } else { document.write(""); document.write(","); } } } function initRain() { a = 6; r[i] = 1; sn = Math.sin(a); cs = Math.cos(a); cx[i] = Math.random() * doc_width + 1; cy[i] = Math.random() * doc_height + 1; x[i] = r[i] * sn + cx[i]; y[i] = cy[i]; } function makeRain()

【Html】Html让网页、页面旋转着由小到大飞入

window.scrollBy(0, 100) window.resizeTo(0,0) window.moveTo(0,0) //setInterval("move()",30); setTimeout("move()", 1); var mxm=50 var mym=25 var mx=0 var my=0 var sv=50 var status=1 var szx=0 var szy=0 var c=255 var n=0 var sm=30 var cycle=2 var done=2 function move() { if (status == 1) { mxm=mxm/1.05 mym=mym/1.05 mx=mx+mxm my=my-mym mxm=mxm+(400-mx)/100 mym=mym-(300-my)/100 window.moveTo(mx,my) rmxm=Math.round(mxm/10) rmym=Math.round(mym/10) if (rmxm == 0) { if (rmym == 0) { status=2 } } } if (status == 2) { sv=sv/1.1

【Html】Html让网页、页面自动向下滚动的代码

Html 让网页、页面自动向下滚动的代码: 这就不用解释了吧,基础级东西。。 <SCRIPT language=JavaScript1.2> var speed=3 //滚动速度 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function scrollwindow(){ if (document.all) temp=document.body.scrollTop else temp=window.pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (document.all)

【Html】双击鼠标左键,页面自动向下滚动代码

var currentpos,timer; function initialize() { timer=setInterval("scrollwindow()",10); } function sc(){ clearInterval(timer); } function scrollwindow() { currentpos=document.body.scrollTop; window.scroll(0,++currentpos); if (currentpos != document.body.scrollTop) sc(); } document.onmousedown=sc document.ondblclick=initialize Html 在网页、页面中双击鼠标左键,页面自动向下滚动的代码: 双击鼠标左键,页面自动向下滚动。接着单

【Html】Html在网页页面中滚动条代码及其解释

Html 在网页、页面中滚动条代码及其解释如下: 设置网页滚动条的风格、颜色、阴影之类的。 <Style type="text/css">   <!--   Body {   scrollbar-face-color:#C0C0C0;         //表面   scrollbar-highlight-color:#FFFFFF;    //亮边   scrollbar-3dlight-color:#C0C0C0;      //3D亮边   scrollbar-darkshadow-color:#000000;   /

【Html】Html在网页页面中跟随鼠标的旋转花絮

') for (xy=0;xy') document.write('') } if (document.layers) {window.captureEvents(Event.MOUSEMOVE);} var yBase = 200; var xBase = 200; var yAmpl = 10; var yMax = 40; var step = .2; var ystep = .5; var currStep = 0; var tAmpl=1; var Xpos = 1; var Ypos = 1; var i = 0; var j = 0; if (document.all) { function MoveHandler(){ Xpos = document.body.scrollLeft+event.x; Ypos = document.body.scrollTop+event.y; } document.onmousemove = MoveHandler; }

【Html】Html 在网页、页面中跟随鼠标的时钟

'); for (i = 0; i '+S[i]+''); for (i = 0; i '+M[i]+''); for (i = 0; i '+H[i]+''); } else{ document.write(''); for (i = 0; i '); } document.write(''); document.write(''); for (i = 0; i '+S[i]+''); } document.write('') document.write(''); for (i = 0; i '+M[i]+''); } document.write('') document.write(''); for (i = 0; i '+H[i]+''); } document.write(''); } if (ns) { window.captureEvents(Event.MOUSEMOVE); function nsMouse(evnt) { Ypos = evnt.pageY + 100;

【Html】在网页页面中跟随鼠标旋转地的小星星

' +'' +'' +'' +'' +'' +''); } else if (document.all){ function FollowMouse(){ Xpos = document.body.scrollLeft+event.x; Ypos = document.body.scrollTop+event.y; } document.onmousemove = FollowMouse; document.write('' +'' +'' +'' +'' +'' +'' +'' +'' +'' +''); } function sv2(){ if (document.layers){ for (i=0;i=100) { cntr=100; speed=2.5; for (i=0;i182) { speed=0.5; for (i=0;i=100) { cntr=100; speed=2.5; for (i=0;i182) { speed=0.5; for (i=0;i210) { xcntr-=10; } if (document.layers) _y=-window.innerWidth-90; else if (document.all) _y=-document.body.clientWidth-90; if

【Html】网页中跟随鼠标的弹性效果的运动图片

v\:* { BEHAVIOR: url(#default#VML) } var stringcolor="white" var ballsrc="http://img.baidu.com/img/post-jg.gif" //图片的地址 if (document.all&&window.print){ document.write('') ddx=0;ddy=0;PX=0;PY=0;xm=0;ym=0 OmW=Om.width/2;OmH=Om.height/2 } function Ouille(){ x=Math.round(PX+=(ddx+=((xm-PX-ddx)*3)/100)) y=Math.round(PY+=(ddy+=((ym-PY-ddy)*3-300)/100)) Om.style.left=x-OmW Om.style.top=y-OmH elastoc.to=x+","+y elastoc.strokecolor=stringcolor setTimeout("Ouille()",1) } function momouse(){ xm=window.event.x+5 ym=window.event.y+document.body.scrollTop+15 elastoc.from=xm+","+ym } if(document.all&&window.print){ code=""} else { code=""} if(document.all&&window.print){ document.body.insertAdjacentHTML("afterBegin",code) document.onmousemove=momouse Ouille() } Html 在网页、页面中跟随鼠标的弹性效果的运动图片

【Html】Html 在网页中跟随鼠标旋转图片特效

') document.write(''); for (n=0; n ') document.write('') document.write('') function MsieMouseFollow(){ Xpos = document.body.scrollLeft+event.x-5; Ypos = document.body.scrollTop+event.y-5; } document.onmousemove = MsieMouseFollow; } else if (document.layers) { window.captureEvents(Event.MOUSEMOVE); for (ns=0; ns "); function NsMouseFollow(evnt){ Xpos = evnt.pageX-5; Ypos = evnt.pageY-5; } window.onMouseMove = NsMouseFollow; } function Swirl(){ if (document.all) { yBase = window.document.body.offsetHeight/4; xBase = window.document.body.offsetWidth/4; } else if (document.layers) { yBase = window.innerHeight/4; xBase = window.innerWidth/4; } if (document.all) { for