Toggle web page : Toggle « GUI Components « JavaScript DHTML






Toggle web page

<?xml version="1.0" encoding="utf-8"?><div style="position:absolute;right:20"><a href="javascript:void(0)" onclick="expandAll(true)">expand</a><a href="javascript:void(0)" onclick="expandAll(false)">collaps</a></div><script><!--
    
      function openFull(el){
        el.nextSibling.style.display=='none'?el.nextSibling.style.display='block':el.nextSibling.style.display='none'
      }
      function expandAll(fl){
        var elAr = document.getElementsByTagName("DIV");
        for(var i=2;i<elAr.length;i++){
          if(elAr[i].style.display=='none' || elAr[i].block_fl){
            elAr[i].block_fl = true;
            if(fl)
              elAr[i].style.display = "";
            else
              elAr[i].style.display = "none";
          }
        }
      }
    
    --></script><style>
      .{font-family:arial;}
      h2 {cursor:pointer;font-size:16px;margin-left:10px;line-height:10px}
      h3 {cursor:pointer;font-weight:normal;color:gray;text-decoration:underline;line-height:10px}
      div.block {margin-left:30px;}
    </style><h2 onclick="openFull(this)">dhtmlXMenuBarObject object API</h2><div class="block" style="display:show;"><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">addItem(panel,item)<br /><strong style="color:#6c6c6c;font-size:12px">add item to menu</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Add/delete; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar.js<li type="circle">item - item object</li><li type="circle">panel - menu panel  object</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">disableItem(itemId)<br /><strong style="color:#6c6c6c;font-size:12px">disable menu button</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">itemId - item id</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableIESelectBoxFix(mode)<br /><strong style="color:#6c6c6c;font-size:12px">fix z-index problem with select boxes in IE, enabled by default</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar.js<li type="circle">mode - enable/disable</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableItem(itemId)<br /><strong style="color:#6c6c6c;font-size:12px">enable menu button</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">itemId - item id</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableWindowOpenMode(mode)<br /><strong style="color:#6c6c6c;font-size:12px">closed menu behaviour</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar.js<li type="circle">mode - enable/disable</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">getItem(itemId)<br /><strong style="color:#6c6c6c;font-size:12px">return item object by id</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">itemId - item id</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">getPanel(panelId)<br /><strong style="color:#6c6c6c;font-size:12px">return menu panel object</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar.js<li type="circle">panelId - id of panel related menu item</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">hideBar()<br /><strong style="color:#6c6c6c;font-size:12px">hide menu</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">hideButtons(idList)<br /><strong style="color:#6c6c6c;font-size:12px">hide menu buttons</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">idList - list of items's ids, separated by comma</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">hideItem(itemId)<br /><strong style="color:#6c6c6c;font-size:12px">hide menu button</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">itemId - item id</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">loadXML(file)<br /><strong style="color:#6c6c6c;font-size:12px">load XML from file</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">file - file name</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">loadXMLString(xmlString)<br /><strong style="color:#6c6c6c;font-size:12px">load XML from string</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">xmlString - string contining XML</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">removeItem(id)<br /><strong style="color:#6c6c6c;font-size:12px">remove item</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Add/delete; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar.js<li type="circle">id - item id</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">resetBar(idList)<br /><strong style="color:#6c6c6c;font-size:12px">hide all items, show only items which ids in list</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">idList - list of id's, separated by comma</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setBarAlign(align)<br /><strong style="color:#6c6c6c;font-size:12px">set menu buttons alignment (allowed - 'left','center','right','top','middle','bottom')</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">align - buttons alignment</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setBarSize(width,height)<br /><strong style="color:#6c6c6c;font-size:12px">set menu size</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">width - menu width</li><li type="circle">height - menu height</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setGfxPath(path)<br /><strong style="color:#6c6c6c;font-size:12px">set path to system images</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">path - relative path to images</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setItemAction(id,action)<br /><strong style="color:#6c6c6c;font-size:12px">set item individual action</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">id - item identificator</li><li type="circle">action  - js function called on item selection</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setMenuCSS(table,title,secTable)<br /><strong style="color:#6c6c6c;font-size:12px">set menu css classes</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar.js<li type="circle">table - css class for menu container</li><li type="circle">secTable - css class for child menu containers</li><li type="circle">title - css class for toolbar title</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setMenuMode(modeValue)<br /><strong style="color:#6c6c6c;font-size:12px">set menu design</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar.js<li type="circle">modeValue - name of design</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setOnClickHandler(func)<br /><strong style="color:#6c6c6c;font-size:12px">set default action</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">action - set default action</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setOnHideHandler(func)<br /><strong style="color:#6c6c6c;font-size:12px">set action hadler on menu hiding</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">func - user defined function</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setOnShowHandler(func)<br /><strong style="color:#6c6c6c;font-size:12px">set action hadler on menu showing</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">func - user defined function</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setTitleText(newText)<br /><strong style="color:#6c6c6c;font-size:12px">set menu tittle</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">name - new tittle, shown on menu</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">showBar()<br /><strong style="color:#6c6c6c;font-size:12px">show menu</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">showButtons(idList)<br /><strong style="color:#6c6c6c;font-size:12px">show menu buttons</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">idList - list of items's ids, separated by comma</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">showItem(id)<br /><strong style="color:#6c6c6c;font-size:12px">show menu button</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXProtobarObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">id - item id</li><span /></div><span /></div><h2 onclick="openFull(this)">dhtmlXMenuItemObject object API</h2><div class="block" style="display:show;"><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setText(newText)<br /><strong style="color:#6c6c6c;font-size:12px">set button text</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar.js<li type="circle">newText - new text [ HTML allowed ]</li><span /></div><span /></div><h2 onclick="openFull(this)">dhtmlXMenuDividerYObject object API</h2><div class="block" style="display:show;"><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">disable()<br /><strong style="color:#6c6c6c;font-size:12px">disable object</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enable()<br /><strong style="color:#6c6c6c;font-size:12px">enable object</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setAction(func)<br /><strong style="color:#6c6c6c;font-size:12px">set default action, action function take one parametr - item id</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">func - js function</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setAltText(imageText)<br /><strong style="color:#6c6c6c;font-size:12px">set alt text of button image</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">imageText - new alt image text</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setHTML(htmlText)<br /><strong style="color:#6c6c6c;font-size:12px">set innerHTML of button</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">htmlText - new text</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setImage(imageSrc,disabledImageSrc)<br /><strong style="color:#6c6c6c;font-size:12px">set image href</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">imageSrc - new image href</li><li type="circle">disabledImageSrc - new image href</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setSecondAction(func)<br /><strong style="color:#6c6c6c;font-size:12px">set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">func - js function</li><span /></div><span /></div><h2 onclick="openFull(this)">dhtmlXMenuDividerXObject object API</h2><div class="block" style="display:show;"><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">disable()<br /><strong style="color:#6c6c6c;font-size:12px">disable object</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enable()<br /><strong style="color:#6c6c6c;font-size:12px">enable object</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setAction(func)<br /><strong style="color:#6c6c6c;font-size:12px">set default action, action function take one parametr - item id</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">func - js function</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setAltText(imageText)<br /><strong style="color:#6c6c6c;font-size:12px">set alt text of button image</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">imageText - new alt image text</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setHTML(htmlText)<br /><strong style="color:#6c6c6c;font-size:12px">set innerHTML of button</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">htmlText - new text</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setImage(imageSrc,disabledImageSrc)<br /><strong style="color:#6c6c6c;font-size:12px">set image href</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Item control; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">imageSrc - new image href</li><li type="circle">disabledImageSrc - new image href</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setSecondAction(func)<br /><strong style="color:#6c6c6c;font-size:12px">set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Action handling; 
      <br /><em style="color:blue;">Nested from:</em>dhtmlXButtonPrototypeObject<br /><em style="color:blue;">File required:</em>dhtmlXProtobar.js<li type="circle">func - js function</li><span /></div><span /></div><h2 onclick="openFull(this)">dhtmlXContextMenuObject object API</h2><div class="block" style="display:show;"><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setContextMenuHandler(func)<br /><strong style="color:#6c6c6c;font-size:12px">set onClick context menu handler</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar_cp.js<li type="circle">func - user defined function</li><span /></div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setContextZone(htmlObject,zoneId)<br /><strong style="color:#6c6c6c;font-size:12px">set context zones</strong><br /><span /></div><div style="display:none;margin-left:20px;font-size:12px"><em style="color:blue;">Topic(s): </em>Initialization; 
      <br /><em style="color:blue;">File required:</em>dhtmlXMenuBar_cp.js<li type="circle">htmlObject - id of html tag or html object</li><li type="circle">zoneId - id of zone</li><span /></div><span /></div>


           
       








Related examples in the same category

1.Toggle Multi select Widget
2.Toggle page
3.Dynamic Content: click show and re-click disappear (IE)
4.Create custom page and replace current document with it