1

我已經爲Wordpress購買並安裝了自定義模板,並且在導航時隨機在網站的所有區域上提供白/空白頁面圍繞IE7(在Chrome上運行良好)。我知道這是模板,因爲它可以很好地處理標準模板,而且我非常確定這是一個JavaScript,因爲我禁用了所有插件以查看它是否是那些。在IE7上導致帶有源代碼和導航背後的源代碼和導航的白色/空白屏幕的WordPress模板

這裏的網站:http://www.visualisebi.com

望着用最少的代碼有問題(管理CP登錄區)的網頁,唯一的主要區別我可以看到是新的模板頁面和一個標準模板之間的不同是新模板調用的腳本數量。這裏有一個例子:

新模板來源:

<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> 
<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    <title>Visualise Business Intelligence Services &rsaquo; Log In</title> 
<link rel='stylesheet' id='wp-admin-css' href='http://www.visualisebi.com/wp-admin/css/wp-admin.css?ver=20111208' type='text/css' media='all' /> 
<link rel='stylesheet' id='colors-fresh-css' href='http://www.visualisebi.com/wp-admin/css/colors-fresh.css?ver=20111206' type='text/css' media='all' /> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/jquery-1.6.1.min.js?ver=1.6.1'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/modernizr-2.0.js?ver=2.0'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/superfish.js?ver=1.4.8'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/jquery.prettyPhoto.js?ver=3.1.2'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/easyTooltip.js?ver=1.0'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/jquery.easing.1.3.js?ver=1.3'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/jquery.loader.js?ver=1.0'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-includes/js/swfobject.js?ver=2.2'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/jquery.cycle.all.js?ver=2.99'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/audiojs/audio.js?ver=1.0'></script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/themes/theme1334/js/custom.js?ver=1.0'></script> 
<meta name='robots' content='noindex,nofollow' /> 
</head> 
<body class="login"> 
<div id="login"><h1><a href="http://wordpress.org/" title="Powered by WordPress">Visualise Business Intelligence Services</a></h1> 
<p class="message"> You are now logged out.<br /> 
</p> 

<form name="loginform" id="loginform" action="http://www.visualisebi.com/wp-login.php" method="post"> 
    <p> 
     <label for="user_login">Username<br /> 
     <input type="text" name="log" id="user_login" class="input" value="" size="20" tabindex="10" /></label> 
    </p> 
    <p> 
     <label for="user_pass">Password<br /> 
     <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label> 
    </p> 
    <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> Remember Me</label></p> 
    <p class="submit"> 
     <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="Log In" tabindex="100" /> 
     <input type="hidden" name="redirect_to" value="http://www.visualisebi.com/wp-admin/" /> 
     <input type="hidden" name="testcookie" value="1" /> 
    </p> 
</form> 

<p id="nav"> 
<a href="http://www.visualisebi.com/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a> 
</p> 

<script type="text/javascript"> 
function wp_attempt_focus(){ 
setTimeout(function(){ try{ 
d = document.getElementById('user_login'); 
d.focus(); 
d.select(); 
} catch(e){} 
}, 200); 
} 

if(typeof wpOnload=='function')wpOnload(); 
</script> 

    <p id="backtoblog"><a href="http://www.visualisebi.com/" title="Are you lost?">&larr; Back to Visualise Business Intelligence Services</a></p> 
    </div> 


<link rel='stylesheet' id='wp-pagenavi-css' href='http://www.visualisebi.com/wp-content/plugins/wp-pagenavi/pagenavi-css.css?ver=2.70' type='text/css' media='all' /> 
<script type='text/javascript'> 
/* <![CDATA[ */ 
var wpBannerizeJavascriptLocalization = {"ajaxURL":"http:\/\/www.visualisebi.com\/wp-admin\/admin-ajax.php"}; 
/* ]]> */ 
</script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/plugins/wp-bannerize/js/wpBannerizeFrontend.min.js?ver=3.0.32'></script> 
<div class="clear"></div> 
</body> 
</html> 

標準模板來源:

<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> 
<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    <title>Visualise Business Intelligence Services &rsaquo; Log In</title> 
<link rel='stylesheet' id='wp-admin-css' href='http://www.visualisebi.com/wp-admin/css/wp-admin.css?ver=20111208' type='text/css' media='all' /> 
<link rel='stylesheet' id='colors-fresh-css' href='http://www.visualisebi.com/wp-admin/css/colors-fresh.css?ver=20111206' type='text/css' media='all' /> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script> 
<meta name='robots' content='noindex,nofollow' /> 
</head> 
<body class="login"> 
<div id="login"><h1><a href="http://wordpress.org/" title="Powered by WordPress">Visualise Business Intelligence Services</a></h1> 
<p class="message"> You are now logged out.<br /> 
</p> 

<form name="loginform" id="loginform" action="http://www.visualisebi.com/wp-login.php" method="post"> 
    <p> 
     <label for="user_login">Username<br /> 
     <input type="text" name="log" id="user_login" class="input" value="" size="20" tabindex="10" /></label> 
    </p> 
    <p> 
     <label for="user_pass">Password<br /> 
     <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label> 
    </p> 
    <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> Remember Me</label></p> 
    <p class="submit"> 
     <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="Log In" tabindex="100" /> 
     <input type="hidden" name="redirect_to" value="http://www.visualisebi.com/wp-admin/" /> 
     <input type="hidden" name="testcookie" value="1" /> 
    </p> 
</form> 

<p id="nav"> 
<a href="http://www.visualisebi.com/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a> 
</p> 

<script type="text/javascript"> 
function wp_attempt_focus(){ 
setTimeout(function(){ try{ 
d = document.getElementById('user_login'); 
d.focus(); 
d.select(); 
} catch(e){} 
}, 200); 
} 

if(typeof wpOnload=='function')wpOnload(); 
</script> 

    <p id="backtoblog"><a href="http://www.visualisebi.com/" title="Are you lost?">&larr; Back to Visualise Business Intelligence Services</a></p> 
    </div> 


<link rel='stylesheet' id='wp-pagenavi-css' href='http://www.visualisebi.com/wp-content/plugins/wp-pagenavi/pagenavi-css.css?ver=2.70' type='text/css' media='all' /> 
<script type='text/javascript'> 
/* <![CDATA[ */ 
var wpBannerizeJavascriptLocalization = {"ajaxURL":"http:\/\/www.visualisebi.com\/wp-admin\/admin-ajax.php"}; 
/* ]]> */ 
</script> 
<script type='text/javascript' src='http://www.visualisebi.com/wp-content/plugins/wp-bannerize/js/wpBannerizeFrontend.min.js?ver=3.0.32'></script> 
<div class="clear"></div> 
</body> 
</html> 

任何幫助極大的讚賞。

回答

0

原始主題在IE7中正常工作?

您是否檢查過購買主題的主題演示?它在IE7中工作嗎?如果不是,您可以要求主題所有者解決問題。

(還不能評論,因此答案。)