How do I add a flash banner in my logo?

Requested and Answered by Carnuke on 2005/1/16 10:58:25

How do I add a flash banner in my logo?

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

This Q&A was found on XOOPS Web Application System : https://xoops.org/modules/smartfaq/faq.php?faqid=365