[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 /********************************************************************************* 2 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 3 * ("License"); You may not use this file except in compliance with the License 4 * The Original Code is: vtiger CRM Open Source 5 * The Initial Developer of the Original Code is vtiger. 6 * Portions created by vtiger are Copyright (C) vtiger. 7 * All Rights Reserved. 8 * 9 ********************************************************************************/ 10 var selTags=document.getElementsByTagName("SELECT") 11 function showSubMenu() { 12 getObj("subMenuBg").style.display=getObj("subMenu").style.display="block" 13 getObj("subMenuBg").style.top=getObj("subMenu").style.top=findPosY(getObj("showSubMenu"))+15 14 getObj("subMenuBg").style.left=getObj("subMenu").style.left=findPosX(getObj("showSubMenu"))+getObj("showSubMenu").offsetWidth-getObj("subMenu").offsetWidth 15 getObj("subMenuBg").style.width=getObj("subMenu").offsetWidth 16 getObj("subMenuBg").style.height=getObj("subMenu").offsetHeight 17 18 /*for (i=0;i<selTags.length;i++) 19 selTags[i].style.visibility="hidden"*/ 20 } 21 function hideSubMenu(ev) { 22 if (!ev) var obj = window.event.srcElement; 23 else var obj = ev.target; 24 25 if (obj.id!="showSubMenu") { 26 if (getObj("subMenu").style.display=="block") { 27 getObj("subMenuBg").style.display="none" 28 getObj("subMenu").style.display="none" 29 } 30 } 31 32 for (i=0;i<selTags.length;i++) 33 selTags[i].style.visibility="visible" 34 } 35 document.onclick=hideSubMenu;
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |