Creates an "Add This" (www.addthis.com) link on the browser page allowing the user to share on Twitter, via email, print, FaceBook, etc.
O4WAddThis( id, userId, displayText, styleInfo )
The function has the following parameters:
Parameter | Description | |
---|---|---|
id | Contains the unique ID to use for the addThis link. | |
userID | The optional sharethis user ID (used if tracking analytics information) | |
displayText | The text to show (defaults to "Bookmark and Share") | |
styleInfo | Contains any O4W style information (specifically height and width) that might be applied to the addThis graphic. |
If the addThis link is not going to be displayed during the create event, users should still call O4WAddThis() with no parameters to initialize the control during the create event.