The dFrameFilePath variable MUST point to the first dFrame directory where dFrameAPI is stored.
Example
<script language="Javascript">
var dFrameFilePath = '../../dFrame/';
</script>
Demo
file: filepath.html
Run the example
See the source code
All dFrameAPI resources are stored in a main directory named 'dFrame'.
The dFrameFilePath variable must point to this directory and end with a '/'.
The dFrameFilePath variable will have a triple role:
§ When dFrameAPI library loads it will include some other libraries. The path of those libraries uses dFrameFilePath
§ The DFrameAPI.include method has 2 syntaxes:
o a first one indicating only the full file name and path: This path is relative to the dFrameFilePath. The path doesn't begin with a '/' as the dFrameFilePath ends with one.
o a second one indicating the full file name and path and the 'A' parameter: The full file path is used as it.
In the same way the DFrameAPI.preLoadImagesForButtonImage method has 2 syntaxes, a first one indicating the full file name and path and a second one indicating the full file name and path and the 'A' parameter.