このページは2007年 10月 22日, 21:17に更新されました by BrigetteK

Widgetbox

From $1

This library contains functions for embedding WidgetBox widgets.  関連リンク: Extension Overview, DekiScript Overview, Extension Demos.

Assembly: mindtouch.deki.services
SID: http://services.mindtouch.com/deki/d...7/06/widgetbox

Functions:

  1. widgetbox.panel
  2. widgetbox.widget

widgetbox.panel(id : str) : xml

Embed WidgetBox panel.

Parameters:

Name Type Description
id
str
Script panel ID.

Remarks:

To get started, go to Widgetbox.com, find a widget you like, and customize its settings.  Once you are done, click on "Get Widget" and a small panel will show up.  Click on "Get Widget Code" and copy/paste it into your favorite text editor.  The result will look like this:

<script type="text/javascript" 
 src="http://widgetserver.com/syndication/subscriber/InsertPanel.js?panelId=172c1af6-95cd-4e98-86e5-09e6ffd77877">
</script>
<noscript>Get great free widgets at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript>

Now, select the widget code.  It starts at "?panelId=" and goes to the closing double quotes (").   Use this code when using the widgetbox functions.

Samples:


Output

To embed a comment widget:

{{widgetbox.panel("bcef9d3c-3030-436f-841d-ed28804335a7")}} 

./WidgetBoxPanel1.JPG

To embed a Global Giving campaign widget:

{{widgetbox.panel("a0cc2e3a-45e7-45b3-9e56-92bc0f7b463a")}} 

./WidgetBoxPanel2.JPG


widgetbox.widget(id : str) : xml

Insert WidgetBox widget.

Parameters:

Name Type Description
id
str
Script widget id.

Samples:


Output

To embed a LED text scroller widget:

{{ widgetbox.widget("91d81375-6dd5-45ba-8073-4da582ce1724") }}

./WidgetBoxWidget1.JPG

ファイルサイズ日付添付したユーザ 
 WidgetBoxPanel1.JPG
説明なし
9.77 kB2007年 10月 22日, 20:54BrigetteKアクション
 WidgetBoxPanel2.JPG
説明なし
11 kB2007年 10月 22日, 20:54BrigetteKアクション
 WidgetBoxWidget1.JPG
説明なし
12 kB2007年 10月 22日, 21:13BrigetteKアクション
コメント(0)
あなたはコメントを投稿するには ログイン しなければなりません。