IE7 en version 2.0, pas 2.1 (pour transparence), desactiver IE9.js et renommer fichier de langue pour Salvatore.
parent
36a0c9e2e8
commit
368391e20c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@
|
||||
/* IE7/IE8.js - copyright 2004-2008, Dean Edwards */
|
||||
(function(){if(!IE7.loaded)return;CLASSES=/\sie7_class\d+/g;IE7.CSS.extend({elements:{},handlers:[],reset:function(){this.removeEventHandlers();var a=this.elements;for(var b in a)a[b].runtimeStyle.cssText="";this.elements={};var a=IE7.Rule.elements;for(var b in a){with(a[b])className=className.replace(CLASSES,"")}IE7.Rule.elements={}},reload:function(){this.rules=[];this.getInlineStyles();this.screen.load();if(this.print)this.print.load();this.refresh();this.trash()},addRecalc:function(b,c,d,e){this.base(b,c,function(a){d(a);IE7.CSS.elements[a.uniqueID]=a},e)},recalc:function(){this.reset();this.base()},addEventHandler:function(a,b,c){a.attachEvent(b,c);this.handlers.push(arguments)},removeEventHandlers:function(){var a;while(a=this.handlers.pop()){a[0].detachEvent(a[1],a[2])}},getInlineStyles:function(){var a=document.getElementsByTagName("style"),b;for(var c=a.length-1;(b=a[c]);c--){if(!b.disabled&&!b.ie7){var d=b.cssText||b.innerHTML;this.styles.push(d);b.cssText=d}}},trash:function(){var a=document.styleSheets,b,c;for(c=0;c<a.length;c++){b=a[c];if(!b.ie7&&!b.cssText){b.cssText=b.cssText}}this.base()},getText:function(a){return a.cssText||this.base(a)}});IE7.CSS.addEventHandler(window,"onunload",function(){IE7.CSS.removeEventHandlers()});IE7.Rule.elements={};IE7.Rule.prototype.extend({add:function(a){this.base(a);IE7.Rule.elements[a.uniqueID]=a}});if(IE7.PseudoElement){IE7.PseudoElement.hash={};IE7.PseudoElement.prototype.extend({create:function(a){var b=this.selector+":"+a.uniqueID;if(!IE7.PseudoElement.hash[b]){IE7.PseudoElement.hash[b]=true;this.base(a)}}})}IE7.HTML.extend({elements:{},addRecalc:function(b,c){this.base(b,function(a){if(!this.elements[a.uniqueID]){c(a);this.elements[a.uniqueID]=a}})}});document.recalc=function(a){if(IE7.CSS.screen){if(a)IE7.CSS.reload();IE7.recalc()}}})();
|
@ -1,45 +1,36 @@
|
||||
/*
|
||||
IE7, version 0.9 (alpha) (2005-08-19)
|
||||
Copyright: 2004-2005, Dean Edwards (http://dean.edwards.name/)
|
||||
License: http://creativecommons.org/licenses/LGPL/2.1/
|
||||
*/
|
||||
IE7.addModule("ie7-squish", function() {
|
||||
|
||||
/* ---------------------------------------------------------------------
|
||||
|
||||
Squish some IE bugs!
|
||||
|
||||
Some of these bug fixes may have adverse effects so they are
|
||||
not included in the standard library. Add your own if you want.
|
||||
|
||||
-dean
|
||||
|
||||
--------------------------------------------------------------------- */
|
||||
|
||||
// @NOTE: ie7Layout.boxSizing is the same as the "Holly Hack"
|
||||
|
||||
// "doubled margin" bug
|
||||
// http://www.positioniseverything.net/explorer/doubled-margin.html
|
||||
ie7CSS.addFix(/float\s*:\s*(left|right)/, "display:inline;$1");
|
||||
|
||||
if (ie7Layout) {
|
||||
// "peekaboo" bug
|
||||
// http://www.positioniseverything.net/explorer/peekaboo.html
|
||||
if (appVersion >= 6) ie7CSS.addRecalc("float", "left|right", function($element) {
|
||||
ie7Layout.boxSizing($element.parentElement);
|
||||
// "doubled margin" bug
|
||||
$element.runtimeStyle.display = "inline";
|
||||
});
|
||||
|
||||
// "unscrollable content" bug
|
||||
// http://www.positioniseverything.net/explorer/unscrollable.html
|
||||
ie7CSS.addRecalc("position", "absolute|fixed", function($element) {
|
||||
if ($element.offsetParent && $element.offsetParent.currentStyle.position == "relative")
|
||||
ie7Layout.boxSizing($element.offsetParent);
|
||||
});
|
||||
}
|
||||
|
||||
//# // get rid of Microsoft's pesky image toolbar
|
||||
//# if (!complete) document.write('<meta http-equiv="imagetoolbar" content="no">');
|
||||
|
||||
});
|
||||
|
||||
/* ---------------------------------------------------------------------
|
||||
|
||||
Squish some IE bugs!
|
||||
|
||||
Some of these bug fixes may have adverse effects so they are
|
||||
not included in the standard library. Add your own if you want.
|
||||
|
||||
--------------------------------------------------------------------- */
|
||||
|
||||
// @NOTE: ie7Layout.boxSizing is the same as the "Holly Hack"
|
||||
|
||||
if (IE7.loaded && IE7.appVersion < 7) {
|
||||
|
||||
// "doubled margin" bug
|
||||
// http://www.positioniseverything.net/explorer/doubled-margin.html
|
||||
IE7.CSS.addFix(/(float\s*:\s*(left|right))/, "display:inline;$1");
|
||||
|
||||
// "peekaboo" bug
|
||||
// http://www.positioniseverything.net/explorer/peekaboo.html
|
||||
if (IE7.appVersion >= 6) IE7.CSS.addRecalc("float", "(left|right)", function(element) {
|
||||
IE7.Layout.boxSizing(element.parentElement);
|
||||
// "doubled margin" bug
|
||||
element.style.display = "inline";
|
||||
});
|
||||
|
||||
// "unscrollable content" bug
|
||||
// http://www.positioniseverything.net/explorer/unscrollable.html
|
||||
IE7.CSS.addRecalc("position", "absolute|fixed", function(element) {
|
||||
if (element.offsetParent && element.offsetParent.currentStyle.position === "relative")
|
||||
IE7.Layout.boxSizing(element.offsetParent);
|
||||
});
|
||||
}
|
||||
|
||||
//# // get rid of Microsoft's pesky image toolbar
|
||||
//# document.write('<meta http-equiv="imagetoolbar" content="no">');
|
||||
|
Loading…
Reference in New Issue