« AMP, AJAX for Java API | Main | Online Ajax "desktops" try to change the rules of the game »

Rotating Ads with AJAX

Stoyan have written an interesting script to Rotate Banners using AJAX. In the server side you can send your banners as images, flash, text or HTML, and the Javascript will simply do the rotation. what I found intersting is that Stoyan have joigned the rotation time with the banner itself so the display time could be different from an ad to another. The script is great to rotate ads on a single website, if you want more you'll common problem of AJAX Request from remote server.

So here's the case: rotate ads on a website, even when the page is not reloaded. If the chances are that the visitor will spend more time on a page, it makes sense to opt-in for displaying more than one ad at one page load. I've done this in the past using iframes, but hey, it's 21st century (the last time I checked) and we have AJAX! ;)

I also wanted to have the flexibility to display any ad type, which means I should be able to rotate pieces of HTML, rather than just images. Using HTML chunks, the ad can be an image, or formatted text, or swf, etc.

I want to point that Stoyan is running The Invisible Ad website, his AJAX vision of the Million Dollar Homepage where he sell pixels but this time invisible. You have to Move your mouse on the grid, and when you rest it on the full squares an advertisement is loaded.

Bookmark this article at these sites
TrackBack
Links to weblogs that reference Rotating Ads with AJAX:

» Web 2.0 Validator : Is you website web2 enough ? from Sr-ultimate.com
Recently I stumbled upon this new website, Web 2.0 Validator. It claims to validate a website for its web2ness , This looks for usage of prototype.js in your website which is a common file used by web 2.0-ers. We want to make this easy but if you don&... [Read More]

Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):