Class DHTMLSuite.config
Object
|
+--DHTMLSuite.config
- class
DHTMLSuite.config
Store global variables/configurations used by the classes below. Example: If you want to
change the path to the images used by the scripts, change it here. An object of this
class will always be available to the other classes. The name of this object is
"DHTMLSuite.configObj".
If you want to create an object of this class manually, remember to name it "DHTMLSuite.configObj"
This object should then be created before any other objects. This is nescessary if you want
the other objects to use the values you have put into the object.
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0
Method Summary |
void
|
init()
Initializes the config object - the config class is used to store global properties used by almost all widgets
|
void
|
resetCssPath()
|
void
|
resetImagePath()
|
void
|
setCssPath(newCssPath)
This method will save a new CSS path, i.e.
|
void
|
setImagePath(newImagePath)
This method will save a new image file path, i.e.
|
DHTMLSuite.config
DHTMLSuite.config()
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0
init
void init()
Initializes the config object - the config class is used to store global properties used by almost all widgets
resetCssPath
void resetCssPath()
Deprecated Resets css path back to default value which is ../css_dhtmlsuite/ This method is deprecated.
resetImagePath
void resetImagePath()
Deprecated Resets css path back to default path which is DHTML_SUITE_THEME_FOLDER + DHTML_SUITE_THEME + '/css' This method is deprecated.
setCssPath
void setCssPath(newCssPath)
This method will save a new CSS path, i.e. where the css files of the dhtml suite are located(the folder).
This method is rarely used. Default value is the variable DHTML_SUITE_THEME_FOLDER + DHTML_SUITE_THEME + '/css',
which means that the css path is set dynamically based on which theme you choose.
Parameters:
string
- newCssPath = New path to css files(folder - remember to have a slash(/) at the end)
setImagePath
void setImagePath(newImagePath)
This method will save a new image file path, i.e. where the image files used by the dhtml suite ar located
Parameters:
string
- newImagePath = New path to image files (remember to have a slash(/) at the end)
Documentation generated by
JSDoc on Mon Oct 8 10:17:27 2007