[Vtigercrm-commits] [vtiger-commits] r3916 - /vtigercrm/trunk/include/js/general.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Feb 24 01:49:08 EST 2006
Author: saraj
Date: Thu Feb 23 23:49:03 2006
New Revision: 3916
Log:
function fnVis(obj) added in the general.js file for the new UI of Settings - New user/Edit User/Detail view
Modified:
vtigercrm/trunk/include/js/general.js
Modified: vtigercrm/trunk/include/js/general.js
==============================================================================
--- vtigercrm/trunk/include/js/general.js (original)
+++ vtigercrm/trunk/include/js/general.js Thu Feb 23 23:49:03 2006
@@ -1260,3 +1260,64 @@
}
+function fnVis(obj){
+
+ var profTag = document.getElementById("prof");
+
+ var moreTag = document.getElementById("more");
+
+ var addrTag = document.getElementById("addr");
+
+
+ if(obj == 'prof'){
+
+ document.getElementById('mnuTab').style.display = 'block';
+
+ document.getElementById('mnuTab1').style.display = 'none';
+
+ document.getElementById('mnuTab2').style.display = 'none';
+
+ profTag.className = 'dvtSelectedCell';
+
+ moreTag.className = 'dvtUnSelectedCell';
+
+ addrTag.className = 'dvtUnSelectedCell';
+
+ }
+
+
+ else if(obj == 'more'){
+
+ document.getElementById('mnuTab1').style.display = 'block';
+
+ document.getElementById('mnuTab').style.display = 'none';
+
+ document.getElementById('mnuTab2').style.display = 'none';
+
+ moreTag.className = 'dvtSelectedCell';
+
+ profTag.className = 'dvtUnSelectedCell';
+
+ addrTag.className = 'dvtUnSelectedCell';
+
+ }
+
+
+ else if(obj == 'addr'){
+
+ document.getElementById('mnuTab2').style.display = 'block';
+
+ document.getElementById('mnuTab').style.display = 'none';
+
+ document.getElementById('mnuTab1').style.display = 'none';
+
+ addrTag.className = 'dvtSelectedCell';
+
+ profTag.className = 'dvtUnSelectedCell';
+
+ moreTag.className = 'dvtUnSelectedCell';
+
+ }
+
+}
+
More information about the vtigercrm-commits
mailing list