On 26/07/2013 8:41, Salvador de la Puente González wrote:
Hello!

On 25/07/13 18:05,
[email protected]<mailto:[email protected]> wrote:

Hi!

Was curious on how you can display ads on a Firefox OS Privileged app?
Theoretically when a user taps on an ad, it should invoke the browser.

Wrap the ad into an anchor tag <a class="ad"
href="awesomedeals.com"></a>. And install an handler to invoke a web
activity to open the browser with the content of href attribute.

Or just set target="_blank" on the anchor tag. That should automagically
launch the browser for you, IIRC.

Best,

Antonio



Hope it helps!



Any tips or guide on how to do it? Would appreciate such feedback.

Thanks!

Best Regards


Aaron Cajes

Mozilla Rep in the Philippines
Mozilla Philippines Community

MozPH: www.mozillaph.org<http://www.mozillaph.org>
My site: www.aaroncajes.com<http://www.aaroncajes.com>






_______________________________________________
dev-b2g mailing list
[email protected]<mailto:[email protected]>
https://lists.mozilla.org/listinfo/dev-b2g



________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede
consultar nuestra política de envío y recepción de correo electrónico
en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send
and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g


________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar 
nuestra política de envío y recepción de correo electrónico en el enlace 
situado más abajo.
This message is intended exclusively for its addressee. We only send and 
receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to