guides:o4w:o4w_api:o4waddthis

O4WAddThis routine

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:

ParameterDescription
idContains the unique ID to use for the addThis link.
userIDThe optional sharethis user ID (used if tracking analytics information)
displayTextThe text to show (defaults to "Bookmark and Share")
styleInfoContains 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.

  • guides/o4w/o4w_api/o4waddthis.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1