3

我想尽办法找到一个 html/javascript 页面的问题,该页面的行为就像一个不会在 ie6 或 ie7 中加载的小部件。有人能指出我正确的方向吗?

http://cdn.xas.com/SampleOutput.html

我猜我的一些javascript有问题吗?

我正在用 javascript 构建 html,它也可能是由此生成的 html 是吗?

谢谢尼尔

4

2 回答 2

3

There are no offers displayed as dataCollection.Offers passed into function core.createOffersList, sourced from this.eventData in the BoonCentral.Com.Cdn.Widget, class is an empty array. As assigned by line 494:

this.eventData = {"Address":"10 Wellington Quay Jamestown, Dublin","ID":48,"LogoUrl":"http:\/\/www.booncentral.com\/VenueImages\/48\/201209171247\/0e8ed5bd-6076-4b67-a96a-5365cf225636the_workmans_club_dublin_28659.gif","Name":"The Workmans","Offers":[],"VenueProfile":"<p>&nbsp;<\/p><p>Dublin's most excellent new live music venue, situated in the heart of \u000d\u000athe city and open Monday to Sunday from 5pm til, well, when we kick you \u000d\u000aout!<\/p>"};

For IE6, you may be hitting this issue: http://kmleeblog.wordpress.com/2011/07/20/document-createelement-problem-in-ie6/

Hope this helps you narrow down the problem :-).

于 2013-03-19T23:46:25.813 回答
0

尽管这不能回答您的问题-您为什么要使其在 IE6/7 上运行?

IE6 和 7 几乎没有使用,正在逐步淘汰。您最好花时间针对当前浏览器进行优化..

根据http://www.theie7countdown.com/的数据,IE7 的全球使用率为 4%。根据http://www.w3schools.com/browsers/browsers_explorer.asp,现在不到 1%。

关于这个特定的小部件/项目,解决这个问题是否花费了您超过 1-4% 的时间?

只是我的想法...

于 2013-03-26T14:30:16.947 回答