Okay thanks. Problem solved ;) On 24 Nov., 01:14, Aran Rhee <[email protected]> wrote: > Why would having a div tag which is specific for placement of your ads ruin > your design? Every site which runs ads defines certain real estate on the > page for certain ad sizes etc. How were you going to layout your page / > decide WHERE you ads are going? > > Anyhow, using your orginal SWFObject 1.x notation you could do it like the > below. I am really unsure WHY you want to do it like this, but hey, it's > your site... > > <html> > <head> > <script type="text/javascript" src="swfobject.js"></script> > </head> > <body> > > <script type="text/javascript"> > var str = "<div id='ad728'></div>" + > "<script type='text/javascript'>" + > "var so = new SWFObject('swfFile.sw', '728x90', '728', '90', '8', > '#000000');" + > "so.addParam('quality', 'high');" + > "so.addParam('base', '../bloodbowl/');" + > "so.addParam('wmode', 'transparent');" + > "so.addVariable('clickTAG', 'http://www.bloodbowl-game.com');" + > "so.write('ad728');" + > "<\/sc" + "ript>"; > document.write(str); > </script> > </body> > </html> > > Aran
-- You received this message because you are subscribed to the Google Groups "SWFObject" 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/swfobject?hl=en.
