Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Javascript¼ì²âMedia Player°æ±¾£¡

      ÔÚweb¿ª·¢¹ý³ÌÖУ¬¾­³£»á³öÏÖÒòΪ¿Í»§¶ËµÄijЩÈí¼þ°æ±¾ÎÊÌ⣬¶øµ¼ÖÂÖÖÖÖÎÊÌâ¡£ÕâÀ´Ìì¾ÍÒòΪMedia Player°æ±¾µÄÎÊÌ⣬Òý·¢ÁËÒ»¸ö²»´ó²»Ð¡µÄÎÊÌâ¡£ÔÚµ÷ÓÃMedia Player²¥·ÅÊÓÆµµÄʱºò£¬Media Player9¾¹È»²¥·Å²»ÁË ...  ...
 
²»¶à˵ÁË£¬»¹ÊÇÌù´úÂë°É£¡
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Javascript¼ì²âMedia Player°æ±¾</title>
<IE:clientCaps ID="oClientCaps" style="{behavior:url(#default#clientcaps)}" />
<script language="javascript">
var flash="";
WMPVersion= oClientCaps.getComponentVersion("{22D6F312-B0F6-11D0-94AB-0080C74C7E95}","ComponentID");
if (WMPVersion != "") {
if(eval(WMPVersion.split(",")[0])<10)
{alert("Äúµ±Ç°ÏµÍ³µÄMedia Player°æ±¾¹ýµÍ,¿ÉÄÜÓ°ÏìÄúµÄÕý³£¹Û¿´!\n\n½¨ÒéÄú¸üÐÂÖÁMedia Player 10»òÒÔÉϰ汾.");}
}
</script>
</head>
<body>
</body>
</html>
 
Æäʵ¿ÉÒÔͨ¹ýJS¼ì²âµÄÆäËû°æ±¾ÐÅÏ¢»¹Óкܶ࣬±ÈÈ磺
¼ì²âIE°æ±¾£º
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ÎÞ±êÌâÎĵµ</title>
<script language="javascript">
function GetIEVersion()
{
try
{
if(!window.clientInformation)
return false;
if(window.clientInformation.appName.toLowerCase()!="microsoft internet explorer")
return false;
if(window.clientInformation.appVersion.toLowerCase().indexOf("msie")==-1)
return false;
var a=window.clientInformation.appVersion.toLowerCase().split(";");
for(var i=0;i<a.length;i++)
{
a[i]=a[i].replace(/^\s+$/g,"");
if(a[i].indexOf("msie")==1)
{
var version=a[i].substr(5,a[i].indexOf(".")-2);
alert("Ä


Ïà¹ØÎĵµ£º

JavaScript counter

µ±Ò³Ãæ¼ÓÔØÒÔºó£¬Ö´ÐÐJavaScript£¬°´Ã뿪ʼ¼ÆÊý£º
JavaScript function£º
<SCRIPT language="JavaScript">
<!--Timer in JavaScript
var timerform
speed=1000
function dotimer()
{
today=new Date()
slutsec=today.getSeconds()
slutmin=today.getMinutes()
sluttim=today.getHours()
sluta=(slutse ......

javascriptÑéÖ¤Îı¾¿òÄÚÈÝ

ÑéÖ¤Îı¾¿òÄÚÈݲ»ÄÜΪ¿Õ
<input onblur="if(this.value.replace(/^ +| +$/g,'')=='')alert('²»ÄÜΪ¿Õ!')">
Ö»ÄÜÊäÈëÓ¢ÎĺÍÊý×Ö
<input onblur="if(/[^0-9a-zA-Z]/g.test(value))alert('Óдí')">
<input onkeyup="value=value.replace(/[^0-9a-zA-Z]/g,'')"/>
<input type="text" onkeyup="value ......

JavascriptÖÐ×î³£ÓõÄ55¸ö¾­µä¼¼ÇÉ

  JavascriptÖÐ×î³£ÓõÄ55¸ö¾­µä¼¼ÇÉ
1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)><td>no</table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡Ïûѡȡ¡¢·ÀÖ¹¸´ÖÆ
3. onpaste="return false" ²»×¼Õ³Ìù ......

JavaScriptÖеÄÃæÏò¶ÔÏó Àà


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"Cambria Mat ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ