ÎÄÕÂÁбí
 
ÄúÕýÔڲ鿴 "Javascript And Dhtml" ·ÖÀàϵÄÎÄÕÂ

2008Äê01ÔÂ29ÈÕ 19:24

<script type="text/javascript">
var g_oToHide = null;

function fnHide(oToHide){
    g_oToHide = oToHide;
    window.setTimeout(fnHide2, 3000);
}
function fnHide2(sID){
    if (g_oToHide) {
       g_oToHide.style.display="none";
    }
window.setTimeout(fnHide3, 3000);
}
function fnHide3(sID){
    if

 
2008Äê01ÔÂ18ÈÕ 19:26
²»¿ÉÄܲ»Ö§³ÖµÄ

document.getElementsByName('someName') ·µ»ØÒ»¸ö½ÚµãÁÐ±í£¨Êý×飩

document.getElementById('id') ·µ»ØÒ»¸ö½Úµã»òÕßnull

×¢ÒâÔÚIEÏÂÓÐЩ½ÚµãÊÇûÓÐ name ÊôÐԵ쬾ÍÊÇÓÃdocument.getElementsByName»ñÈ¡²»µ½µÄ
Ö»ÓÐÏÂÃæµÄtagÓÐnameÊôÐÔ
A, APPLET, attribute, BUTTON, EMBED, FORM, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type
 
2007Äê12ÔÂ28ÈÕ 10:53
<script language="javascript">
function MM_setIMG(w,h,d) {
if (w==null) {w=0}
if (h==null) {h=0}
if (w<=h){ if (h>=114 || h==0) {d.height=114}}else{ if (w>=114 || w==0) {d.width=114}}
}
    </script>
    <table width="558" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
     <tr>
 
2007Äê12ÔÂ28ÈÕ 1:06
divÄÚÈÝ´¹Ö±¾ÓÖÐ
2007Äê08ÔÂ06ÈÕ ÐÇÆÚÒ» 13:57

ÒªÊÇÖ»ÓÐÎÄ×Ö£º¿ÉÒÔÕâÑù£º

¡¡¡¡ÓÃcss¶¨ÒådivµÄ×ÖÌåµÄÐиßͬDIVÒ»Ñù¸ß£¬ÕâÑù¾Í´¹Ö±¾ÓÖÐÁË¡£
¡¡¡¡±ÈÈ磺
¡¡¡¡div{line-height: 20px;height: 20px;}

Õâ

 
2007Äê12ÔÂ17ÈÕ 23:22

<input name="w_s" type="file" id="w_s" onChange="load_img(this.value,img_s);">
<input name="w_b" type="file" id="w_b" onChange="load_img(this.value,img_b);">
<div id="img_s"></div>
<div id="img_b"></div>

<script language="javascript">
<!--
function load_img(p_src,write_id){
var t_html;
if(p_src!=

 
 
   
 
 
ÎÄÕ·ÖÀà
 
   
 
ÎÄÕ´浵
 
     
 
×îÐÂÎÄÕÂÆÀÂÛ
  

àÅ£¬Õâ¸ö´úÂë¿ÉÓá£
 
 

aaa
   
°ïÖúÖÐÐÄ | ¿Õ¼ä¿Í·þ | Í¶ËßÖÐÐÄ | ¿Õ¼äЭÒé
©2012 Baidu