X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=454152a3431fc93207c56812b617bbcd7c9c231b;hb=4fc44e9a6f4f15b3d86cfb378d7a8d73cffe0844;hp=c5eba32d499f6f68ecbd8642d537202fdd9a0b09;hpb=8ed2a55a82dedbf9ce2014fc2ee1cc06ecedb525;p=brisk.git diff --git a/web/commons.js b/web/commons.js index c5eba32..454152a 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,42 @@ function topbanner_cb() // console.log("A: "+a+" B: "+b); } +function sidebanner_init() +{ + setInterval(sidebanner_cb, 666); +} + +function sidebanner2_init() +{ + setInterval(sidebanner2_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 sidebanner2_cb() +{ + var a, b; + + a = $('sidebanner2').style.backgroundColor; + b = $('sidebanner2').style.borderLeftColor; + + $('sidebanner2').style.backgroundColor = b; + $('sidebanner2').style.borderColor = a+" "+a+" "+a+" "+a; + + // console.log("A: "+a+" B: "+b); +} + function langtolng(lang) {