fm_progress_bar_position


mixed fm_progress_bar_position ( [int $left [, int $top]] )


 

Description


Allows you to set the default progress bar dialog position or get the current setting.

 

Parameters


left (optional)
The left position of the progress bar dialog. The default position is the center of the screen.

top (optional)
The top position of the progress bar dialog. The default position is the center of the screen.

 

Return


Returns true if the default position is set or false if either parameter is invalid. If no parameters are passed in, the current setting will be returned.

 

Errors


315 Function not supported on server

 

Example 1 - Set default progress bar position and confirm
fm_progress_bar_position(50, 75);
echo fm_progress_bar_position();
/*
Returns: 50,75
*/