This is a complex process that required PHP as well as javascript(with or without jQuery) http://www.webreference.com/programming/javascript/jf/column6/ http://www.brettb.com/js_banner_ad_rotator.asp
use setTimeout(); function in javascript ex: <...jqueryframework call.../> <script type="text/javascript"> var ad_count = 1; function reloadAd(){ if(ad_count == 1){ $("#adSample").attr("src","ad2.html"); ad_count = 1; }else{ ad_count = 2; $("#adSample").attr("src","ad1.html"); } setTimeout("reloadAd",10000); } reloadAd(); </script> <body> <iframe id="adSample" src="ad.html"></iframe> Code (markup): ....