Wednesday, August 06, 2008

Ad Server with AJAX

Normally, JavaScript document.write is used by ad servers to write the ad code directly into the page (AdSense, AdSpeed, OpenX, etc.) To reload ads automatically without a page reload, we use AJAX with JSONP (JSON with padding). Partial content reloading uses DOM to update the content. jQuery 1.2.x has this built-in, or you can write your own library.

Labels:

0 Comments:

Post a Comment

<< Home