Back To Desktop

Developer GuideWidgetop supports Apple Dashboard widgets and hosts everything online in a web desktop.
Widgetop enables developers to reuse their existing widget HTML, CSS and Javascript code and API knowledge to publish their widgets for the Web 2.0.
if (widget.MyPluginObject) ...
file://
<script src=".." .../>to
<script src=".."></script>
document.getElementById("theElement")
instead of
document.theElement
window.eventbut use the event parameter in your event handler code:
element.onmousedown=function(event){..}
event.clientXinstead of
event.xto access the mouse coordinates.
/System/Library/WidgetResources/(like buttons, scrollbars, and sliders)
body.onloadis called twice. Only on the second call:
window.widgetis set
/System/Library/WidgetResources/
window.widgetform there.
if (window.widget) {..} before you setup the widget.
<canvas></canvas>instead of
<canvas/>
This button can be placed on your developer web pages for each widget and linked via a unique URL to automatically launch widgets on the Widgetop Web Desktop and place them in the users favorites list.
Steps to include for each widget you want to promote on your web page:
For any technical questions please contact us on: developer@widgetop.com
