summaryrefslogtreecommitdiffstats
path: root/module/web/static/default
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-18 21:32:51 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-18 21:32:51 +0200
commit172f6a10b9d3f2fc1878147132af73e96d9bd67e (patch)
tree5cbeb315b5d624465d3b0521523a051ace0a36bd /module/web/static/default
parentUpdated Config System (diff)
downloadpyload-172f6a10b9d3f2fc1878147132af73e96d9bd67e.tar.xz
some webinterface functions
Diffstat (limited to 'module/web/static/default')
-rw-r--r--module/web/static/default/home.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/module/web/static/default/home.js b/module/web/static/default/home.js
index cfb6e3ed8..7db6d4efc 100644
--- a/module/web/static/default/home.js
+++ b/module/web/static/default/home.js
@@ -72,8 +72,24 @@ data.downloads.forEach()
}
+
+/* hover! */
+Element.implement({
+ 'hover': function(fn1,fn2) {
+ return this.addEvents({
+ 'mouseenter': function(e) {
+ fn1.attempt(e,this);
+ },
+ 'mouseleave': function(e) {
+ fn2.attempt(e,this);
+ }
+ })
+ }
+});
+
window.addEvent('domready', function(){
+/*
//create the progress bar for example 1
pb = new dwProgressBar({
container: $$('.level1 p')[0],
@@ -85,6 +101,7 @@ pb = new dwProgressBar({
displayText: true,
displayID: 'boxtext'
});
+*/
req.startTimer();