Class Index | File Index

Classes


Class fsw.send

Send module. Handles the send button and related events.
Defined in: fsw.0.2.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
fsw.send.createBtn(containerId, target, options)
Create a FB "send" button Inserts a send button in the specified DOM element.
<static>  
fsw.send.sendBtn#bind(onSend)
Bind to "send" buttons' like/unlike events
Class Detail
fsw.send()
Method Detail
<static> fsw.send.createBtn(containerId, target, options)
Create a FB "send" button Inserts a send button in the specified DOM element. Containing element must have in ID.
Parameters:
{String} containerId
ID of the DOM element in which to insert the Send button
{String} target
URL to Like
options Optional
Additional information passed to the like button
{String} options.colorscheme
Default: light - Alts: dark
{String} options.font
Default: arial - Alts: lucida grande | segoe ui | tahoma | trebuchet ms | verdana
{String} options.ref
a label for tracking referrals

<static> fsw.send.sendBtn#bind(onSend)
Bind to "send" buttons' like/unlike events
var myButton = fsw.send.createBtn(containerId,target); 
myButton.bind(onSend);
Parameters:
{Function} onSend
callback when user "sends" using FB send button

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 13 2011 20:27:20 GMT-0400 (EDT)