过去一周一直在制作这个网站.只是在IE8中遇到了这个错误.
文件中有错误jquery.corner.js:
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Sat, 25 Sep 2010 16:13:34 UTC Message: Unexpected call to method or property access. Line: 163 Char: 17 Code: 0 URI: file:///C:/Documents%20and%20Settings/User/Desktop/diverse2/js/jquery.corner.js
这是一个链接到该网站,它将在Chrome等中查看正常,但在IE8中,错误也会阻止其他jQuery插件工作,例如jQuery.cycle.
http://eosa.co.cc/themes2/diverse2/
这是圆角代码:
$("#pageTitle, #pageTitle div#title").corner("tl bl 5px");
$("#navbar, .postDetail").corner("bl br 5px");
$(".jqueryslidemenu ul li ul li a, .boxGrey, div#slideshow-container, #searchForm, #pageTitleContainer, .twoThirdsGrey, a.button, a.button-2, .rounded").corner("tl tr bl br 5px");
Run Code Online (Sandbox Code Playgroud)
该文件位于 …
怎么会多次回复一个变量..
如果我说的话,更好地理解这个问题的方法是:
$foo = '<div>bar</div>';
echo $foo*7;
Run Code Online (Sandbox Code Playgroud)
这可能是最简单的事情,但我不确定.
和