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

javascriptͨ¹ýcssÊôÐÔµÄÉèÖÃÀ´¿ØÖÆÕ¹¿ª;ÊÕËõ²Ëµ¥

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Admin ManageMenu</title>
    <style type="text/css">
    body {
scrollbar-face-color: #eeeaeb;
scrollbar-highlight-color: #fbfdfc;
scrollbar-shadow-color: #666;
scrollbar-arrow-color: #000000;
scrollbar-darkshadow-color: #D4D0C8;
scrollbar-base-color: #666;
}
body {
background-color: #7da8a8;
background-image: url("OblogStyleAdminImages/left-menu.png");
background-position: right top;
margin:0;
padding:0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align:left}
#sub{ margin:8px 0; color:#fff;padding:0; text-align:center}
a{ color:#fff; text-decoration:none}
a:hover{ color:#D2E1E1}
a img {
border:0px solid #000;
}
li{ text-align:left;}
ul,li{ margin:0; padding:0;width:100%;}
* html li a{padding:4px 0 2px 11px;display:block; line-height:200%; color:#023C3C}
li a{padding:0 0 1px 11px;display:block; line-height:190%; color:#023C3C}
li a:hover {
color:#036B6B;
}
* html .menu-t1 { background:
url("OblogStyleAdminImages/left-menu-style.png") no-repeat;
color:#fff;text-align:left;padding:5px 0 5px 30px;CURSOR: hand;}
.menu-t1 { background: url("OblogStyleAdminImages/left-menu-style.png")
no-repeat; color:#fff;text-align:left;padding:1px 0 4px 30px;CURSOR:
hand;}
li.menu-t1 a:hover{ color:#ccc; text-decoration:none}
#toplogo {width:140px;height:41px;}
/* ×ó²àLOGO
-----------------------------------------------------------
#toplogo {width:140px;height:41px;background: url("OblogStyleAdminImages/left-top.png") no-repeat right top;}
*/
</style>
<script language="javascript" type="text/javascript">
function menu(oblog){


Ïà¹ØÎĵµ£º

¡¶JavaScript And DHTML Cookbook¡·Ñ§Ï°±Ê¼Ç

¡¡¡¡´ËÎÄΪ¶Á¡¶JavaScript And DHTML Cookbook¡·ºó×ܽá³öÀ´µÄ±Ê¼Ç¡£ÓÉÓÚµ±Ê±Êdzõѧ£¬ËùÒԱʼÇÖÐÄÑÃâÓдíÎ󣬻¶Ó­Ö¸Õý¡£Ð»Ð»£¡
·×Ö·û´®(String)
  1.ÉùÃ÷
    var myString = new String("Every good boy does fine.");
    var myString = "Every good boy does fine.";
&n ......

JavaScript ͼÏñµØͼ

 
ͼÏñµØͼָµÄÊÇ´øÓпɵã»÷ÇøÓòµÄͼÏñ¡£
ʵÀý
¼òµ¥µÄ HTML ͼÏñÓ³Éä
±¾ÀýÑÝʾһ·ùûÓÐÌí¼Ó JavaScript µÄͼÏñÓ³Éä¡£
Ìí¼ÓÁË JavaScript µÄͼÏñÓ³Éä
±¾ÀýÑÝʾһ·ùÌí¼ÓÁË JavaScript µÄͼÏñÓ³É䣬µ±Êó±ê¸¡¶¯ÓÚij¸öÈȵãÉÏʱ£¬»áµ÷Óà JavaScript º¯ÊýÀ´ÏÔʾÈȵãËù¶ÔÓ¦µÄÐÇÇòµÄ¼ò½é¡£
JavaScript ͼÏñµØͼ
ÎÒÃÇÒѾ ......

ÓÃJavascriptÖÆ×÷Õ¾ÄÚËÑË÷Æ÷

ÓÃJavaScript×öµÄÕ¾ÄÚËÑË÷²»½ö±à³ÌʵÏÖ¡¢Î¬»¤ÆðÀ´ºÜ¼òµ¥£¬¶øÇÒËüÄÜÔÚ¿Í»§¶Ëä¯ÀÀÆ÷Ö±½ÓÖ´ÐУ¬ÎÞÐë·þÎñÆ÷µÄÖ§³Ö£¬Ò²¿ÉÒÔÊ¡È¥ÉêÇëÓнű¾Ö´ÐÐȨÏÞ¿Õ¼äµÄÂé·³¡£ËùÒÔ£¬Ö»ÒªÄãÔ¸Ò⶯ÊÖ£¬ÓиöÈËÖ÷Ò³¾ÍÄÜÓÐ×Ô¼ºµÄÕ¾ÄÚËÑË÷¡£ÏÂÃæÈÃÎÒÃǹ²Í¬À´×öÒ»¸ö»ùÓÚJavaScriptµÄÕ¾ÄÚËÑË÷µÄ½Å±¾£¬¿É²»ÒªÐ¡¿´Ëü£¬×öÍêÁËÄã¾ÍÖªµÀËüµÄºÃ´¦ÁË¡£
  ......

javascript ½ØÈ¡×Ö·û´®

 1.substring ·½·¨
¶¨ÒåºÍÓ÷¨
substring ·½·¨ÓÃÓÚÌáÈ¡×Ö·û´®ÖнéÓÚÁ½¸öÖ¸¶¨Ï±êÖ®¼äµÄ×Ö·û¡£
Óï·¨
stringObject.substring(start,stop)
²ÎÊý ÃèÊö
start ±ØÐè¡£Ò»¸ö·Ç¸ºµÄÕûÊý£¬¹æ¶¨ÒªÌáÈ¡µÄ×Ó´®µÄµÚÒ»¸ö×Ö·ûÔÚ stringObject ÖеÄλÖá£
stop ¿ÉÑ¡¡£Ò»¸ö·Ç¸ºµÄÕûÊý£¬±ÈÒªÌáÈ¡µÄ×Ó´®µÄ×îºóÒ»¸ö×Ö·û ......

javascript¸´Ñ¡¿òÑ¡Ôñ

         string cbSelectOnClickJS = @"
            if(this.checked)
            {
            ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ