Thanks Massimo, Then I guess I would be doing this with an iFrame and some JSONP magic with jQuery
On Apr 27, 8:51 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > It depends on what you put in the iframe. You can put in there js code > that reload the add. Exactly how you would do without the iframe. If > you do it without the iframe your JS may conflict with the JS of the > page and the content of the add may conflict with the CSS. With iframe > you have more control. > > On Apr 27, 2:22 pm, Pystar <aitoehi...@gmail.com> wrote: > > > > > Hi mdipierro, > > So you would advise me to go along the lines of iframes? that means > > that the new ads would not appear on the website without the visitor > > refreshing the page? For example, how do I develop a widget like does > > 3rd party twitter widgets that display realtime tweets? > > > On Apr 27, 12:57 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > I will get a easier life with iframes because you completely decouple > > > embedding page with the embedded content so you will have complete > > > control on the latter. > > > > On Apr 26, 4:23 pm, Pystar <aitoehi...@gmail.com> wrote: > > > > > So Mdipierro, > > > > What do you suggest I use? > > > > > On Apr 26, 10:06 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > You can do jsonp (http://bob.pythonmac.org/archives/2005/12/05/remote- > > > > > json-jsonp/) but I am not sure it solves the same prpblem you want to > > > > > solve. > > > > > > On Apr 26, 3:41 pm, Pystar <aitoehi...@gmail.com> wrote: > > > > > > > Hi guys, > > > > > > I am developing an sms-to-web advertising platform and I am having > > > > > > some problems, here is how it works. Interested website/blog owners > > > > > > register on the platform,then any visitor to that website can then > > > > > > text a 140 character advert to a short code, the user's prepaid > > > > > > account gets deducted, and the revenue is shared between the Telecom > > > > > > company, the shortcode provider, the ad platform owner and the > > > > > > website > > > > > > owner. > > > > > > My Problem: I was thinking of using iFrames to display the ad's from > > > > > > the ad platform on registered 3rd party sites, but I would like to > > > > > > know if there was a better way of doing this. I was advised to use > > > > > > JSONP, can I do that with web2py? and does anyone here have any > > > > > > experience with this kind of stuff? > > > > > > Thanks Guys, > > > > > > Pystar, > > > > > > Logiclabs Inc, > > > > > > Lagos, Nigeria > > > > > > > -- > > > > > > Subscription > > > > > > settings:http://groups.google.com/group/web2py/subscribe?hl=en