onHistoryChange

fires when path in the Path view changes

void onHistoryChange(string path,array ids,number cursor){ ... };

Parameters

pathstringthe path to the currently selected folder
idsarrayan array of folders' ids in a path
cursornumberindex of the folder in the path

Example

$$("fmanager").attachEvent("onHistoryChange", function(path, ids, cursor){
    // your code
});

Back to top