拖动层效果,兼容IE和FF!第1/2页

2019-06-03 15:09:50于丽

    }
    #ChatHead a:link,#ChatHead a:visited, {
        font-size:14px;
        font-weight:bold;
        padding:0 3px
    }
    #ChatBody {
        border:1px solid #003399;
        border-top:none;
        padding:2px;
    }
    #ChatContent {
        height:200px;
        padding:6px;
        overflow-y:scroll;
        word-break: break-all
    }
    #ChatBtn {
        border-top:1px solid #003399;
        padding:2px
    }
    -->
    </style>
    <script language="javascript" type="text/javascript">
    <!--
    function ChatHidden()
    {
        document.getElementById("ChatBody").style.display = "none";
    }
    function ChatShow()
    {
        document.getElementById("ChatBody").style.display = "";
    }
    function ChatClose()
    {
        document.getElementById("main").style.display = "none";
    }
    function ChatSend(obj)
    {
        var o = obj.ChatValue;
        if (o.value.length>0){
            document.getElementById("ChatContent").innerHTML += "<strong>Akon说:</strong>"+o.value+"<br/>";
            o.value='';
        }
    }

    if  (document.getElementById)
    {
        (
            function()
            {