From e5549057abc64f86547384d7c06f99614332c0f4 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 14 Oct 2007 17:31:23 +0000 Subject: Moving menus to unorderded lists. CSS still need a few changes, but this is waiting on permission to use nice + and - graphics. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1752 4979c152-3d1c-0410-bac9-87ea11338e46 --- UI/login.js | 3 ++- UI/menu/expanding.css | 11 +++++---- UI/menu/expanding.html | 60 +++++++++++++++++++++++++++----------------------- 3 files changed, 39 insertions(+), 35 deletions(-) (limited to 'UI') diff --git a/UI/login.js b/UI/login.js index cf261624..fd421e26 100644 --- a/UI/login.js +++ b/UI/login.js @@ -13,7 +13,8 @@ function submit_form() { var http = get_http_request_object(); var username = document.login.login.value; var password = document.login.password.value; - http.open("get", 'login.pl?action=authenticate', false, + http.open("get", 'login.pl?action=authenticate&company=' + + document.login.company.value, false, username, password); http.send(""); alert(http.status); diff --git a/UI/menu/expanding.css b/UI/menu/expanding.css index c3b30db9..3a1ba2fe 100644 --- a/UI/menu/expanding.css +++ b/UI/menu/expanding.css @@ -1,11 +1,10 @@ -div.submenu { - display: none; +li.menu_closed { } -A.Menu_Closed:before { - content: '+'; +li.menu_closed > ul { + display: none; } -A.Menu_Open:before { - content: '-'; +li.menu_open > ul { + display: block; } diff --git a/UI/menu/expanding.html b/UI/menu/expanding.html index 76a53b71..bec01754 100644 --- a/UI/menu/expanding.html +++ b/UI/menu/expanding.html @@ -7,8 +7,16 @@ - - + + @@ -17,23 +25,16 @@