View Full Version : load iframe every 3 minutes

12-06-2009, 12:35 PM
Hi everyone,

I run a streaming site and would like google adsense to appear at the bottom of the page/stream every 3 minutes, stay for 15 seconds and then close automatically. Then after another 3 minutes they'd appear again, stay for 15 seconds and then close again, etc, etc.

I'd imagine having the adsense in an iframe would be easier.

I'd also like to give users the option to close the adsense using a close button at the top of the iframe if they don't want to wait 15 seconds.

Is this possible?

12-06-2009, 04:59 PM
That sounds fairly easy

function hideIframe() {
//close iframe

function showIframe() {
//show iframe

//assign 'button' to your close button