Class DHTMLSuite.dynamicContent
Object
|
+--DHTMLSuite.dynamicContent
- class
DHTMLSuite.dynamicContent
The purpose of this class is to load content of external files into HTML elements on your page(demo).
The pane splitter, window widget and the ajax tooltip script are also using this class to put external content into HTML elements.
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0
Method Summary |
void
|
loadContent(divId,url,functionToCallOnLoaded)
Load content from external files into an element on your web page.
|
void
|
setCache(enableCache)
Cancel selection when drag is in process
|
void
|
setWaitImage(newWaitImage)
Specify an image to show when Ajax is busy working.
|
void
|
setWaitMessage(newWaitMessage)
Specify which message to show when Ajax is busy.
|
ajaxObjects
Object ajaxObjects
enableCache
Object enableCache
jsCache
Object jsCache
objectIndex
Object objectIndex
waitImage
Object waitImage
waitMessage
Object waitMessage
DHTMLSuite.dynamicContent
DHTMLSuite.dynamicContent()
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0
loadContent
void loadContent(divId,url,functionToCallOnLoaded)
Load content from external files into an element on your web page.
Parameters:
String
- divId = Id of HTML element
String
- url = Path to content on the server(Local content only)
String
- functionToCallOnLoaded = Function to call when ajax is finished. This string will be evaulated, example of DHTMLSuite.dynamicContent.prototype.string = "fixContent()";(with the quotes).
setCache
void setCache(enableCache)
Cancel selection when drag is in process
Parameters:
Boolean
- enableCache = true if you want to enable cache, false otherwise(default is true). You can also send HTMl code in here, example an <img> tag.
setWaitImage
void setWaitImage(newWaitImage)
Specify an image to show when Ajax is busy working.
Parameters:
String
- newWaitImage = New wait image ( default = ajax-loader-blue.gif - it is by default located inside the image_dhtmlsuite folder. - If you like a new image, try to generate one at http://www.ajaxload.info/
setWaitMessage
void setWaitMessage(newWaitMessage)
Specify which message to show when Ajax is busy.
Parameters:
String
- newWaitMessage = New wait message (Default = "Loading content - please wait") - use false if you don't want any wait message
Documentation generated by
JSDoc on Mon Oct 8 10:17:27 2007