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

javascriptÍøÒ³¶Ô»°¿ò²ÎÊýÏê½â

N.1 »ù±¾½éÉÜ£º
    * showModalDialog() (IE 4+ Ö§³Ö)£¬ÓÃÀ´´´½¨Ò»¸öÏÔʾHTMLÄÚÈݵÄģ̬¶Ô»°¿ò¡£
    * showModelessDialog() (IE 5+ Ö§³Ö) £¬ÓÃÀ´´´½¨Ò»¸öÏÔʾHTMLÄÚÈݵķÇģ̬¶Ô»°¿ò¡£
N.2 ʹÓ÷½·¨£º
    * vReturnValue = window.showModalDialog(sURL [, vArguments] [,sFeatures])
    * vReturnValue = window.showModelessDialog(sURL [, vArguments] [,sFeatures])
N.2.1 ²ÎÊý˵Ã÷£º
    * sURL-- ±ØÑ¡²ÎÊý£¬ÀàÐÍ£º×Ö·û´®¡£ÓÃÀ´Ö¸¶¨¶Ô»°¿òÒªÏÔʾµÄÎĵµµÄURL¡£
    * vArguments-- ¿ÉÑ¡²ÎÊý£¬ÀàÐÍ£º±äÌå¡£ÓÃÀ´Ïò¶Ô»°¿ò´«µÝ²ÎÊý¡£´«µÝµÄ²ÎÊýÀàÐͲ»ÏÞ£¬°üÀ¨Êý×éµÈ¡£¶Ô»°¿òͨ¹ýwindow.dialogArgumentsÀ´È¡µÃ´«µÝ½øÀ´µÄ²ÎÊý¡£
    * sFeatures-- ¿ÉÑ¡²ÎÊý£¬ÀàÐÍ£º×Ö·û´®¡£ÓÃÀ´ÃèÊö¶Ô»°¿òµÄÍâ¹ÛµÈÐÅÏ¢£¬¿ÉÒÔʹÓÃÒÔϵÄÒ»¸ö»ò¼¸¸ö£¬Ó÷ֺœ;”¸ô¿ª¡£
         1. dialogHeight :¶Ô»°¿ò¸ß¶È£¬²»Ð¡ÓÚ£±£°£°px£¬£É£Å£´ÖÐdialogHeight ºÍ dialogWidth ĬÈϵĵ¥Î»ÊÇem£¬¶ø£É£Å£µÖÐÊÇpx£¬Îª·½±ãÆä¼û£¬ÔÚ¶¨Òåmodal·½Ê½µÄ¶Ô»°¿òʱ£¬ÓÃpx×öµ¥Î»¡£
         2. dialogWidth: ¶Ô»°¿ò¿í¶È¡£
         3. dialogLeft: ÀëÆÁÄ»×óµÄ¾àÀë¡£
         4. dialogTop: ÀëÆÁÄ»ÉϵľàÀë¡£
         5. center: {yes | no | 1 | 0 }£º´°¿ÚÊÇ·ñ¾ÓÖУ¬Ä¬ÈÏyes£¬µ«ÈÔ¿ÉÒÔÖ¸¶¨¸ß¶ÈºÍ¿í¶È¡£
         6. help: {yes | no | 1 | 0 }£ºÊÇ·ñÏÔʾ°ïÖú°´Å¥£¬Ä¬ÈÏyes¡£
         7. resizable: {yes | no | 1 | 0 } £Û£É£Å£µ£«£Ý£ºÊÇ·ñ¿É±»¸Ä±ä´óС¡£Ä¬ÈÏno¡£
         8. status: {yes | no | 1 | 0 } £ÛIE5+£Ý£ºÊÇ·ñÏÔʾ״̬À¸¡£Ä¬ÈÏΪyes[ Modeless]»òno[Modal]¡£
         9. scroll:{ yes | no | 1 | 0 | on | off }£ºÖ¸Ã÷¶Ô»°¿òÊÇ·ñÏÔʾ¹ö¶¯Ìõ¡£Ä¬ÈÏΪyes¡£
        10. ÏÂÃ漸¸öÊôÐÔÊÇÓÃÔÚHTAÖеģ¬ÔÚÒ»°ãµ


Ïà¹ØÎĵµ£º

Cookies½ÒÃØ [Asp.Net, Javascript]

Ò»£¬Ç°ÑÔ
CookiesÏë±ØËùÓÐÈ˶¼Á˽⣬ µ«ÊÇδ±ØËùÓÐÈ˶¼¾«Í¨¡£±¾ÎĽ²½âÁËCookiesµÄ¸÷·½Ãæ֪ʶ£¬ ²¢ÇÒÌá³öÀ´ÁË×î¼Ñʵ¼ù¡£ÕâÊDZÊÕßÔÚÈÕ³£¹¤×÷ÖеĻýÀۺͳÁµí¡£
¶þ£¬»ù´¡ÖªÊ¶
1.ʲôÊÇCookies
Cookie ÊÇһС¶ÎÎı¾ÐÅÏ¢£¬°éËæ×ÅÓû§ÇëÇóºÍÒ³ÃæÔÚ Web ·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä´«µÝ¡£Cookie °üº¬Ã¿´ÎÓû§·ÃÎÊÕ¾µãʱ Web Ó¦ÓóÌÐò¶¼¿ ......

javascriptÖе÷ÓÃdelphiº¯Êý


ÒÔÏÂÊÇtest.htmÒ³µÄÄÚÈÝ
Ê×Ïȶ¨ÒåÒ»¸ö²å¼þ¶ÔÏó
 
<object id="Mapupload" name="Mapupload" width="0" height="0" classid="clsid:045FA9B9-B373-4D4C-AE76-128A19A4B6AE">
</object>
<script type="text/javascript">
//´Ëº¯Êý´ò¿ªactivexform´°Ì岢Ϊactiv ......

JavaScript µ¹¼ÇʱÆ÷

¿´¹ýÏã¸ÛºÍ°ÄÃŻعéµÄµ¹¼ÇʱÆ÷ûÓУ¬ÊDz»ÊÇÏë¸ø×Ô¼ºµÄ±È½ÏÓÐÒâÒåµÄÈÕ×ÓÒ»¸ö¼ÇʱÆ÷ÌáÐÑ×Ô¼º£¬JavaScript¸øÁËÎÒÃÇÕâ¸ö»ú»áȥʵÏÖÎÒÃǵÄÏë·¨£¬¿´¿´ÏÂÃæµÄÀý×Ó£º
ÔÚ<body>ºÍ</body>±êÇ©¼äÊäÈëÒÔÏ´úÂë
<SCRIPT LANGUAGE="JavaScript">
var urodz= new Date("December 25,2002");
var s="Ê¥µ®½Ú";
//»ñÈ¡ ......

JavaScript »ñÈ¡¿Í»§¶Ë¼ÆËã»úÓ²¼þ¼°ÏµÍ³ÐÅÏ¢(תÔØ)

ͨ¹ýWMIÀ´ÊµÏÖ»ñÈ¡¿Í»§¶Ë¼ÆËã»úÓ²¼þ¼°ÏµÍ³ÐÅÏ¢:
1//ϵͳÐÅÏ¢»ñÈ¡
2function getSysInfo(){
3 var locator = new ActiveXObject ("WbemScripting.SWbemLocator");
4 var service = locator.ConnectServer(".");
5 //CPUÐÅÏ¢
6 var cpu = new Enumerator (service.ExecQuery("SELECT * from Win32_Processor")).item(); ......

JavaScriptµ¯³öÒ³Ãæ

<script language="javascript" type="text/javascript">
fea = "width=400,height=300,top=100,left=300,resizable=0,scrollbars=0,dependent=yes";
fea_action="width=200,height=100,left=256,top=260,resizable=0,scrollbars=0,dependent=yes"
function f_gopage(page){
form2.page.value=page;
form2.pages ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ