Announcement

Collapse
No announcement yet.

Question on the code ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Viktor Pracht
    replied
    Just as the name implies, the function registerView registers a new view for the content area of the GUI. The function changeView can then be used to switch to this view. The first four parameters to registerView are callback functions which are called to display, initialize, de-initialize and hide the view, respectively. An optional fifth argument is a callback function which is called when changing between nested views (e. g. if there is a view "calendar" and you change between "calendar/month" and "calendar/week").

    Leave a comment:


  • Guest's Avatar
    Guest started a topic Question on the code ?

    Question on the code ?

    Hello,
    I've a question on the code, I don't understand this part.
    Code:
    registerView("admin/management/users/UserSetup",
    	function() { 
    		$("admin.users.tab1").style.display="block";
    		$("admin.users.panel1").className="tabPanelFirstHi";	
    	},
    	null, 
    	null,
    	function() {
    		$("admin.users.tab1").style.display="none";
    		$("admin.users.panel1").className="tabPanelFirst";		
    	}
    );
    what do this function aside to store the modification style on an object in a Array ?
    I saw that you use many times this function on your porgram but as this function returns a object but this object is not stored, what is his role ?

    Thx !
Working...
X