• Subscribe in Bloglines
  • Add to netvibes
  • Subscribe in NewsGator Online
  • Add to Google
  • Instant Cognition Feed for Yahoo!
  • Add to Microsoft Live
  • Get updates in your Inbox:



Instant Cognition Feed

Stick It: I Made A Widget

Posted August 20th, 2007 by Clint

The Daily Stick

So, my wife has been getting into blogging. Her primary blog is "Naked Insight" (not that kind of naked! get your minds out of the gutter) which is focused on production and marketing in the Entertainment world. Her latest effort is "The Daily Stick" - a collection of memorable quotations. They might be funny, weird, disturbing or disgusting but they Stick with her so she puts them on a virtual sticky note for you. For whatever reason, this got me all jazzed up and I wrote this simple little widget that will display today’s Sticky on your site. It’s really a very simple JavaScript that takes today’s date and parses it into an image URL of today’s Stick.

So, if you think it’s fun, here’s the code to put it into your site (note, provided as-is with no guarantee or warranty):

Update:

Thanks to Derek Anderson over at the Widget Lab, I have updated the script today. Based on Derek’s recommendation I have added some size options to the Daily Stick Widget.

If you leave the id attribute as ‘dailystick’ (as in the above example) the image will be a thumbnail at 128×128 pixels.

Change the paragraph id to "mediumdailystick" and the image will be 200×200 pixels.

Finally, setting the id to "bigdailystick" will display the sticky note in all its glory at 300×300 pixels.

trackback | Explore posts in the same categories: daily stick, jpi |

8 Comments on “Stick It: I Made A Widget”

  1. Widgets Lab Says:
    August 21st, 2007 at 09:52:47

    [...] over at instantcognition.com has created this cool widget that looks just like the 3M stickies. They display memorable quotes on [...]

  2. Clint Says:
    August 21st, 2007 at 10:15:13

    Derek, thanks for the valuable feedback, I responded at your post

  3. Design for MySpace Says:
    August 21st, 2007 at 22:28:34

    Loved those sticky notes clint

  4. Clint Says:
    August 22nd, 2007 at 21:30:29

    thanks DFM!

  5. Will Says:
    August 30th, 2007 at 09:37:17

    Really, really nice looking. Good work.

  6. Andresus Says:
    September 24th, 2007 at 20:25:14

    hey great idea about the sticky notes, i was wondering to put ir on my blog in wordpress (free account) on the widgets page in a text one, but the codes doesnt seems to work here, any suggestions?. also i was wondering to use the widget to post the google adsense since its regular white-page-like its kind of boring and ugly haha, wel anyway thanks for the stickys!
    andrew.

    http://blaus.wordpress.com

  7. Sydney Hamed Says:
    October 16th, 2007 at 17:57:26

    This so cleaver and cool !!!! Thanks for sharing it with the world . I love it! Check out my blog sometime . Syd

  8. Clint Says:
    October 16th, 2007 at 18:08:22

    Thanks Syd. I took a look at your blog - very interesting stuff. My mother is currently teaching abroad in Egypt - you might like her blog - Hays Travelogue

    -Clint

Care to Leave A Comment?