source: trunk/spip/esqueleto-redcta/plugins/magusine/ie7/ie7-content.htc @ 251

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

el plugin completo

File size: 1.4 KB
RevLine 
[80]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<object id="dummy" width="0" height="0"></object>
9<base id="base">
10<style type="text/css">html,body,img{margin:0;}img{vertical-align:top}#dummy{display:inline}</style>
11<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;base.href=o.document.URL;dummy.style.cssText=c;var _0=o.parentElement;var _1=Boolean(dummy.currentStyle.display=="inline");function r(){o.runtimeStyle.width=(_1)?image.offsetWidth:"100%";o.runtimeStyle.height=body.offsetHeight};image.onreadystatechange=function(){if(this.readyState=="complete")_2()};image.src=u;function _2(){function copy(p){try{body.style[p]=_0.currentStyle[p]}catch(i){}};for(var j in body.currentStyle)copy(j);body.style.width="";body.style.height="";body.style.border="none";body.style.padding="0";body.style.margin="0";body.style.textIndent="";body.style.position="static";while(_0&&_0.currentStyle.backgroundColor=="transparent"){_0=_0.parentElement}if(_0)document.body.style.backgroundColor=_0.currentStyle.backgroundColor;body.runtimeStyle.cssText=c;body.runtimeStyle.margin="0";if(_1)body.runtimeStyle.width="";r()}}};</script>
12</head>
13<body><span id="body"><img id="image"></span></body>
14</html>
Note: See TracBrowser for help on using the repository browser.