View Single Post
Old 03-19-2012, 04:34 PM  
RazorSharpe
Confirmed User
 
RazorSharpe's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
You'll need to wrap it up in javascript, something like this if you're rotating flash banners:

Code:
<script type="text/javascript" src="/externals/swfobject.js"></script><script type="text/javascript">var so = new SWFObject("http://yourdomain.com/phpadsnew/adimage.php?filename=f55.swf&amp;amp;contenttype=swf&amp;amp;clickTAG=http://yourdomain.com/phpadsnew/adclick.php%3Fbannerid=90%26zoneid=8%26source=%26dest=http%3A%2F%2Fwww.yourdomain.com%2Findex.php", "flash", "230", "172", "7", "#ffffff");so.addVariable("redirectURL", "http://yourdomain.com/phpadsnew/adclick.php?bannerid=90&amp;zoneid=8&amp;source=&amp;dest=http://www.yourdomain.com/index.php");if (so.installedVer.major >= 8) {so.write("flash");} else {document.write('<a href="http://yourdomain.com/phpadsnew/adclick.php?bannerid=90&amp;zoneid=8&amp;source=&amp;dest=http://www.yourdomain.com/index.php"><img src="/phpadsnew/alt_content/f55.jpg" alt="Please update your flash player" /></a>')}</script>
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
RazorSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote