thoughts on making a widget?

Posted by Haroldo on Stack Overflow See other posts from Stack Overflow or by Haroldo
Published on 2010-05-28T15:02:01Z Indexed on 2010/05/28 16:21 UTC
Read the original article Hit count: 168

Filed under:
|
|

I'm only going to be able to get each site that wants my widget, to copy and paste the code block in once..

So it needs to be really future proof.

I've thought about this for a while and this is the widget code i've come up with :

<script type="text/javascript" src="http://www.mydomain.com/my-future-proof-widget.js"></script>
<div id="mywidget"></div>

would this be the best plan?

could this create any limitations?

any other thoughts on widgetry?!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html