Re: custom (fixed) width

  •  04-28-2005, 12:23 PM

    Re: custom (fixed) width

    The origin code is :
     
     <script>
      
     AdjustLayout();
     
     setInterval(AdjustLayout,100);
     
     function AdjustLayout()
     {
      if(document.all)
      {
       chat_layout.style.width=document.body.clientWidth-6+"px";
       chat_layout.style.height=document.body.clientHeight-6+"px";
      }
      else
      {
       chat_layout.style.width=window.innerWidth-6+"px";
       chat_layout.style.height=window.innerHeight-6+"px";
      }
     }
     function m_over(element) {
      element.className='buttonover';
     }
     function m_out(element) {
      element.className='button';
     }
     </script>
     
    Please remain the m_over and the m_out.
     
    Regards ,Terry .
     
View Complete Thread