LdWidgetUid widget

From WidgetAvenue Wiki

Jump to: navigation, search

Contents

Why use this function?

Whereas standard footer links are provided, developers may want to have customized layouts and features instead.

Summary

This function provides several methods to get information about the widget, returning an XHTML text string.

Syntax

ldWidgetUid_widget(method, param,destNode, waitFunctionName,callbackFunctionName)

where

  • method is the name of the method to be used. One method is supported at this time:
    • getChicklets
  • destNode is the className of the destination node
  • param is a url encoded query string, with arguments specific to each method:
  • waitFunctionName is a string representing the name of a function to be executed every 50 ms until the response is received
  • callbackFunctionName is a string representing the name of a callback function to be executed

For example:

ldWidgetUid_widget('getChicklets', 'id=goo,uwa,hi5&hi5=xxxxxxx','ldWidgetContent', '','myCallBack')

Methods

param return
getChicklets - id: ids of platforms separated by ","; if omitted, all platforms will be returned
-
Example:
id=goo,uwa,hi5
XHML
Personal tools