X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=454152a3431fc93207c56812b617bbcd7c9c231b;hb=e3dee295c72fc8cd5f7f607f94e713b1208a610b;hp=1b2ea87304d76e7db993d5737ce8ee93f74595c7;hpb=88854f454c50e67704c8e38b1e76b4da37fc2045;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 1b2ea87..454152a 100644 --- a/web/commons.js +++ b/web/commons.js @@ -903,7 +903,11 @@ function topbanner_cb() function sidebanner_init() { setInterval(sidebanner_cb, 666); -; +} + +function sidebanner2_init() +{ + setInterval(sidebanner2_cb, 666); } function sidebanner_cb() @@ -919,6 +923,19 @@ function sidebanner_cb() // 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) {