source: trunk/spip/esqueleto-redcta/plugins/magusine/ie7/ie7-object.htc @ 122

Last change on this file since 122 was 80, checked in by guille, 16 years ago

el plugin completo

File size: 1.3 KB
Line 
1<html>
2<!--
3        IE7, version 0.9 (alpha) (2005-08-19)
4        Copyright: 2004-2005, Dean Edwards (http://dean.edwards.name/)
5        License: http://creativecommons.org/licenses/LGPL/2.1/
6-->
7<head>
8<style type="text/css">body{margin:0}</style>
9<script type="text/javascript">public_description=new function(){var l=false;this.ie7_anon=true;this.load=function(o,c,u){if(l)return;l=true;function _0(t,p){t.style[p]=o.currentStyle[p]};var p=o;while(p&&p.currentStyle.backgroundColor=="transparent"){p=p.parentElement}if(p)body.style.backgroundColor=p.currentStyle.backgroundColor;_0(body,"backgroundImage");_0(body,"backgroundRepeat");_0(body,"backgroundPositionX");_0(body,"backgroundPositionY");_0(body,"fontFamily");_0(body,"fontSize");_0(wrapper,"paddingTop");_0(wrapper,"paddingRight");_0(wrapper,"paddingBottom");_0(wrapper,"paddingLeft");image.width=o.clientWidth;image.height=o.clientHeight;var B64=/^data:.*;base64/i,P=/.png$/i;if(B64.test(u))u="ie7-base64.php"+"?"+u.slice(5);if(P.test(u)&&!/MSIE 5.0/.test(navigator.userAgent)){image.src="blank.gif";image.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+u+"',sizingMethod='scale')"}else{image.src=u}o.style.width=body.scrollWidth;o.style.height=body.scrollHeight}};</script>
10</head>
11<body id="body"><div id="wrapper"><img id="image"></div></body>
12</html>
Note: See TracBrowser for help on using the repository browser.