I have done a search for flash banner and tried the following in order to get my flash banner working correctly and still I am clue less
The top of the page is called from the style.css and to my knowledge is not mentioned in the index.template.php
So in the index.template.php I added the following.
// Add Flash to a banner
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="576" height="117">
<param name=movie value="/AH_Halloween_2.swf">
<param name=quality value=high>
<embed src="/AH_Halloween_2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="576" height="117">
</embed>
</object></div>
</td>
</tr>
</table>
I get a parse error everytime I add it and can only not get it by taking that lone of code out. Can someone please tell me where I am going wrong or notice something wrong in the code?? Thanks for your help
you can't just plop plain html in a php file, you gotta echo it.
echo '
<code>
';
also note that as that code sits it will break your XHTML validation (which isn't important if you don't think it is). If theres any single quotes in the code ( ' ), they'll have to have a \ placed before them.
gi i add the code
echo '<object id="metal-1-layer" width="574" height="26"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="menumn.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale"/>
<param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><embed name="metal-1-layer" src="menumn.swf" quality="high" scale="noscale"
bgcolor="#000000" wmode="transparent" width="574" height="26"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>';
but only appear a blank space in the banner area its ok the code?
it looks alright. Its parsing if its not throwing an error, and if you're getting a blank space.
You might want to check your code and make sure its right
the code is fine , i think, i test in html page and work fine but when add in the smf dont appear the menu y add the code above the nav bar buttons