开发者

Google Map doesn't load in Thickbox in IE8

I have a Google Map (API v2).

It is located in http://mydomain/maps. Under that address it works fine in every browser.

I use it, however within a T开发者_Python百科hickbox (3.1) from the home site http://mydomain. That doesn't work in IE8 (but only in the IE8 mode; IE7 and IE8-compatibility work fine) - the output is as attached.

No Javascript errors occur in the console.

Google Map doesn't load in Thickbox in IE8


It turned out to be due to the lack of doctype declaration.

Adding

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

solved the problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜