PDA

View Full Version : Help with flash banner code


thcf
09-09-2009, 04:10 PM
Hey all! i am using this php code to rotate banners on my forum

http://www.vbulletin.com/forum/showpost.php?p=1050537&postcount=1

But i need the code to use a swf banner, thanks

i am not a coder i tried this and got errors

$random_banner[5] = '<a href="http://www.website.com" target="_blank"><object width="550" height="400"><param name="movie" value="ss.swf"><embed src="ss.swf" width="468" height="60"></embed></object>

Brother Malachi
09-09-2009, 09:01 PM
I've never seen anyone wrap <a> tags around an embeded object. You have to make the link internally.