infobox uses semi-transparent overlay

master
Andrew Dolgov 19 years ago
parent 0530ddd88b
commit 1d7bf5a0f3

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

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

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

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

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

Loading…
Cancel
Save