BlogMatrix
 

Customizing Onaswarm widgets

edit David P. Janes 2008-01-13 13:10 UTC add comment  ·

If the Onaswarm widget isn’t suitable for your needs, youcan now customize it using your own CSS commands.

First, here’s the URL to get the “raw” widget code:

http://dpjanes.onaswarm.com/index.widget

Obviously you’ll want to change “dpjanes” to whatever youraccount is. If you open that page using “View Source” you’ll be able to see theCSS commands were currently use. You’ll probably want to use that as the basisfor your CSS.

To add your CSS, just add ‘?:css=<css-url>’ to the URLand it will remove our CSS and add a pointer to yours.

There are several other options too:

  • add ‘:raw=1’ to remove the HTML HEAD and BODY stuff
  • add ‘:jsonp=<function>’ to covert the HTML to a jsonp function call

Note: this will be in tomorrow’s update (14 January 2008)

Add Comment