onBeforeDynLoad

fires before a request for data loading is sent to the server-side script

boolean onBeforeDynLoad(string url,object folder,string mode,boolean open){ ... };

Parameters

urlstringthe URL of the server-side script
folderobjectthe object of the folder to load data into (see details)
modestringthe name of the dynamic loading mode, "files" or "branch"
openbooleandefines, whether the related folder should be opened after loading

Returns

booleanfalse, if the operation needs to be blocked

Example

$$("fmanager").attachEvent("onBeforeDynLoad", function(url, folder, mode, open){
    // your code
    return true;
});

Details

The folder object contains all the properties of the related folder.

See also
Back to top