hello i am new to caja
how to get the compiled caja for banners.. a banner could come in many ways for example: [1] <!--Affiliate code start here --> <a href="http://track.xxxxxxxxxxx" target="_blank"> <img alt="" border=0 src="http://bxxxxxxxxxx.jpeg" /></a> <img alt="" border=0 src="http://track.xxxxxxxxxxxx" style="visibility: hidden;" /> <!-- Link to second generation --> <div style='width:120px; height:13px; background-color: #e8e8e8; color: black; font-weight: bold;text-align: center;'><a href='http://www.xxxxxx' style='color: black;text-decoration: none;font-size: 11px;font-family: ariel;'>xxx</a></div><!-- End of WeSell Affiliate code --> OR [2] <script type="text/javascript" src="http://track.clickon.co.il/sz/X2mglttyMMtyB5y/s?noref=1"></script> <noscript> <iframe src="http://track.clickon.co.il/sz/X2mglttyMMtyB5y/h?noref=1" width="120" height="600" frameborder="0"></iframe> </noscript> so i have tried this code for the first example(not working) <script type="text/javascript" src="//caja.appspot.com/caja.js"> </script> <div id="guest"></div> <script type="text/javascript"> caja.initialize({ cajaServer: 'https://caja.appspot.com/', debug: true }); caja.load(document.getElementById('guest'), undefined, function (frame) { frame.code( function () { var r = '<a href="http://track........." target="_blank">' + '<img alt="" border=0 src="http://banners............jpeg" /></a>' + '<img alt="" border=0 src="http://track..........." style="visibility: hidden;" />' + '<div style="width:120px; height:13px; background-color: #e8e8e8; color: black; font-weight: bold;text-align: center;"><a href="http://www.............." style="color: black;text-decoration: none;font-size: 11px;font-family: ariel;">WeSell רשת שותפים</a></div>'; document.getElementById('guest').innerHTML(r); } ) .run(); }); </script> the only working example on tutorial was using js functions.. but what if its only having html tags and or script tags..?? -- --- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
