NetBeans jqGrid CSS 问题

NetBeans jqGrid CSS issue

我正在使用 netbeans ide 进行编程,因为最近我正在添加 jqgrid 应用程序,我正在添加以下 link 和 html[=13= 头部的脚本]

<link rel="stylesheet" type="text/css"  href="design/jquery-ui-1.9.2.custom.css"/>
<link rel="stylesheet" type="text/css" href="design/ui.jqgrid.css" />
<script type="text/javascript" src="design/jquery-1.8.3.js"></script> 
<script type="text/javascript" src="design/jquery-ui-1.9.2.custom.js"></script>
<script type="text/javascript" src="design/grid.locale-en.js" ></script>
<script type="text/javascript" src="design/jquery.jqGrid.min.js" ></script>

上面的 links ui.jqgrid.css 显示 netbeans 中的错误错误是意外的标记点发现行在下面

* html .jqgrid-overlay {width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}
* .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}

请指导我解决此问题

可能您使用了一些旧版本的 jqGrid?查看 jqGrid 4.7.0 的 the ui.jqgrid.css file 或 jqGrid 4.6.0 的 ui.jqgrid.css 并搜索 expression。您只会在评论 中找到文字 。如果您使用一些旧版本的 jqGrid(如 4.5.4 或更早版本),您应该将其更新到 4.6.0/4.7.0。

根据 NetBeans 的版本,您可以通过过滤掉此类解析错误来轻松解决报告的这个问题。

为此,您可以单击红色指示器并选择其中一个选项,这样就可以忽略此类错误或当前文件!