Or make it "post"
-------------------------------------------------- From: "John" <[email protected]> Sent: Wednesday, March 23, 2011 6:15 PM To: "Prototype & script.aculo.us" <[email protected]> Subject: [Proto-Scripty] help for a newbie with Ajax.PeriodicUpdater
Hi I need an 'advert rotator' for a new site I'm working on, the idea is that a page load triggers an ajax event to periodically request random new ad banners from a PHP process on the server. Everything works fine on Firefox3.6.16, Chrome 10.0.6 etc bit not on IE RC either full strength or compatibility mode (Works just once, wont fetch another ad). I'm at a loss as where to start debugging this set-up. The js code I'm using is minimal and is as follows: Event.observe(window, 'load', adserve); function adserve(){ new Ajax.PeriodicalUpdater( 'advert', '/ajax/adserve.php', { method: 'get', frequency: 5, decay: 1} ) }; This is included in an 'adserve.js' file which is included in my HTML using a script tag. Any assistance will be greatly appreciated. TIA - John --You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
-- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
