sfraise Posted April 26, 2010 Share Posted April 26, 2010 Hi, I'm trying to rotate java based ad scripts in real time on my chat page since people spend hours on that page and a static ad gets stale fast. Obviously trying to load a java script within a java script is about impossible so I thought ajax would be the answer to this issue, problem is I don't know jack about ajax lol. It would be simple if I was trying to rotate on page load, but I need these ads to rotate in real time without reloading the page as people spend hours in chat without reloading the page. Does anyone know of any free open ajax scripts I could use for this, or at least point me in the right direction to attempt to build one myself? Quote Link to comment https://forums.phpfreaks.com/topic/199832-trying-to-find-a-real-time-ad-script-rotator/ Share on other sites More sharing options...
jdavidbakr Posted April 28, 2010 Share Posted April 28, 2010 I'd start by looking for a javascript prototype that makes sense to you - I use MooTools but jQuery has less of a learning curve and lots of folks use that too. That will give you lots of built-in functionality and should be able to do what you're wanting to do very easily, plus will give you lots of tools to do stuff with in the future. Quote Link to comment https://forums.phpfreaks.com/topic/199832-trying-to-find-a-real-time-ad-script-rotator/#findComment-1050177 Share on other sites More sharing options...
Kizzie33 Posted June 6, 2010 Share Posted June 6, 2010 couldnt you just put the add in a iframe then put the add on a differnt page on its own and get the js to keep realing it ever x amount of time Quote Link to comment https://forums.phpfreaks.com/topic/199832-trying-to-find-a-real-time-ad-script-rotator/#findComment-1068656 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.