msie compatibility fixes

This commit is contained in:
Andrew Dolgov 2006-09-29 05:45:26 +01:00
parent 11befbb22f
commit 935f235da7
4 changed files with 29 additions and 3 deletions

View file

@ -167,6 +167,10 @@ function feedlist_init() {
debug("removed splash!"); debug("removed splash!");
} }
if (typeof correctPNG != 'undefined') {
correctPNG();
}
} catch (e) { } catch (e) {
exception_error("feedlist/init", e); exception_error("feedlist/init", e);
} }

View file

@ -141,14 +141,14 @@ ul.feedList {
list-style-type : none; list-style-type : none;
margin : 5px; margin : 5px;
padding : 0px 0px 0px 10px; padding : 0px 0px 0px 10px;
font-size : x-small; font-size : small;
} }
ul.feedList li.feedCat { ul.feedList li.feedCat {
margin : 0px; margin : 0px;
padding : 3px 0px 3px 0px; padding : 3px 0px 3px 0px;
color : #707070; color : #707070;
font-size : x-small; font-size : small;
} }
ul.feedList li.feedCat a { ul.feedList li.feedCat a {
@ -1260,6 +1260,7 @@ div.whiteBox {
overflow : auto; overflow : auto;
bottom : 40px; bottom : 40px;
border-collapse : collapse; border-collapse : collapse;
height: expression((parseInt(document.documentElement.clientHeight)-40-20-30)+'px');
} }
#toolbar { #toolbar {
@ -1273,7 +1274,6 @@ div.whiteBox {
background-image : url("images/toolbar.png"); background-image : url("images/toolbar.png");
background-position : bottom left; background-position : bottom left;
background-repeat : repeat-x; background-repeat : repeat-x;
font-size : small;
} }
div.headlines_normal { div.headlines_normal {
@ -1288,6 +1288,8 @@ div.headlines_normal {
overflow : hidden; overflow : hidden;
font-size : small; font-size : small;
border-collapse : collapse; border-collapse : collapse;
/* css hack for IE */
width: expression((parseInt(document.documentElement.clientWidth)-260)+'px');
} }
div.headlines_cdm { div.headlines_cdm {
@ -1302,6 +1304,7 @@ div.headlines_cdm {
overflow : auto; overflow : auto;
font-size : small; font-size : small;
border-collapse : collapse; border-collapse : collapse;
width: expression((parseInt(document.documentElement.clientWidth)-260)+'px');
} }
#content-frame { #content-frame {
@ -1315,6 +1318,8 @@ div.headlines_cdm {
bottom : 40px; bottom : 40px;
right : 0px; right : 0px;
border-collapse : collapse; border-collapse : collapse;
width: expression((parseInt(document.documentElement.clientWidth)-260)+'px');
height: expression((parseInt(document.documentElement.clientHeight)-40-305-50)+'px');
} }
#footer { #footer {
@ -1331,6 +1336,12 @@ div.headlines_cdm {
right : 0px; right : 0px;
left : 0px; left : 0px;
padding : 10px; padding : 10px;
width: expression((parseInt(document.documentElement.clientWidth)-20)+'px');
border-collapse : collapse;
border-width : 1px 0px 0px 0px;
border-style : solid;
border-color : #88b0f0;
} }
#headlinesContainer { #headlinesContainer {

View file

@ -48,6 +48,11 @@
<?php } ?> <?php } ?>
<!--[if gte IE 5.5000]>
<script type="text/javascript" src="pngfix.js"></script>
<link rel="stylesheet" type="text/css" href="tt-rss-ie.css">
<![endif]-->
<link rel="shortcut icon" type="image/png" href="images/favicon.png"> <link rel="shortcut icon" type="image/png" href="images/favicon.png">
<script type="text/javascript" src="prototype.js"></script> <script type="text/javascript" src="prototype.js"></script>

View file

@ -6,6 +6,9 @@ function headlines_callback() {
var f = document.getElementById("headlines-frame"); var f = document.getElementById("headlines-frame");
f.innerHTML = xmlhttp.responseText; f.innerHTML = xmlhttp.responseText;
update_all_counters(); update_all_counters();
if (typeof correctPNG != 'undefined') {
correctPNG();
}
notify(""); notify("");
} }
} }
@ -15,6 +18,9 @@ function article_callback() {
debug("article_callback"); debug("article_callback");
var f = document.getElementById("content-frame"); var f = document.getElementById("content-frame");
f.innerHTML = xmlhttp.responseText; f.innerHTML = xmlhttp.responseText;
if (typeof correctPNG != 'undefined') {
correctPNG();
}
update_all_counters(); update_all_counters();
} }
} }