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

📄 70.txt

📁 搜索邀请的改进算法
💻 TXT
📖 第 1 页 / 共 2 页
字号:
	      } else {
		  for (i = 0; i < numPlugins; i++) {
		      daPlugin = navigator.plugins[i];
		      if ((daPlugin.description.indexOf(plugindescription) != -1) || (daPlugin.name.indexOf(plugindescription) != -1)) {
			  detected=1;
			  break;
		      }
		  }
	      }

	      // Mac weirdness
      if (navigator.mimeTypes[pluginmime] == null) {
		  detected = 0;
	      }
	  }
	  return detected;
      } else if((msie_windows == 1) && !plugin_undetectable){
	  return WM_activeXDetect(activeXname);
      } else { 		
	  return 0;
      }
  } else {
      return 0;
  }
}


// this next function just makes it easy to detect the common plugins

function WM_easyDetect(whichPlugin) {

    // this function just makes it easy to do basic plug-in detection without

    // knowing all the mimetypes and activeX names and such
    var isItThere = 0;
    if( (whichPlugin == 'flash') || (whichPlugin == 'Flash') ) {
	isItThere = WM_pluginDetect('Flash', 'swf', 'application/x-shockwave-flash', 'ShockwaveFlash.ShockwaveFlash');
    } else if( (whichPlugin == 'director') || (whichPlugin == 'Director') ) {
	isItThere = WM_pluginDetect('Shockwave', 'dcr', 'application/x-director', 'SWCtl.SWCtl.1');
    } else if( (whichPlugin == 'quicktime') || (whichPlugin == 'Quicktime') || (whichPlugin == 'QuickTime') ) {
	isItThere = WM_pluginDetect('QuickTime', 'mov', 'video/quicktime', '');
    } else if( (whichPlugin == 'realaudio') || (whichPlugin == 'Realaudio') || (whichPlugin == 'RealAudio') ) {
	isItThere = (WM_pluginDetect('RealPlayer', 'rpm', 'audio/x-pn-realaudio-plugin', 'RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)')) || (WM_pluginDetect('RealPlayer', 'rpm', 'audio/x-pn-realaudio-plugin','rmocx.RealPlayer G2 Control')) || (WM_pluginDetect('RealPlayer', 'rpm', 'audio/x-pn-realaudio-plugin','RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)')) || (WM_pluginDetect('RealPlayer', 'rpm', 'audio/x-pn-realaudio-plugin','RealVideo.RealVideo(tm) ActiveX Control (32-bit)'))
    } else {

	alert('You need to tell me which plug-in to look for, like so:\n\n' + '          WM_easyDetect(\'flash\')\n\n' + '          WM_easyDetect(\'director\')\n\n' + '          WM_easyDetect(\'quicktime\')\n\n' + '          WM_easyDetect(\'realaudio\')');
    }
    return isItThere;
}

//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\   END  //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>

</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="initPreLoad(); MM_preloadImages('Imgs/htmlButton_f2.gif')">
<table border="0" cellpadding="0" cellspacing="0" width="748" align="center" height="513">
  <!-- fwtable fwsrc="sliced_Splash_no_fx.png" fwbase="splash.jpg" --> 
  <tr> <!-- Shim row, height 1. --> 
    <td><img src="imgs/shim.gif" width="150" height="1" border="0"></td>
    <td><img src="imgs/shim.gif" width="150" height="1" border="0"></td>
    <td><img src="imgs/shim.gif" width="151" height="1" border="0"></td>
    <td><img src="imgs/shim.gif" width="149" height="1" border="0"></td>
    <td><img src="imgs/shim.gif" width="148" height="1" border="0"></td>
    <td><img src="imgs/shim.gif" width="1" height="1" border="0"></td>
  </tr>
  <tr valign="top"><!-- row 1 --> 
    <td>&nbsp;</td>
    <td rowspan="3"><img name="two" src="imgs/splash_r1_c2.jpg" width="150" height="207" border="0" alt="Park Image 2"></td>
    <td rowspan="3"><img name="three" src="imgs/splash_r1_c3.jpg" width="151" height="207" border="0" alt="Park Image 3"></td>
    <td rowspan="2"><img name="splash_r1_c4" src="imgs/home_r1_c5.jpg" width="149" height="96" border="0" alt="Seabreeze"></td>
    <td rowspan="2"><img name="splash_r1_c5" src="imgs/home_r1_c6.jpg" width="148" height="96" border="0" alt="logo"></td>
    <td><img src="imgs/shim.gif" width="1" height="43" border="0"></td>
  </tr>
  <tr valign="top"><!-- row 2 --> 
    <td rowspan="3"><img name="one" src="imgs/splash_r2_c1.jpg" width="150" height="230" border="0" alt="Park Image 1"></td>
    <td><img src="imgs/shim.gif" width="1" height="55" border="0"></td>
  </tr>
  <tr valign="top"><!-- row 3 --> 
    <td rowspan="2"><img name="four" src="imgs/splash_r3_c4.jpg" width="149" height="175" border="0" alt="Park Image 4"></td>
    <td rowspan="2"><img name="five" src="imgs/splash_r3_c5.jpg" width="148" height="175" border="0" alt="Park Image 5"></td>
    <td><img src="imgs/shim.gif" width="1" height="109" border="0"></td>
  </tr>
  <tr valign="top"><!-- row 4 --> 
    <td>&nbsp;</td>
    <td><img name="splash_r4_c3" src="imgs/splash_r4_c3.jpg" width="151" height="66" border="0"></td>
    <td><img src="imgs/shim.gif" width="1" height="66" border="0"></td>
  </tr>
  <tr valign="top"> 
    <td colspan="5" height="194" valign="top" align="center"> 
      <p><font face="sans-serif" size="3"> </font> </p>
      <table width="748" border="0" cellspacing="0" cellpadding="0" height="157">
        <tr> 
          <td width="315" height="71"></td>
          <td width="433" align="right" valign="middle" colspan="3" height="71"> 
            <div align="center"><font face="sans-serif" size="3"> 
              <script>
<!--
//document.write('<br><br>\n\nWe have detected that ');	//--this is fun like seabreeze
var hasFlash;
if(WM_pluginDetect('Flash 4', 'swf','application/x-shockwave-flash','ShockwaveFlash.ShockwaveFlash.4') || WM_pluginDetect('Flash 3', 'swf','application/x-shockwave-flash', 'ShockwaveFlash.ShockwaveFlash.3')) { 
	document.write('You would benefit from the current <a href=\"#\" onClick=\"window.open(\'http://www.macromedia.com/downloads/\',\'_blank\',\'\')\; void(0)\;\">FREE FLASH PLAYER</a>, see link below!<br>');
	var hasFlash = false;
	detectBrowser();
} else 
if (WM_pluginDetect('Flash 5', 'swf','application/x-shockwave-flash', 'ShockwaveFlash.ShockwaveFlash.5') || WM_pluginDetect('Flash 6', 'swf','application/x-shockwave-flash', 'ShockwaveFlash.ShockwaveFlash.6')) {
	var hasFlash = true;
	detectBrowser();
} else {
	document.write('You would benefit from the current <a href=\"#\" onClick=\"window.open(\'http://www.macromedia.com/downloads/\',\'_blank\',\'\')\; void(0)\;\">FREE FLASH PLAYER</a>, see link below!<br>');
	var hasFlash = false;
	detectBrowser();
}
// -->
</script>
              </font></div>
          </td>
        </tr>
        <tr> 
          <td height="50"><img src="imgs/shim.gif" width="315" height="1"></td>
          <td align="right" valign="middle" height="50"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="141" height="50">
              <param name=movie value="Imgs/buttonSplashpage.swf">
              <param name=quality value=high>
              <embed src="Imgs/buttonSplashpage.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="141" height="50">
              </embed> 
            </object></td>
          <td height="50">&nbsp;</td>
          <td align="left" valign="middle" height="50"><a href="noFlash/home.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','Imgs/htmlButton_f2.gif',1)">home</a><img src="Imgs/htmlButton.gif" width="141" height="50" border="0" name="Image1" alt="HTML home page"></a></td>
        </tr>
        <tr> 
          <td width="315" height="60">&nbsp;</td>
          <td width="141" align="right" valign="middle" height="60"> 
            <div align="center"><font face="Arial, Helvetica, sans-serif" size="2">If 
              you can see the animation above you are OK to enter!</font></div>
          </td>
          <td width="104" valign="bottom" align="center" height="60"><img src="Imgs/help.gif" width="92" height="34" border="0"></a></td>
          <td width="188" align="left" valign="middle" height="60">&nbsp;</td>
        </tr>
        <tr> 
          <td width="315" height="48">&nbsp;</td>
          <td width="245" align="left" valign="middle" height="48" colspan="2"> 
            <script language="JavaScript">
					if (allowAccess == true) {
						document.write (' ');
					} else {
						document.write ('<img src=\"Imgs/browserButts_r2_c4.gif\" width=\"196\" height=\"32\">')
					}
				</script>
          </td>
          <td width="188" align="left" valign="middle" height="48"> 
            <script language="JavaScript">
				if (allowAccess == true) {
					document.write (' ')
				} else {
					document.write();
				}
			</script>
          </td>
        </tr>
        <tr> 
          <td width="315" height="48">&nbsp;</td>
          <td width="433" align="center" valign="middle" height="48" colspan="3"> 
            <script language="JavaScript">
					if (hasFlash == true) {
						document.write (' ');
					} else {
						document.write('<img src=\"imgs/flashDownLoad.gif\" width=\"124\" height=\"40\"></a><br>');
					}
				</script>
          </td>
        </tr>
      </table>
      <p>&nbsp; </p>
      </td>
    <td height="194">&nbsp;</td>
  </tr>
  <tr valign="top"><!-- row 5 --> 
    <td colspan="5" height="166" valign="middle" align="center"> 
      <p>&nbsp;</p>
      <p>&nbsp;</p>
    </td>
    <td height="166"><img src="imgs/shim.gif" width="1" height="182" border="0"></td>
  </tr>
  <tr valign="top"><!-- row 6 --> 
    <td colspan="5">&nbsp;</td>
    <td><img src="imgs/shim.gif" width="1" height="121" border="0"></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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