From 401de6112992cdeb59b12b158567e8e40af23cd4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 26 Mar 2009 21:57:53 +0100 Subject: [PATCH] Moved IE6 fixes to an extra file. --- www/include/correctpng.js | 25 +++++++++++++++++++++++++ www/include/ie6.css | 28 ++++++++++++++++++++++++++++ www/template.inc | 28 +--------------------------- 3 files changed, 54 insertions(+), 27 deletions(-) create mode 100644 www/include/correctpng.js diff --git a/www/include/correctpng.js b/www/include/correctpng.js new file mode 100644 index 00000000..3f9751dc --- /dev/null +++ b/www/include/correctpng.js @@ -0,0 +1,25 @@ +function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher. +{ + for(var i=0; i" + img.outerHTML = strNewHTML + i = i-1 + } + } +} +window.attachEvent("onload", correctPNG); diff --git a/www/include/ie6.css b/www/include/ie6.css index 92084859..ab80d758 100644 --- a/www/include/ie6.css +++ b/www/include/ie6.css @@ -21,3 +21,31 @@ p { padding-right: 1.5em; } + +#sh-tl { + background: url(/images/sh-tl.png) no-repeat right bottom; + background:none; + filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/logo.png'); + +} +#sh-top { + background: url(/images/sh-top.png) repeat-x bottom; +} +#sh-tr { + background: url(/images/sh-tr.png) no-repeat left bottom; +} +#sh-lft { + background: url(/images/sh-lft.png) repeat-y right; +} +#sh-rgt { + background: url(/images/sh-rgt.png) repeat-y left; +} +#sh-bl { + background: url(/images/sh-bl.png) no-repeat right top; +} +#sh-btn { + background: url(/images/sh-btn.png) repeat-x top; +} +#sh-br { + background: url(/images/sh-br.png) no-repeat left top; +} diff --git a/www/template.inc b/www/template.inc index ed8fe9cb..8ca191ba 100644 --- a/www/template.inc +++ b/www/template.inc @@ -11,33 +11,7 @@ -- 2.47.3