summaryrefslogtreecommitdiff
path: root/themes/default/js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-12 03:40:49 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-12 03:40:49 +0000
commit1da2428183a9f1ae8324a8b4db4ae71e3125470d (patch)
tree41a62243ec6ba7c885604208de5e2895246b0679 /themes/default/js
parent49e44f29f219e20a2a6a2430dd82a2b2898764fa (diff)
More updates for user management. The controllers don't work yet. But the login link in the header wil open up a login box like the mockup
Diffstat (limited to 'themes/default/js')
-rw-r--r--themes/default/js/login.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/default/js/login.js b/themes/default/js/login.js
new file mode 100644
index 00000000..bc18fe41
--- /dev/null
+++ b/themes/default/js/login.js
@@ -0,0 +1,11 @@
+function show_login() {
+ $("#gLoginLink").fadeOut("fast");
+ $("#gLoginForm").fadeIn("fast");
+ $("#gLoginClose").fadeIn("fast");
+}
+
+function close_login() {
+ $("#gLoginLink").fadeIn("fast");
+ $("#gLoginForm").fadeOut("fast");
+ $("#gLoginClose").fadeOut("fast");
+} \ No newline at end of file