Login   Register  
PHP Classes
elePHPant
Icontem

File: trgrs_TreeView.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Michael J. Fuhrman  >  TreeView  >  trgrs_TreeView.js  >  Download  
File: trgrs_TreeView.js
Role: Auxiliary data
Content type: text/plain
Description: JavaScript functions that determine what should be done when a link is selected
Class: TreeView
Display a collapsible tree of links
Author: By
Last change: Added Copy Right
Date: 2010-07-19 12:32
Size: 682 bytes
 

Contents

Class file image Download
var ENetArch = 
{
	Panel :
 	{
		TreeView :
		{
			nCurrent: 0,
			
			Expand : function (nID) 
			{ location="?nFolderID=" + this.nCurrent + "&nID=" + nID + "&bStatus=Exp"; },
			
			Collapse : function (nID) 
			{ location="?nFolderID=" + this.nCurrent + "&nID=" + nID + "&bStatus=Col"; },

			Selected : function (nID, bStatus) 
			{ location="?nFolderID=" + this.nCurrent + "&nID=" + nID + "&bStatus=" + bStatus; },
		},
	},
}

/*	=======================================
	Copyright 1998 - 2010 - E Net Arch
	This program is distributed under the terms of the GNU 
	General Public License (or the Lesser GPL).
	======================================= */