summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-07 08:19:14 +0100
committerAndrew Dolgov <[email protected]>2005-09-07 08:19:14 +0100
commite828e31e83e8d487ad02fd9831690b8d113218fe (patch)
tree8b6c56cd5128466985e07966e2fde5bdea76c8ab /functions.js
parent94f6fd94e5e05c929bbf6e39b5dce0a9b3ce1fb5 (diff)
big interface overhaul, new logo
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js20
1 files changed, 18 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index 7faf42874..ebb1bb8f3 100644
--- a/functions.js
+++ b/functions.js
@@ -124,10 +124,18 @@ function hotkey_handler(e) {
}
-function cleanSelected(element) {
+function cleanSelectedList(element) {
var content = document.getElementById(element);
- var rows = new Array();
+ for (i = 0; i < content.childNodes.length; i++) {
+ content.childNodes[i].className = content.childNodes[i].className.replace("Selected", "");
+ }
+
+}
+
+
+function cleanSelected(element) {
+ var content = document.getElementById(element);
for (i = 0; i < content.rows.length; i++) {
content.rows[i].className = content.rows[i].className.replace("Selected", "");
@@ -247,4 +255,12 @@ function disableContainerChildren(id, disable, doc) {
}
+function gotoPreferences() {
+ document.location.href = "prefs.php";
+}
+
+function gotoMain() {
+ document.location.href = "tt-rss.php";
+}
+