[Elements] are optional
Class SAPO.Widget
class
SAPO.Widget
requires SAPO
SAPO Widget class : all widgets should be subclasses of this one
Defined in
Widget/lib.jsInclusion link: http://js.sapo.pt/SAPO.Widget/
Sample: http://js.sapo.pt/SAPO.Widsample/
Nested Class Summary
Widget to show latest post from you blog
Deprecated - now at SAPO.Component.Contextmenu
Deprecated now at SAPO.Component.Dialog
Widget to show the latest headlines on a SimpleSlide
requires SAPO.Widget.SimpleSlide 1.0
requires SAPO.Communication.Syndication
requires SAPO.Widget.SimpleSlide 1.0
requires SAPO.Communication.Syndication
Allows to put a share widget on the known services like links sapo, delicious, google bookmarks etc, pdf export and send link by email
requires Prototype
requires SAPO.Utility.String
requires SAPO.Utility.Url
requires SAPO.Communication.Syndication
Function Summary
DOMElement
currentScriptElement()
returns the currentScriptElement;
returns a target container, if its not supplied or its a script tag appends a given object before the current scripttag
Function Details
function currentScriptElement
DOMElement
currentScriptElement()
returns the currentScriptElement;
function getTarget
DOMElement
getTarget(DOMElement String
target, [DOMElement
obj])
returns a target container, if its not supplied or its a script tag appends a given object before the current scripttag
Parameters:
target
[obj]