1
我的webapp中有一個對話框彈出框(使用ArcGIS Javascript API w/Dojo)。在Firefox中,我得到一個正常運行的滾動條,但在IE中,有一個滾動條,但它不起作用......我可以向上/向下箭頭滾動瀏覽,但當我這樣做時,對話框會閃爍並且結結巴巴。 ...有什麼建議麼?謝謝,傑森dojo對話框中的滾動條不在IE9中工作
代碼:
infoBox = new dijit.Dialog({
//title: "Information",
id: "info",
content: infoText,
style: "width: 450px; height: 380px; overflow: auto",
autofocus: !dojo.isIE, // NOTE: turning focus ON in IE causes errors when reopening the dialog
refocus: !dojo.isIE
//autofocus: false, // I tried this alternative, but it didn't help
//refocus: false
});
(在我的設置,我有:META HTTP-當量= 「X-UA兼容」 內容= 「IE = 7」, 「IE = 9」/ )
謝謝...我試着添加這段代碼並添加'dojo.require(「dojo.dom-style」)'但是我在Firebug中得到錯誤'domStyle is not defined'。如果我不添加這一行,我會得到同樣的錯誤。 (我正在使用v3.1或ArcGIS JS API)。有什麼建議麼? – JasonBK
看到我上面的評論,如果我不添加任何require語句,我也會收到一個錯誤「domStyle is not defined」。 – JasonBK
你好,我還沒有解決這個問題。上述解決方案對我不起作用;我得到上述錯誤...任何人有任何想法?我可以說我討厭IE嗎? – JasonBK