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

¹ØÓÚjavascript¿ØÖÆWindows Media Player


Js´úÂë
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="wmp" >   
<param name="URL" value="" />                           //ýÌåÎļþµØÖ·   
<param name="rate" value="1" />   
<param name="balance" value="0" />                    //ÉùµÀ0È«ÉùµÀ,-100×óÉùµÀ,100ÓÒÉùµÀ   
<param name="currentPosition" value="0" />   
<param name="playCount" value="1" />                //²¥·Å´ÎÊý   
<param name="autoStart" value="-1" />                //ÊÇ·ñ×Ô¶¯²¥·Å-1ÊÇ,0·ñ   
<param name="currentMarker" value="0" />   
<param name="invokeURLs" value="-1" />   
<param name="volume" value="50" />                  //ÒôÁ¿   
<param name="mute" value="0" />');                    //ÊÇ·ñ¾²Òô-1ÊÇ,0·ñ   
<param name="uiMode" value="none" />             //²¥·ÅÆ÷ģʽfull(ĬÈÏ)ÏÔʾȫ²¿¿Ø¼þ,none½öÊÓƵ´°¿Ú,miniÊÓƵ¼°Ò»Ð©³£Óÿؼþ,invisiblei²»ÏÔʾÈκοؼþ¼°ÊÓƵ´°¿Ú   
<param name="stretchToFit" value="0" />   
<param name="windowle


Ïà¹ØÎĵµ£º

JavaScript£ºÖ»ÄÜÊäÈëÊý×Ö(IE¡¢FF)

ת×Ô£ºhttp://www.cnblogs.com/ly5201314/archive/2009/03/04/1402993.html
JavaScript£ºÖ»ÄÜÊäÈëÊý×Ö(IE¡¢FF)
ΪÁ˽â¾öÖ»ÄÜÊäÈëÊý×ÖµÄÎÊÌ⣬ÍøÉÏÓÐÐí¶à×ÊÁÏ£¬ÏÖ¹é£һÏ¡£
¡¡¡¡Ò»¡¢²»´ø¸ººÅµÄÊäÈë
ÕâÀûÓнâ¾ö“Õý¸ººÅ”µÄÎÊÌâ¡£
ÓÉÓÚ“Õý¸ººÅ”±ØÐë³öÏÖÔÚÊý×ÖµÄ×îÇ°¶Ë£¬Òò´Ë£¬±ØÐëÒªÅжϵ±Ç° ......

javascript ¶ÔÆÁĻλÖü°ä¯ÀÀÆ÷λÖõĻñÈ¡

// ä¯ÀÀÆ÷ÏÔʾÇøÓòµÄ¿íºÍ¸ß£¬ÏòÏ»¹Ô­ºóÖµ»á±äС¡£
document.body.clientWidth;
document.body.clientHeight;
 
// ÓëÉÏÃæµÄÁ½¸öÖµÏà±È£¬ÎÒ¾õµÃ¾ÍÊǼÓÉÏÁ˹ö¶¯ÌõµÄ¿íºÍ¸ß
document.body.offsetWidth;
document.body.offsetHeight;
 
// Õû¸öÍøÒ³µÄ¸ß¶ÈºÍ¿í¶È£¬°üÀ¨¹ö¶¯ÌõÖÐûÓÐÏÔʾ³öÀ´µÄ
document.bod ......

myeclipse¸Ä±äjavascript±àÂë¸ñʽ

window ->perferences->myeclipse->Files and Eidtors ->javaScript
ÒòΪMyEclipse±£´æjsÎļþ£¬ÖÐÎÄ»á³öÏÖÂÒÂë¡£°´ÉÏÊö·½·¨½«±àÂë¸ñʽ¸Ä³ÉÖÐÎĵıàÂë
ʵÔÚ²»Ðоʹò¿ªÔ­ÏȵÄÔ­¸åjsµÄÎļþ£¬¸´ÖÆ£¬Õ³Ìù¡£¡£¡£ ......

Ò»¶ÎʵÏÖHTMLÒ³ÃæÄÚ¶¨ÆÚ´¥·¢Ê¼þµÄJavaScript´úÂë

avaScriptͨ¹ýÄÚÖõÄsetTimeoutº¯ÊýÀ´Íê³ÉÒ³ÃæÄڵĶ¨Ê±¼ì²é£¬Ò²ÊǺܾÃÒÔǰдµÄ¶«Î÷ÁË¡£
Ö®ËùÒÔÏëÆðËüÀ´£¬ÊÇÒòΪÔÚºÍÏîÄ¿×éÆäËû³ÉԱ˵¸ÃÊÂÇéµÄʱºò£¬±ðÈ˾¹È»³°Ð¦ÎÒ˵ÊÇÉϸöÊÀ¼ÍµÄ´úÂ룬ÏÖÔÚ¶¼ÓÃWEB2.0ÁË¡£
<script language="JavaScript" type="text/JavaScript">
//Ôö¼ÓϵͳɨÃèʱ¼ä
var v_ ......

javascript replace µÄÕýÔò±í´ïʽ

replace()×î¼òµ¥µÄËãÊÇÄÜÁ¦¾ÍÊǼòµ¥µÄ×Ö·ûÌæ»»¡£ ʾÀý´úÂëÈçÏ£º
ËüÖ»Ìæ»»ÁËÊ××Öĸ¡£µ«Èç¹û¼ÓÉÏÕýÔò±í´ïʽ½á¹û¾Í²»Ò»ÑùÁË£¡replace()Ö§³ÖÕýÔò±í´ïʽ£¬Ëü¿ÉÒÔ°´ÕÕÕýÔò±í´ïʽµÄ¹æÔòÆ¥Åä×Ö·û»ò×Ö·û´®£¬È»ºó¸øÓèÌæ»»£¡ ×¢Ò⣺±»Ìæ»»µÄ²¿·Ö²»ÓüÓË«ÒýºÅ.
ÕâÑù»¹ÊÇÖ»Ìæ»»Á˵ÚÒ»¸ö×Öĸa¡£
ÓÉÉÏ¿ÉÖª£¬µ±ÕýÔò±í´ïʽÓÐ"g"±ê־ʱ£¬´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ