Browse Source

Il en manquait 2 dans les remarques

svn/root/tags/spip-2.1/plugins/msie_compat
real3t@gmail.com 13 years ago
parent
commit
fd84c35c20
  1. 12
      msie_compat.php

12
msie_compat.php

@ -10,9 +10,7 @@ function msie_compat_insert_head($flux) {
$flux .= "<!--[if lt IE 7]>
<script src='".find_in_path('javascript/jquery.ifixpng.js')."'></script>
<script type='text/javascript'>//<![CDATA[
jQuery.ifixpng('rien.gif');
jQuery.ifixpng('rien.gif');
function fixie() {
jQuery('img').ifixpng();
}
@ -24,7 +22,6 @@ function msie_compat_insert_head($flux) {
} else if ($iecompat == "IE7") {
$flux .= "<!--[if lt IE 7]>
<script type='text/javascript'>//<![CDATA[
var IE7_PNG_SUFFIX = '.png';
//]]></script>
<script src='".find_in_path('javascript/IE7.js')."'></script>
@ -34,7 +31,6 @@ function msie_compat_insert_head($flux) {
} else if ($iecompat == "IE7squish") {
$flux .= "<!--[if lt IE 7]>
<script type='text/javascript'>//<![CDATA[
var IE7_PNG_SUFFIX = '.png';
//]]></script>
<script src='".find_in_path('javascript/IE7.js')."'></script>
@ -45,7 +41,6 @@ function msie_compat_insert_head($flux) {
} else if ($iecompat == "IE8") {
$flux .= "<!--[if lt IE 8]>
<script type='text/javascript'>//<![CDATA[
var IE7_PNG_SUFFIX = '.png';
//]]></script>
<script src='".find_in_path('javascript/IE8.js')."'></script>
@ -55,7 +50,6 @@ function msie_compat_insert_head($flux) {
} else if ($iecompat == "IE8squish") {
$flux .= "<!--[if lt IE 8]>
<script type='text/javascript'>//<![CDATA[
var IE7_PNG_SUFFIX = '.png';
//]]></script>
<script src='".find_in_path('javascript/IE8.js')."'></script>
@ -65,7 +59,7 @@ function msie_compat_insert_head($flux) {
} /* else if ($iecompat == "IE9") {
$flux .= "<!--[if lt IE 9]>
<script type='text/javascript'><!--
<script type='text/javascript'>//<![CDATA[
var IE7_PNG_SUFFIX = '.png';
//]]></script>
<script src='".find_in_path('javascript/IE9.js')."'></script>
@ -74,7 +68,7 @@ function msie_compat_insert_head($flux) {
} else if ($iecompat == "IE9squish") {
$flux .= "<!--[if lt IE 9]>
<script type='text/javascript'><!--
<script type='text/javascript'>//<![CDATA[
var IE7_PNG_SUFFIX = '.png';
//]]></script>
<script src='".find_in_path('javascript/IE9.js')."'></script>

Loading…
Cancel
Save