The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
swf banner help
i am using this code to rotate banners in my header
Code:
$random_number = rand(1, 4); $random_banner[1] = '<a href="http://www.treatingyourself.com" target="_blank"><img src="http://www.domain.com/forums/banners/Untitled-468x60.jpg" alt="" border="0" /></a>'; $random_banner[2] = '<a href="http://www.dnagenetics.com/" target="_blank"><img src="http://www.domain.com/forums/banners/dna.gif" alt="" border="0" /></a>'; $random_banner[3] = '<a href="http://shop.studiotermini.com" target="_blank"><img src="http://www.domain.com/forums/banners/karl.jpg" alt="" border="0" /></a>'; Code:
$random_banner[4] = '<a href="http://www.aqualabtechnologies.com/" target="_blank"><img src="http://www.domain.com/forums/banners/aqua.swf" alt="" border="0" /></a>'; |
#2
|
||||
|
||||
Flash objects cannot be displayed using an image tag. You must use the object tag. Google will describe the use of this tag.
|
#3
|
|||
|
|||
Quote:
I'm looking at doing a rotating banner which auto rotates without refreshes, works simply by showing a banner for so many seconds then moving onto the next one, Been working on my site for 18hrs no probs http://www.ukbusinesslive.co.uk/forum Only 4 test banners at the moment, i think i have it set for about 8 seconds, That what you can show more ads and increase impressions for paid advertisers or if you have an affiliate account, more chances of a click through. Take a look and let me know what you think, is a small easy hack to add, I'll email you the link later when i release it in the mod forums To answer your question you need to use a bit of html code like this for flash banners Code:
<object type="application/x-shockwave-flash" data="images/your-banner.swf" width="468" height="60"> <param name="banner" value="http://www.domain.com/forums/banners/aqua.swf" /> <param name="menu" value="false" /> <param name="quality" value="autohigh" /> </object> Not sure 100% but you could try this Code:
$random_banner[4] = '<object type="application/x-shockwave-flash" data="images/your-banner.swf" width="468" height="60"> <param name="banner" value="images/your-banner.swf" /> <param name="menu" value="false" /> <param name="quality" value="autohigh" /> </object></a>'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|