2013-04-24 55 views
0
<div class="topDivContent"> 
    <div class="content"> 
     Sample content Sample content Sample content Sample content 
    </div> 
</div> 
<script type="text/javascript"> 
    $(function(){ 
     var displaydiv = '.' + "topDivContent"; 

     $.colorbox({ 
      inline : true, 
      href : displaydiv, 
      innerHeight : 150, 
      innerWidth : 650, 
      scrolling : false 
     }); 

    }); 
</script> 

我有一個使用colorbox插件加載內容的典型問題,頁面加載我想加載內容,如上所示。colorbox ie8 windows xp加載問題

在Windows XP + IE8中的所有環境中都工作正常,它不斷顯示加載符號。你能幫我擺脫我所缺少的東西嗎

回答

0

我對IE-8只有一個類似的格式問題,對我而言,使用正確的HTML doctype

使用<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">並查看是否修復。

+0

現在我有html doctype如下<!DOCTYPE html>,相同的代碼在IE8 + Windows 7上工作。 – 2013-04-24 00:57:39

+0

非常感謝您通過 – 2013-04-24 01:06:33

+0

快速回復,如果你看看他們的網站常見問題,它說上面的DOCTYPE是要求IE8能夠正常工作。 – user704988 2013-04-24 21:25:15