X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=1b2ea87304d76e7db993d5737ce8ee93f74595c7;hb=fadc23d05cb75837058e8ab846b946f8c6eb4143;hp=c5eba32d499f6f68ecbd8642d537202fdd9a0b09;hpb=8ed2a55a82dedbf9ce2014fc2ee1cc06ecedb525;p=brisk.git diff --git a/web/commons.js b/web/commons.js index c5eba32..1b2ea87 100644 --- a/web/commons.js +++ b/web/commons.js @@ -322,6 +322,16 @@ function act_help() send_mesg("help"); } +function act_passwdhowto() +{ + send_mesg("passwdhowto"); +} + +function act_mesgtoadm() +{ + send_mesg("mesgtoadm"); +} + function act_tav() { act_chatt('/tav '+$('txt_in').value); @@ -890,6 +900,25 @@ function topbanner_cb() // console.log("A: "+a+" B: "+b); } +function sidebanner_init() +{ + setInterval(sidebanner_cb, 666); +; +} + +function sidebanner_cb() +{ + var a, b; + + a = $('sidebanner').style.backgroundColor; + b = $('sidebanner').style.borderLeftColor; + + $('sidebanner').style.backgroundColor = b; + $('sidebanner').style.borderColor = a+" "+a+" "+a+" "+a; + + // console.log("A: "+a+" B: "+b); +} + function langtolng(lang) {