Table of contents
Wildfire.initPost()
Initializes the Wildfire post module for the first time and draws its SWF in the specified container on the page.
Parameters:
partnerID – The partner ID as assigned by Gigya
containerID – A string with the ID of the container element where Wildfire will be drawn
Width – The width, in pixels, of Wildfire
Height – The height, in pixels, of Wildfire
pconf – A configuration object to be used for initializing the widget
Return Value: None
Wildfire.renderPostButton()
Creates a Wildfire button. When clicked, Wildfire post module is displayed in a generated floating div near the button.
Parameters:
partnerID – The partner ID as assigned by Gigya
Width – The width, in pixels, of Wildfire
Height – The height, in pixels, of Wildfire
pconf – A configuration object to be used for initializing the widget
btnURL– A URL to a custom button image, if you wish to substitute the provided button image.
Return Value: None
Wildfire.<containerID>.applyConfig()
Applies a new configuration object to a previously initialized Wildfire post module. This method is intended for use when the content that you want your user to post is either not available at the time when initPost was executed or has changed after the initialization.
The <containerID> should be replaced withe containerID that was used in the initPost() call for this specific instance of Wildfire. For example if the <DIV> that contains Wildfire has the ID "divWildfirePost", the method should be called as follows:
Parameters:
pconf – A configuration object to be used for re-initializing the widget.
Return Value: None.

Comments