infobox uses semi-transparent overlay

This commit is contained in:
Andrew Dolgov 2006-05-18 14:18:30 +01:00
parent 0530ddd88b
commit 1d7bf5a0f3
6 changed files with 17 additions and 14 deletions

View File

@ -78,7 +78,7 @@ var notify_last_doc = false;
function hide_notify() {
if (notify_last_doc) {
var n = notify_last_doc.getElementById("notify");
if (navigator.userAgent.match("Firefox")) {
if (browser.isNS) {
if (notify_opacity >= 0) {
notify_opacity = notify_opacity - 0.2;
n.style.opacity = notify_opacity;
@ -1049,3 +1049,4 @@ function toggleSubmitNotEmpty(e, submit_id) {
exception_error("toggleSubmitNotEmpty", e);
}
}

BIN
images/overlay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

View File

@ -608,11 +608,11 @@ function removeSelectedFeeds() {
if (sel_rows.length > 0) {
var ok = confirm("Unsubscribe selected feeds?");
var ok = confirm("Unsubscribe from selected feeds?");
if (ok) {
notify("Removing selected feeds...");
notify("Unsubscribing from selected feeds...");
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=remove&ids="+
param_escape(sel_rows.toString()), true);
@ -1214,7 +1214,7 @@ function localPiggieFunction(enable) {
var piggie = document.getElementById("piggie");
piggie.style.display = "block";
if (navigator.userAgent.match("Firefox") && Math.random(1) > 0.5) {
if (browser.isNS && Math.random(1) > 0.5) {
piggie2_callback();
} else {
piggie_callback();

View File

@ -538,9 +538,10 @@ div.helpResponse {
border-color : #88b0f0;
font-size : small;
position : relative;
bottom : 2px;
right : 2px;
padding-bottom : 5px;
top : 30%;
left : 30%;
width : 30%;
padding-bottom : 5px;
background-image : url("images/prefs-content.png");
background-position : top left;
background-repeat : repeat-x;
@ -548,12 +549,13 @@ div.helpResponse {
}
#infoBoxShadow {
background-image : url("images/shadow.png");
position : absolute;
left : 35%;
top : 30%;
width : 30%;
background-image : url("images/overlay.png");
left : 0;
top : 0;
height : 100%;
width : 100%;
z-index : 3;
position : absolute;
display : none;
}

View File

@ -494,7 +494,7 @@ function quickMenuGo(opid) {
return;
}
if (confirm("Unsubscribe current feed?")) {
if (confirm("Unsubscribe from current feed?")) {
qfdDelete(actid);
}

View File

@ -229,7 +229,7 @@ window.onload = init;
<option disabled>--------</option>
<option style="color : #5050aa" disabled>Feed actions:</option>
<option id="qmcAddFeed">&nbsp;&nbsp;Subscribe to feed</option>
<option id="qmcRemoveFeed">&nbsp;&nbsp;Unsubscribe this feed</option>
<option id="qmcRemoveFeed">&nbsp;&nbsp;Unsubscribe</option>
<!-- <option>Edit this feed</option> -->
<option disabled>--------</option>
<option style="color : #5050aa" disabled>All feeds:</option>