Class DHTMLSuite.infoPanel
Object
|
+--DHTMLSuite.infoPanel
- class
DHTMLSuite.infoPanel
Purpose of class: Transforms a regular div into a expandable info pane. (Demo)
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0
Method Summary |
void
|
addContentToPane(idOfPane,pathToExternalFile)
Replace content inside a pane with content from an external file.
|
void
|
addPane(idOfPane,labelOfPane,state,nameOfCookie,width)
Define a pane.
|
void
|
addStaticContentToPane(idOfPane,newContent)
Replace content inside a pane with some new static content.
|
void
|
init()
Initializes the script.
|
arrayOfPanes
Object arrayOfPanes
cookieNames
Object cookieNames
dynamicContentObj
Object dynamicContentObj
layoutCSS
Object layoutCSS
paneHeights
Object paneHeights
savedActivePane
Object savedActivePane
savedActiveSub
Object savedActiveSub
xpPanel_currentDirection
Object xpPanel_currentDirection
xpPanel_onlyOneExpandedPane
Object xpPanel_onlyOneExpandedPane
xpPanel_slideActive
Object xpPanel_slideActive
xpPanel_slideSpeed
Object xpPanel_slideSpeed
DHTMLSuite.infoPanel
DHTMLSuite.infoPanel()
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0
addContentToPane
void addContentToPane(idOfPane,pathToExternalFile)
Replace content inside a pane with content from an external file.
Parameters:
String
- idOfPane = Id of the element you want to transfor into a info pane
String
- pathToExternalFile = Relative path to file. The content of this file will be placed inside the info pane.
addPane
void addPane(idOfPane,labelOfPane,state,nameOfCookie,width)
Parameters:
nameOfCookie
- = Name of cookie for this pane, i.e. saving states
String
- idOfPane = Id of the element you want to transfor into a info pane
String
- labelOfPane = The label you want to set for this pane
Boolean
- State = Initial state of pane, expanded or collapsed(true = Expanded, false = collapsed)
Int
- width = Width of pane(Optional)
addStaticContentToPane
void addStaticContentToPane(idOfPane,newContent)
Replace content inside a pane with some new static content.
Parameters:
String
- idOfPane = Id of the element you want to transfor into a info pane
String
- newContent = New content. (Static html).
init
void init()
Initializes the script. This method should be called after you have added all your panes.
Parameters:
Object
- inputobject = Reference to element on web page.
Documentation generated by
JSDoc on Mon Oct 8 10:17:27 2007