How to hide Safari address bar on iPhone/iPod to save the space for application.

Solution is in the method dhx.ui.fullScreen() which will do all the work.
What you should know is just how and where insert it into code.
You have two variants here:
To use the full form of the function with parameters passed inside.
dhx.ui.fullScreen(landscapeHeight, portraitHeight)
landscapeHeight - (integer) the height of occupied space in landscape mode (the default value - 268). Optional.
portraitHeight - (integer) the height of occupied space in portrait mode (the default value - 420). Optional.
To use the short form with the default values. Default values used for it are generally ok for Safari, but can be different for other browsers.
dhx.ui.fullScreen()
To make an app work correctly in full-screen mode you should fulfil two requirements:
All the code must be placed into
dhx.ready(...) to ensure that it will be called just after the page has been completely parsed.
dhx.ui.fullScreen() must be placed before components' definitions, i.e. before
dhx.ui({..}) blocks.
dhx.ready(function(){
dhx.ui.fullScreen();
dhx.ui({
...
})
})
If you need to return the address bar, just touch the status bar. To hide it again - refresh the page.