[ Index ] |
|
Code source de SPIP 1.8.3 |
1 <public:component> 2 <public:property name="retrait"> 3 <script language="JScript"> 4 5 function fixWidth(){ 6 if (element.className == "spip_cadre") retrait = 24; 7 else retrait = 16; 8 9 if (element.offsetWidth) { 10 style.width = element.offsetWidth - retrait; 11 } else { 12 style.width = "90%"; 13 //alert (element.parentElement.tagName); 14 } 15 } 16 17 var supported = /MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32"; 18 if (supported) fixWidth(); 19 20 21 </script> 22 </public:component> 23
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Feb 22 22:27:47 2007 | par Balluche grâce à PHPXref 0.7 |