如何在触发定时器控制时防止回发?

时间:2015-08-24 10:12:10

标签: javascript c# css

当我运行应用程序时,此第一个左侧(聊天框)div固定如下。 When I run application then this first left side (chat Box) div fixed like below. 但是当Timer Control Fired然后这个聊天框下降甚至我把它放入更新面板并将定时器控制也放入更新面板。 But when Timer Control Fired then This chat box getting down even I put it into update panel and put timer control into update panel too.

以下代码通过点击来上下调整样式。

<style type="text/css">

/* hover state */
.chat-box > input[type="checkbox"]:hover + label {background-color:#404D5A}

/* checked state */
.chat-box > input[type="checkbox"]:checked + label {background-color:#212A35}
.chat-box > input[type="checkbox"]:checked + label:before {content:attr(data-expanded); float:right}
.chat-box > input[type="checkbox"]:checked ~ .chat-box-content {display:block}

    </style>

那么如何预防呢?

0 个答案:

没有答案