From 26bc5374fcbe662023eb148b4935ec959953f8fe Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 22 Nov 2010 09:53:20 +0000 Subject: [PATCH] * set the debugwin's css for ie. --- module/common/view/footer.html.php | 3 ++- module/user/view/login.html.php | 4 +--- www/js/my.js | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/module/common/view/footer.html.php b/module/common/view/footer.html.php index 7981d3f57b..235c7b7a18 100644 --- a/module/common/view/footer.html.php +++ b/module/common/view/footer.html.php @@ -1,7 +1,7 @@ getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
- +
+ diff --git a/module/user/view/login.html.php b/module/user/view/login.html.php index 8be6843aae..d8ef8c64f2 100644 --- a/module/user/view/login.html.php +++ b/module/user/view/login.html.php @@ -65,8 +65,6 @@ $(document).ready(function(){ -
- -
+
diff --git a/www/js/my.js b/www/js/my.js index 0aff7796dd..affecd51be 100644 --- a/www/js/my.js +++ b/www/js/my.js @@ -377,6 +377,22 @@ function setAbout() if($('a.about').size()) $("a.about").colorbox({width:900, height:330, iframe:true, transition:'elastic', speed:500, scrolling:false}); } +/** + * Set the css of the iframe. + * + * @param string $color + * @access public + * @return void + */ +function setDebugWin(color) +{ + if($.browser.msie) + { + var debugWin = $(".debugwin")[0].contentWindow.document; + $("body", debugWin).append(""); + } +} + /** * add one option of a select to another select. *