Problems getting .swf flash banner to work

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
morten444
Forum Members
Forum Members
Posts: 13
Joined: Fri Sep 26, 2008 2:03 pm

Problems getting .swf flash banner to work

Post by morten444 »

Hi
I am trying to get a flash banner to work on my website : www.itfixing.com
no luck so far

I found another post:
http://forum.cmsmadesimple.org/index.ph ... #msg119027

I have tried to follow this by uploading the function.object.php to my plugin folder

It then said i had to use the following code:
{object src='swf/homepage_banner.swf' height='200' width='900' class='flashplayer'}
{object src='swf/homepage_banner.swf' height='200' width='900' param='quality::high||bgcolor::#ffffff' alt='Download Flash Player'}
I am quite new to this and i was trying to find out where to write this code.
I found a stylesheet called "Layout: Left sidebar + 1 column". That is the one I use

Somewhere down the page i found the section where the old logo was written in.
This i now changed to reflect the code above:
}

div#header h1 a {
/* you can set your own image here */
/  background: #385C72 url(images/cms/itfixingheader1.jpg) no-repeat 0 12px;
/  display: block;
/  height: 80px;            /* adjust according your image size */
/  text-indent: -999em;  /* this hides the text */
/  text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */

{object src='images/cms/itfixingheader1.swf' height='200' width='900' class='flashplayer'}
{object src='images/cms/itfixingheader1.swf' height='200' width='900' param='quality::high||bgcolor::#ffffff' alt='Download Flash Player'}
}
I have removed the old code and written in the one suggested, but I am sure i do not do this right.

Any idea why its still not working

Kind Regards
Morten
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problems getting .swf flash banner to work

Post by Dr.CSS »

It didn't mention that code most times goes in the template where you want the flash to appear?...

You will want to take the call in the CSS for the header a image as it will try to be in the same place, and adjust the header height to the size of the flash...
Post Reply

Return to “Layout and Design (CSS & HTML)”