SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

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="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,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="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
</td>


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="www.yoursite.com/filename.swf"


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

regards
kiwiguy


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

 How do I add a flash banner


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

Taken from: fam-online.org (spanish)

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" id=index width=773 height=226 codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=6,0,0,0"> <param name="movie" value="http://comunahost.net/fam/fam6.swf">
<param name="quality" value="high">

<param name="play" value="true">
<param name="loop" value="true">
<param name="bgcolor" value="#FFFFFF">
<SCRIPT LANGUAGE=JavaScript>
<!--
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="http://comunahost.net/fam/fam6.swf"');
document.write(' width=773 height=226 bgcolor="#FFFFFF" quality="high" loop="true"');
document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/">');
document.write('</EMBED>');
} 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.

 
user

 flash


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

 
user

 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
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,2,0
width=300
height=150>
<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
quality=high
pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash type=application/x-shockwave-flash
width=300
height=150
bgcolor=#000000
scale= showall>
</embed>
</object>

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

 
user

 Re: How do I add a flash banner


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

 
user

 Re: How do I add a flash banner


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

 


Login

Username:
Password:

Lost Password? Register now!

Who's Online

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


Members: 0


Guests: 55


more...

Donat-O-Meter

Stats
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?