Skip to main content
4 of 10
added 100 characters in body
Nathan Osman
  • 23.3k
  • 11
  • 61
  • 107

StackAd - An Easy Way to Display Open-Source Ads on Your Site/Blog

##Screenshot / Code Snippet

http://stackoverflow.quickmediasolutions.com/images/stackad.png StackAd demo available [here](http://stackoverflow.quickmediasolutions.com/stackad/test.html).

##About

StackAd pulls the answers from this question that have 6 or more upvotes and displays a random ad in the box. The code is provided as a .js file you can embed in your pages. The instructions are here.

###License

As is common with all of my open-source apps, I am going with the MIT license.

###Download

http://stackoverflow.quickmediasolutions.com/stackad/stackad.js <- This file can be hotlinked and has been minified to save bandwidth
http://stackoverflow.quickmediasolutions.com/stackad/stackad-source.js <- This is the source
http://stackoverflow.quickmediasolutions.com/stackad/test.html <- to see a demo
http://stackoverflow.quickmediasolutions.com/stackad/fancy.html <- to see an even better demo

###Platform

The code should work with any JavaScript enabled browser.


##Contact

I can be reached at [email protected]


##Code

The code is written in JavaScript and uses the Soapi.js wrapper for interfacing with the API.

Nathan Osman
  • 23.3k
  • 11
  • 61
  • 107