Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript CSS的可见性不';你不能在手机上工作吗? 函数show(){ document.getElementById(“dd”).style.visibility=“可见”; document.getElementById(“dd”).style.position=“relative”; } 我们,我们提供安装、测试、调试和维护服务 我们拥有良好的声誉、良好的职业道德和一支高素质的团队 经验丰富的劳动力。_Javascript_Html_Css_Mobile - Fatal编程技术网

Javascript CSS的可见性不';你不能在手机上工作吗? 函数show(){ document.getElementById(“dd”).style.visibility=“可见”; document.getElementById(“dd”).style.position=“relative”; } 我们,我们提供安装、测试、调试和维护服务 我们拥有良好的声誉、良好的职业道德和一支高素质的团队 经验丰富的劳动力。

Javascript CSS的可见性不';你不能在手机上工作吗? 函数show(){ document.getElementById(“dd”).style.visibility=“可见”; document.getElementById(“dd”).style.position=“relative”; } 我们,我们提供安装、测试、调试和维护服务 我们拥有良好的声誉、良好的职业道德和一支高素质的团队 经验丰富的劳动力。,javascript,html,css,mobile,Javascript,Html,Css,Mobile,点击下拉列表链接,就会看到div#dd。它适用于PC浏览器,但不适用于移动设备。不过,其他Java脚本(如window.alert)也可以工作 你知道为什么这不起作用吗?你使用的是什么移动操作系统?您可能想尝试以下操作:@merlin:仍然不起作用您使用的是什么操作系统?我不知道问题是什么,但这些信息可能会引导其他人找到解决方案。这是一款没有OSno操作系统的基于java的手机吗?你用的是什么浏览器?你确定你的手机完全支持javascript和html吗? <html> <

点击
下拉列表
链接,就会看到
div#dd
。它适用于PC浏览器,但不适用于移动设备。不过,其他Java脚本(如
window.alert
)也可以工作


你知道为什么这不起作用吗?

你使用的是什么移动操作系统?您可能想尝试以下操作:
@merlin:仍然不起作用您使用的是什么操作系统?我不知道问题是什么,但这些信息可能会引导其他人找到解决方案。这是一款没有OSno操作系统的基于java的手机吗?你用的是什么浏览器?你确定你的手机完全支持javascript和html吗?
<html> 
  <head> 
    <script type="text/javascript"> 
      function show() { 
        document.getElementById("dd").style.visibility = "visible"; 
        document.getElementById("dd").style.position = "relative"; 
      } 
    </script> 
  </head> 
  <body> 
    <div style="width:30%; float:left"> 
      <div class="nav" style=" background-color:Red"> <a href="home.html"> Home</a>
      </div> 
      <div class="nav" style=" background-color:Red"><a href="abt.html"> About US</a>
      </div> 
      <div class="nav" style=" background-color:Red"><a href="client.html"> Client</a>
      </div>        
      <div class="nav" style=" background-color:Red"><a href="cont.html"> Contact</a>   
      </div>
    </div> 
    <div style="width:70%; float:left; "> 
      <a href="#" onclick="show()">dropdown</a> 
      <div style="position:absolute; visibility:hidden" id="dd">
        We, We carry out erection, testing, commissioning and maintenance services             
        We have an excellent reputation, a quality work ethic and a team of qualified and        
        highly experienced workforce.
      </div>      
    </div>
  </body> 
</html>