Skip to content
Extraits de code Groupes Projets
Valider 2aff6746 rédigé par cerdic's avatar cerdic
Parcourir les fichiers

plus rien a faire la (oubli de [6492])

parent 482b1dfa
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -11,7 +11,6 @@ dist/inc-rubriques.html -text ...@@ -11,7 +11,6 @@ dist/inc-rubriques.html -text
dist/puce.gif -text dist/puce.gif -text
dist/puce_rtl.gif -text dist/puce_rtl.gif -text
dist/style_prive.html -text dist/style_prive.html -text
dist/win_png.html -text
dist/win_width.htc -text dist/win_width.htc -text
ecrire/action/autoriser.php -text ecrire/action/autoriser.php -text
ecrire/action/ical.php -text ecrire/action/ical.php -text
......
#CACHE{3600*24}
#HTTP_HEADER{Content-Type:text/x-component; charset=iso-8859-15}
#HTTP_HEADER{Vary: Accept-Encoding}
<public:component>
<public:attach event="onpropertychange" onevent="propertyChanged()" />
<script>
var supported = /MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32";
var realSrc;
var blankSrc = "[(#CHEMIN{rien.gif}|url_absolue)]";
if (supported) fixImage();
function propertyChanged() {
if (!supported) return;
var pName = event.propertyName;
if (pName != "src") return;
// if not set to blank
if ( ! new RegExp(blankSrc).test(src))
fixImage();
};
function fixImage() {
// get src
var src = element.src;
// check for real change
if (src == realSrc) {
element.src = blankSrc;
return;
}
if ( ! new RegExp(blankSrc).test(src)) {
// backup old src
realSrc = src;
}
// test for png
if ( /\.png$/.test( realSrc.toLowerCase() ) ) {
// set blank image
element.src = blankSrc;
// set filter
element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
src + "',sizingMethod='image')";
}
}
</script>
</public:component>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter