SmartFAQ is developed by The SmartFactory (, a division of InBox Solutions (

How do I add a flash banner in my logo?
  Requested and Answered by Carnuke on 2005/1/16 10:58:25     14884  reads 
This is the code that should be inserted in the theme.html file, probably between the first <td></td> tags in the body. ie where the logo goes.

<table cellspacing="0" id="top">
tr><td class="slogan" colspan="2"><{$xoops_slogan}></td></tr>
tr id="header">
td id="headerlogo">
OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,0,0" WIDTH="500" HEIGHT="110" id="logo" ALIGN="">
PARAM NAME=movie VALUE="<{$xoops_imageurl}>logo.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="<{$xoops_imageurl}>logo.swf" quality=high bgcolor=#FFFFFF  WIDTH="500" HEIGHT="110" NAME="logo" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE=""></EMBED></OBJECT>

That code will work as long as the swf file is named "logo.swf" and is placed in the same folder as the theme that they are using if not then the

EMBED src="<{$xoops_imageurl}>logo.swf"

has to be changed to...

EMBED src=""

same as this section

PARAM NAME=movie VALUE="<{$xoops_imageurl}>logo.swf">

that be changes with the url pointing to the file location of the swf file

hope that helps


The comments are owned by the author. We aren't responsible for their content.

 How do I add a flash banner

There are some ways to do this. Here is one:

Taken from: (spanish)

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" id=index width=773 height=226 codebase=",0,0,0"> <param name="movie" value="">
<param name="quality" value="high">

<param name="play" value="true">
<param name="loop" value="true">
<param name="bgcolor" value="#FFFFFF">
var ShockMode = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
if (navigator.plugins && navigator.plugins["Shockwave Flash"])
ShockMode = 1;
} if (ShockMode ) {
document.write('<embed src=""');
document.write(' width=773 height=226 bgcolor="#FFFFFF" quality="high" loop="true"');
document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="">');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)) { document.write('<IMG SRC="nonflash.gif" width=773 height=226>');
</SCRIPT><NOEMBED><IMG SRC="nonflash.gif" width=770 height=120 BORDER=0></NOEMBED><NOSCRIPT><IMG SRC="nonflash.gif" width=773 height=226 BORDER=0></NOSCRIPT></OBJECT>

You have to change the flash-name/url and width/height, then it will run.

Put it in the body-section where you like to see it.



Make sure that the swf file is named logo.swf and also placed inside the folder where your theme.html folder is otherwise you just have to change the section telling it where to look for the file of the swf but its a lot easier if you place the swf file in the same folder as your theme.html folder.

regards kiwiguy


 Re: How do I add a flash banner

I try to copy that and put it in the ad banner and mark the htlm but id dont work..why??

I have this progarm Anim-Fx and it generate a hltm code

Look like this for the banner i make

<object classid=clsid27CDB6E-AE6D-11cf-96B8-444553540000
<param name=movie value=ping.swf>
<param name=quality value=high>
<param name=BGCOLOR value=#000000>
<param name=SCALE value=showall>
<embed src=ping.swf
pluginspage= type=application/x-shockwave-flash
scale= showall>

The pogram make a swf and a text file and it say i shal put it ind the same plays.

I put the 2 fiels in /images/banners/

its still not work.

Plese help me

Sry for my pure english


 Re: How do I add a flash banner

"value=" and "src=" need to be full path to the file.


 Re: How do I add a flash banner

Can you make the html so it be right and post it her




Lost Password? Register now!

Who's Online

55 user(s) are online (1 user(s) are browsing XOOPS FAQ)

Members: 0

Guests: 55



Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

you can change the 'Register now link' to open another page?

Random question

How do I make a collapsible outline?