0
我正在使用Ext Js创建地图标记,并在单击时显示infoBubble。当我试图添加此代码时出现以下错误:Uncaught ReferenceError:infoBubble is not definedext js infoBubble未定义
infoBubble = new InfoBubble({
content: '<div class="example">Some label</div>',
shadowStyle: 1,
padding: 10,
borderRadius: 5,
minWidth: 200,
borderWidth:1,
disableAutoPan: true,
hideCloseButton: false,
backgroundClassName: 'example',
});
可能是什么问题? 任何帮助将apreciated,谢谢
固定它与添加后:<脚本类型=” text/javascript'src =“http://www.msg360.co.uk/emails/sample/Scripts/infobubble-compiled.js”>到我的页面。 – user1828433