From e828e31e83e8d487ad02fd9831690b8d113218fe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Sep 2005 08:19:14 +0100 Subject: big interface overhaul, new logo --- functions.js | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'functions.js') 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"; +} + -- cgit v1.2.3