【问题标题】:Popup Window unable to scroll in IE / FF / Safari. Works in Chrome弹出窗口无法在 IE / FF / Safari 中滚动。在 Chrome 中工作
【发布时间】:2013-07-04 04:06:15
【问题描述】:

我无法让滚动条出现在以下代码的弹出窗口中:

在网上阅读了相同问题的一些解决方案后,我添加了scrollable=yes,但仍然无法这样做。

print("<div id ='tableStatusReasons'>
                   <a href='#' style='color: ".$colorv."' onClick=\"window.open('volumeReport.php?case=".$case."&patient=".$patientID."','mywin','width=630,height=500,resizable=yes,scrollable=yes')\"><div class='volumeReport'><b>Volume Report Table</b><br>Status:   ".$vStatus." <br>Reason:   ".$vComment."</div></a>");
            print("<a href='#' style='color: ".$colors."' onClick=\"window.open('statsReport.php?case=".$case."&patient=".$patientID."','mywin','width=1400,height=650,resizable=yes,scrollable=yes')\"><div class='statisticsReport'><b>Statistics Report Table</b><br>Status:   ".$sStatus."<br>Reason:   ".$sComment."</div></a></div>");

【问题讨论】:

    标签: javascript html browser cross-browser


    【解决方案1】:

    您可以尝试使用 CSS 添加滚动条。

     <a href='#' style='color: ".$colorv."; overflow:scroll-y' ...
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-07-07
      • 1970-01-01
      • 2012-03-18
      • 2010-12-01
      • 1970-01-01
      • 2012-05-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多