18
2月
0
IE7(怒)
まぁ〜表題のとおりです・・・┐(´д`)┌
このブログにIE7でアクセスすると「操作は中断されました」というエラーが出て見れない状態になっていました。
見れない原因は「続きを読む」で使用していたプラグイン「Content with show/hide javascript for “more”」でした。
もちろんIE6では問題なく表示できます。
まぁ〜IE7のバグでしょう(怒)
こんなベータ版並の完成度で先週のWindowsUpdateに優先度の高いアップデートとして組み込むとはさすがデスネ!
今後私がIEを使わない可能性(IE嫌い度)はさらにアップしました( ´ー`)
同じプラグインを使っている方は「getContentforShowHide.php」を以下のように応急処置しておきましょう。
add_action('wp_head', 'output_showHide_js');
add_action('the_content', 'the_contentshowhide',0);
となっている箇所を
if (!preg_match("/MSIE 7/",$_SERVER["HTTP_USER_AGENT"])) {
add_action('wp_head', 'output_showHide_js');
add_action('the_content', 'the_contentshowhide',0);
}
としておけばIE7でこのプラグインは無効化されます。
■追記
エラーの原因箇所を特定しました。
「getContentforShowHide.php」内の
<script type=”text/javascript”>・・・</script>
が
<script type=”text/javascript”><!–・・・–></script>
となっていないことがIE7さんは許せないらしい・・・( ´ー`)
Enjoyed reading this post?
Subscribe to the RSS feed and have all new posts delivered straight to you.
Subscribe to the RSS feed and have all new posts delivered straight to you.
Post your comment
