Widget resources, widgets for download, tutorials and more at widgipedia.com
Popular Tags:

action adventure alfanet apple arcade blog blogs business cars clock dashboard drive flash free fun game games garageband google idvd ilife imovie iphoto islam iweb kpop mac macwidgets mario music news platform play puzzle search searchfree shoot sports strategy thedashboard tvwidgets websearch widget widgetindex widgettv
Log in to Widgipedia
The Widgipedia Forum : Web Widgets
Questions about web widgets, development, parametrization and deployment.
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
January 16, 2007 05:58AM

messageWhat are the parameter types?
The parameter types define the way they are passed to the widget. Available types are:

* Use in widget's URL - the parameter names and values will be appended to the widget's URL, for example:

<object data="http://path-to-widget?param1=val1&param2=val2">


* Use in widget's params - Flash and Java widgets accept parameters using <param> tags:

<param name="param1" value="val1">
<param name="param2" value="val2">


* Use in widget's FlashVars - Flash widgets accept a special parameter called FlashVars. This is sent as follows:

<param name="FlashVars" value="param1=val1&param2=var2">


* Use in widget's source - DHTML widgets can contain parameter placeholders in their source, such as:

Hello, ${param1}
or
Hello, {$param1}

At runtime, these occurences will be replaced with the parameter's actual value.

Parameters can be sent using multiple types.

  


Sorry, only registered users may post in this forum.
Check out our sister site Dealio for Cyber Monday Deals and Nordstrom Coupons.
This forum powered by Phorum.