add shadow to userDlg

This commit is contained in:
Andrew Dolgov 2005-11-27 11:48:07 +01:00
parent b2e9654e83
commit 76332f3c90
4 changed files with 31 additions and 21 deletions

View file

@ -2099,7 +2099,8 @@
$param = $_GET["param"];
if ($id == "quickAddFeed") {
print "Feed URL: <input
print "
Feed URL: <input
onblur=\"javascript:enableHotkeys()\" onfocus=\"javascript:disableHotkeys()\"
id=\"qafInput\">
<input class=\"button\"
@ -2119,7 +2120,7 @@
$f_title = db_fetch_result($result, 0, "title");
print "Remove current feed ($f_title)?&nbsp;
print "Remove current feed (<b>$f_title</b>)?&nbsp;
<input class=\"button\"
type=\"submit\" onclick=\"javascript:qfdDelete($param)\" value=\"Remove\">
<input class=\"button\"

View file

@ -463,6 +463,29 @@ div.helpResponse {
border : 1px solid #f0f0f0;
}
#userDlgShadow {
z-index : 3;
position : absolute;
left : 30%;
top : 30%;
display : none;
background-image : url("images/shadow.png");
}
#userDlg {
background : #fffff0;
position : relative;
bottom : 2px;
right : 2px;
padding : 15px;
border : 1px solid #c0c0c0;
}
#qafInput {
width : 300px;
}
#infoBox {
border : 1px solid #c0c0c0;
padding-bottom : 10px;
@ -513,21 +536,6 @@ pre {
background : #f0f0f0;
}
#userDlg {
left : 400px;
top : 18px;
background : #fffff0;
z-index : 3;
position : absolute;
border : 1px solid #c0c0c0;
padding : 10px;
display : none;
}
#qafInput {
width : 300px;
}
input.extSearch {
width : 200px;
}

View file

@ -54,9 +54,10 @@ function dlg_frefresh_callback() {
function dialog_refresh_callback() {
if (xmlhttp.readyState == 4) {
var dlg = document.getElementById("userDlg");
var dlg_s = document.getElementById("userDlgShadow");
dlg.innerHTML = xmlhttp.responseText;
dlg.style.display = "block";
dlg_s.style.display = "block";
}
}
@ -476,7 +477,7 @@ function displayDlg(id, param) {
}
function closeDlg() {
var dlg = document.getElementById("userDlg");
var dlg = document.getElementById("userDlgShadow");
dlg.style.display = "none";
}

View file

@ -61,7 +61,7 @@
<div id="notify"><span id="notify_body"></div>
</td>
<div id="userDlg">&nbsp;</div>
<div id="userDlgShadow"><div id="userDlg">&nbsp;</div></div>
</tr><tr><td class="welcomePrompt">
<? if (!SINGLE_USER_MODE) { ?>
@ -73,7 +73,7 @@
</td>
</tr>
<? } else { ?>
<div id="userDlg">&nbsp;</div>
<div id="userDlgShadow"><div id="userDlg">&nbsp;</div></div>
<? } ?>
<tr>
<td valign="top" rowspan="3" class="feeds">