1 /**
  2  * @fileOverview shim for ie6 ,require box-ext
  3  * @author yiminghe@gmail.com
  4  */
  5 KISSY.add("component/uibase/shimrender", function () {
  6     // only for ie6!
  7     function Shim() {
  8     }
  9 
 10     Shim.prototype = {
 11         __createDom:function () {
 12             this.get("el").prepend("<" + "iframe style='position: absolute;" +
 13                 "border: none;" +
 14                 "width: expression(this.parentNode.offsetWidth);" +
 15                 "top: 0;" +
 16                 "opacity: 0;" +
 17                 "filter: alpha(opacity=0);" +
 18                 "left: 0;" +
 19                 "z-index: -1;" +
 20                 "height: expression(this.parentNode.offsetHeight);" + "'/>");
 21         }
 22     };
 23 
 24     return Shim;
 25 });