Menu

User Menu

scheccia
2009-08-21
2012-11-15
  • scheccia

    scheccia - 2009-08-21

    It's possible to have user menu closed...when i login?
    thanks.

     
    • scheccia

      scheccia - 2009-08-22

      ok i found...
      in position.css found
      ------------------------------------------------------
      #content #onlineListContainer #onlineList ul {
          margin-left:0px;
          margin-top:5px;
          margin-bottom:5px;
          padding-left:20px;
      -------------------------------------------

      add after
      display: none;

      open js/chat.js and found showhide function
      ------------------------------------------------------
      showHide: function(id, styleDisplay, displayInline) {
              var node = document.getElementById(id);
             
              if(node) {
                  if(styleDisplay) {
                      node.style.display = styleDisplay;
                  } else {
                      if(node.style.display == 'none') {
                          node.style.display = (displayInline ? 'inline' : 'block');
                      } else {
                          node.style.display = 'none';
                      }
                  }   
              }
          },
      --------------------------------------------------------------

      replace with
      -----------------------------------------------------------
      showHide: function(id, styleDisplay, displayInline) {
              var node = document.getElementById(id);
             
              if(node) {
                  if(styleDisplay) {
                      node.style.display = styleDisplay;
                  } else {
                      if(node.style.display == 'block') {
                          node.style.display = (displayInline ? 'inline' : 'none');
                      } else {
                          node.style.display = 'block';
                      }
                  }   
              }
          },
      ---------------------------------------

      end :)

       
  • Ethneldryt

    Ethneldryt - 2009-11-19

    up,  i need too to closed user menu when i login :)

     
  • Anonymous

    Anonymous - 2010-12-22

    You also need to set the right margin of the chat box container.
    In position.css under #content #chatlist set the right value to 20px

     

Log in to post a comment.