<HTML> <Head> <Metahttp-equiv= "Content-type"content= "text/html; charset=gb2312"> <title>---full-screen swimming pictures, you can float to the outside of the browser oh---pear powder price | Shijiazhuang non-standard door</title> </Head> <Body> <SCRIPTLANGUAGE= "JavaScript1.2"> <!-- /*Bouncing Image Script II (by Dheera Venkatraman [email protected]) submitted to and modified by Dynamic drive F or code enhancements for full source, usage terms, and + s more DHTML scripts, visit http://www.CsrCode.cn*/ //1) path to the Specify path to image//picture varImagePath="/images/changshi.ico" //2) Specify image dimensions//image size varImageWidth= - varImageHeight= - //3) Change this to adjust speed (lower is slower)//velocity var Speed=8; //4) Configure what should happen if user clicks on image //A value of "dismiss" would dismiss it, while A URL would cause the browser to navigate to it varImageClick="Dismiss" //5) Finally, configure when the image should automatically disappear, in seconds (0=perpetual) varHideafter=0 ////no editing required beyond this point///////////////// varIsie=0; if(Window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring (Window.navigator.appVersion.indexOf ("MSIE")+5, Window.navigator.appVersion.indexOf ("MSIE")+8)>=5.5) {Isie=1; } Else{Isie=0; } if(Isie) {varPreloadit=NewImage () preloadit.src=ImagePath}functionpop () {if(Isie) {x=x+Dx;y=y+dy; Opopup.show (x, Y, ImageWidth, imageheight); if(x+ImageWidth+5>screen.width) DX=-DX; if(y+ImageHeight+5>screen.height) Dy=-dy; if(x<0) DX=-DX; if(y<0) Dy=-dy; Startani=SetTimeout ("pop ();", -); } } functionDismisspopup () {cleartimeout (Startani) opopup.hide ()}functionDowhat () {if(ImageClick=="Dismiss") Dismisspopup ()Elsewindow.location=ImageClick}if(Isie) {varx=0, y=0, DX=Speed,dy=Speed ; varOpopup=Window.createpopup (); varOpopupbody=OPopup.document.body; OPopupBody.style.cursor="Hand"opopupbody.innerhtml= ''+preloadit.src+'">'; OPopup.document.body.onmouseover=NewFunction ("cleartimeout (Startani)") OPopup.document.body.onmouseout=Pop OPopup.document.body.onclick=dowhat pop (); if(Hideafter>0) SetTimeout ("Dismisspopup ()", Hideafter* +) } // - </SCRIPT> </Body> </HTML> <BR><BR><HR>
Full-screen swimming pictures can float to the outside of the browser