opera fixes

This commit is contained in:
Andrew Dolgov 2006-05-18 14:51:15 +01:00
parent f9e621d06f
commit 292a8a1224
5 changed files with 48 additions and 8 deletions

View file

@ -1823,7 +1823,6 @@
cellspacing='0' cellpadding='0'><tr>
<td>
<input id=\"fadd_link\"
onchange=\"javascript:addFeed()\"
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
size=\"40\">
<input type=\"submit\" class=\"button\"
@ -2052,7 +2051,6 @@
print "<div class=\"prefGenericAddBox\">
<input id=\"fadd_cat\"
onchange=\"javascript:addFeedCat()\"
onkeyup=\"toggleSubmitNotEmpty(this, 'catadd_submit_btn')\"
size=\"40\">&nbsp;
<input
@ -3448,7 +3446,7 @@
print "<div class=\"prefGenericAddBox\">
<input id=\"uadd_box\"
onkeyup=\"toggleSubmitNotEmpty(this, 'user_add_btn')\"
onchange=\"javascript:addUser()\" size=\"40\">&nbsp;";
size=\"40\">&nbsp;";
print"<input type=\"submit\" class=\"button\"
id=\"user_add_btn\" disabled=\"true\"

View file

@ -1,5 +1,9 @@
var hotkeys_enabled = true;
function browser_has_opacity() {
return navigator.userAgent.match("Gecko") || navigator.userAgent.match("Opera");
}
function exception_error(location, e) {
var msg;
@ -78,11 +82,11 @@ var notify_last_doc = false;
function hide_notify() {
if (notify_last_doc) {
var n = notify_last_doc.getElementById("notify");
if (browser.isNS) {
if (browser_has_opacity()) {
if (notify_opacity >= 0) {
notify_opacity = notify_opacity - 0.2;
n.style.opacity = notify_opacity;
notify_hide_timerid = window.setTimeout(hide_notify, 20);
notify_hide_timerid = window.setTimeout("hide_notify()", 20);
} else {
n.style.display = "none";
n.style.opacity = 1;
@ -126,7 +130,7 @@ function notify_real(msg, doc, no_hide, is_err) {
notify_opacity = 1;
if (!no_hide) {
notify_hide_timerid = window.setTimeout(hide_notify, 3000);
notify_hide_timerid = window.setTimeout("hide_notify()", 3000);
}
}

View file

@ -5,3 +5,40 @@ table.main td.headlines {
border-color : #c0c0c0;
}
#infoBoxTitle {
border-width : 1px 1px 1px 1px;
border-style : solid;
border-color : #88b0f0;
background-color : #88b0f0;
padding : 2px;
color : white;
}
#infoBox {
border-width : 1px 1px 1px 1px;
border-style : solid;
border-color : #88b0f0;
font-size : small;
position : relative;
top : 30%;
left : 30%;
width : 30%;
padding-bottom : 5px;
background-image : url("images/prefs-content.png");
background-position : top left;
background-repeat : repeat-x;
background-color : white;
}
#infoBoxShadow {
background-image : url("images/overlay.png");
left : 0;
top : 0;
height : 100%;
width : 100%;
z-index : 3;
position : absolute;
display : none;
}

View file

@ -1214,7 +1214,7 @@ function localPiggieFunction(enable) {
var piggie = document.getElementById("piggie");
piggie.style.display = "block";
if (browser.isNS && Math.random(1) > 0.5) {
if (navigator.userAgent.match("Gecko") && Math.random(1) > 0.5) {
piggie2_callback();
} else {
piggie_callback();

View file

@ -142,6 +142,7 @@ ul.feedList {
list-style-type : none;
margin : 5px;
padding : 0px 0px 0px 10px;
font-size : x-small;
}
ul.feedList li.feedCat {