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!");
}
if (typeof correctPNG != 'undefined') {
correctPNG();
}
} catch (e) {
exception_error("feedlist/init", e);
}

View File

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

View File

@ -48,6 +48,11 @@
<?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">
<script type="text/javascript" src="prototype.js"></script>

View File

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