⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0100.htm

📁 最全的JS大全,希望大家喜欢.收录于网络.收录于网络.最全的JS大全,希望大家喜欢.
💻 HTM
字号:
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- saved from url=(0032)http://www.ie-zone.com/index.php --><HTML><!-- #BeginTemplate "/Templates/JsExample.dwt" --><HEAD><!-- #BeginEditable "doctitle" --> <TITLE>飞舞的图片 IE5.5</TITLE><!-- #EndEditable --><META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK  href="fav.ico" rel="shortcut icon"><STYLE type=text/css>BODY {	MARGIN: 25px 25px 25px}#all TD {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}INPUT {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}SELECT {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}P {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}TEXTAREA {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}#all A:active {	COLOR: #7d070c}#all A:visited {	COLOR: #7d070c}#all A:hover {	COLOR: #336699}#all A:link {	COLOR: #7d070c}</STYLE><SCRIPT language=JavaScript><!--function MM_goToURL() { //v3.0  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function JM_cc(ob){ob.select();js=ob.createTextRange();js.execCommand("Copy");}//--></SCRIPT><META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD><BODY id=all text=#000000 bgColor=#336699><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>  <TR bgColor=#ffffff>     <TD><IMG src="../images/sq_1.gif" width=11 height="14"></TD>    <TD width="100%"></TD>    <TD><IMG src="../images/sq_2.gif"    width=11 height="14"></TD>  </TR></TABLE><!-- #BeginEditable "Example%20and%20Sources" --> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>  <TR bgColor=#ffffff>     <TD><IMG src="../images/space.gif" width=11 height="1"></TD>    <TD width="100%">       <table width="100%" border="0" cellpadding="8">        <tr>           <td align="center"><!-- #BeginLibraryItem "/Library/js_title.lbi" --><script language="JavaScript">document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");</script><!-- #EndLibraryItem --></td>        </tr>        <tr>           <td bgcolor="#f7f7f7">             <script language="JavaScript1.2"><!--/*Bouncing Image script II (By Dheera Venkatraman dheera@usa.net)Submitted to and modified by Dynamic Drive for code enhancementsFor full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com*///1) specify path to imagevar imagepath="img/l.gif"//2) specify image dimensionsvar imagewidth=136var imageheight=47//3) change this to adjust speed (lower is slower)var speed=8;//4) configure what should happen when user clicks on image//A value of "dismiss" will dismiss it, while a URL will cause the browser to navigate to itvar imageclick="dismiss"//5) Finally, configure when the image should automatically disappear, in seconds (0=perpetual)var hideafter=0////No editing required beyond this point/////////////////var isie=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){var preloadit=new Image()preloadit.src=imagepath}function pop() {  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();",50);  }}function dismisspopup(){clearTimeout(startani)oPopup.hide()}function dowhat(){if (imageclick=="dismiss")dismisspopup()elsewindow.location=imageclick}if(isie) {  var x=0,y=0,dx=speed,dy=speed;  var oPopup = window.createPopup();  var oPopupBody = oPopup.document.body;  oPopupBody.style.cursor="hand"  oPopupBody.innerHTML = '<IMG SRC="'+preloadit.src+'">';  oPopup.document.body.onmouseover=new Function("clearTimeout(startani)")  oPopup.document.body.onmouseout=pop  oPopup.document.body.onclick=dowhat  pop();if (hideafter>0)setTimeout("dismisspopup()",hideafter*1000)}// --></script>            提示:看到了吗?这个图片能跨越所有窗口的。Cool!!!!!但只有IE5.5可以用.</td>        </tr>        <tr>           <td>             <p>1.将下面的代码复制到&lt;body&gt;内               <input type="button" name="Button" value="复制到我的剪贴板" onClick=JM_cc(js_1)>              <br>              <textarea name="js_1" wrap="VIRTUAL" cols="80" rows="10"><SCRIPT LANGUAGE="JavaScript1.2"><!--/*Bouncing Image script II (By Dheera Venkatraman dheera@usa.net)Submitted to and modified by Dynamic Drive for code enhancementsFor full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com*///1) specify path to image//图片的路径var imagepath="http://www.yourdomain.com/image.gif"//2) specify image dimensions//图片的大小var imagewidth=90var imageheight=30//3) change this to adjust speed (lower is slower)//速度var speed=8;//4) configure what should happen when user clicks on image//A value of "dismiss" will dismiss it, while a URL will cause the browser to navigate to itvar imageclick="dismiss"//5) Finally, configure when the image should automatically disappear, in seconds (0=perpetual)var hideafter=0////No editing required beyond this point/////////////////var isie=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){var preloadit=new Image()preloadit.src=imagepath}function pop() {  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();",50);  }}function dismisspopup(){clearTimeout(startani)oPopup.hide()}function dowhat(){if (imageclick=="dismiss")dismisspopup()elsewindow.location=imageclick}if(isie) {  var x=0,y=0,dx=speed,dy=speed;  var oPopup = window.createPopup();  var oPopupBody = oPopup.document.body;  oPopupBody.style.cursor="hand"  oPopupBody.innerHTML = '<IMG SRC="'+preloadit.src+'">';  oPopup.document.body.onmouseover=new Function("clearTimeout(startani)")  oPopup.document.body.onmouseout=pop  oPopup.document.body.onclick=dowhat  pop();if (hideafter>0)setTimeout("dismisspopup()",hideafter*1000)}// --></SCRIPT></textarea>              <br>              <br>              2.你需要修改图片的路径与大小<br>            </p>            </td>        </tr>      </table>    </TD>    <TD><IMG src="../images/space.gif"    width=11 height="1"></TD>  </TR></TABLE><!-- #EndEditable --><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>  <TR bgColor=#ffffff>     <TD><IMG src="../images/sq_3.gif" width=11 height="14"></TD>    <TD width="100%"></TD>    <TD><IMG src="../images/sq_4.gif"    width=11 height="14"></TD>  </TR></TABLE></BODY><!-- #EndTemplate --></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -