From: Andrew Dolgov Date: Thu, 8 Sep 2005 04:39:55 +0000 (+0100) Subject: miscellaneous MSIE compatibility fixes X-Git-Tag: 1.0.4~31 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d5224f0d9c794953a6bb5bb264e856cccc4eb046;p=tt-rss.git miscellaneous MSIE compatibility fixes --- diff --git a/backend.php b/backend.php index e7431083..4873a966 100644 --- a/backend.php +++ b/backend.php @@ -400,7 +400,7 @@ $content_link = "" . $line["title"] . ""; - print ""; // onclick=\"javascript:view($id,$feed_id)\"> print "$update_pic"; diff --git a/functions.js b/functions.js index 540d7b89..5f8b2425 100644 --- a/functions.js +++ b/functions.js @@ -240,7 +240,11 @@ function disableContainerChildren(id, disable, doc) { for (var i = 0; i < container.childNodes.length; i++) { var child = container.childNodes[i]; - child.disabled = disable; + try { + child.disabled = disable; + } catch (E) { + + } if (disable) { if (child.className && child.className.match("button")) { @@ -250,7 +254,7 @@ function disableContainerChildren(id, disable, doc) { if (child.className && child.className.match("disabledButton")) { child.className = "button"; } - } + } } } diff --git a/pngfix.js b/pngfix.js new file mode 100644 index 00000000..c8ef4b28 --- /dev/null +++ b/pngfix.js @@ -0,0 +1,27 @@ +// stolen from http://homepage.ntlworld.com/bobosola/pngtestfixed.htm + +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/tt-rss.css b/tt-rss.css index 4e316e48..e3aed83f 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -38,7 +38,7 @@ table.main td.feeds { border-width : 1px 0px 0px 0px; border-style : solid; border-color : #c0c0c0; - padding : 5px; + padding : 0px; } table.main td.headlinesToolbarBox { @@ -211,7 +211,7 @@ a:hover { #notify { font-weight : bold; - font-size : small; + font-size : 10pt; display : none; width : 350px; color : gray; @@ -276,17 +276,9 @@ a.button { } .disabledButton { - border : 1px solid #d0d0d0; - background : white; - color : #909090; - padding : 1px 5px 1px 5px; - font-size : small; -} - -.disabledButton:hover { - background : white; - text-decoration : none; - color : #909090; + border : 1px solid #c0c0c0; + background-color : white; + color : gray; } .evenGrayed { diff --git a/tt-rss.php b/tt-rss.php index 2428b1d1..326306ec 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -4,6 +4,9 @@ +