Home > Web Front-end > HTML Tutorial > 这段HTML怎么阴隐藏?_html/css_WEB-ITnose

这段HTML怎么阴隐藏?_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:22:52
Original
1230 people have browsed it

将这段阴隐藏了:
--------------------------------
 


    
图片地址前缀:
        
  远程保存 生成缩图
  ">*">(宽*高)
 
  
------------------------------------------------
下面是完整的


  
    
  

   
    
  
   
     
    
    
    
    
  ";
     }
     $morepicnum=$j;
     $morepicpath="

图片地址前缀:
        
  远程保存 生成缩图
  ">*">(宽*高)
 

   
    
    
    
    
  
编号
缩图 (双击选择)
大图 (双击选择)
图片说明

        if($ecmsfirstpost==1)
    {
?>

$morepicnum=4;
for($mppathi=1;$mppathi {
?>
 




}
?>
=$mppathi?>






' size=28 ondblclick="SpOpenChFile(1,'mbigpic=$mppathi?>');">



'>

    }
    else
    {
$morepicpath="";
$morepicnum=0;
if($r[morepic])
     {
     $r[morepic]=stripSlashes($r[morepic]);
     //地址
     $j=0;
     $pd_record=explode("\r\n",$r[morepic]);
     for($i=0;$i     {
$j=$i+1;
     $pd_field=explode("::::::",$pd_record[$i]);
$morepicpath.="
".$j."

        


      

        


      

        
      
".$morepicpath."
";
     }
echo $morepicpath;
    }
    ?>
    
  
  
   
    
  


回复讨论(解决方案)

你说的是用css还是js,还是jquery来隐藏

其实都是设置display:none;

用js隐藏         ,

你给那个tr设置一个id,然后doucemnt.geteElementById("id名“).style.display="none";

帮我写下好吗    

  用这办法没控制住

 <script> <br /> function validateForm() { <br /> <br /> document.getElementById('option').style.display = 'none'; <br /> <br /> } <br /> </script>
     
     


    
图片地址前缀:
        
  远程保存 生成缩图
  ">*">(宽*高)
 
  
     
     

隐藏  document.getElementById('option').style.display = 'none';
显示 document.getElementById('option').style.display = '';

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template