I have been reading around the forum on inserting a flash banner on the page. After reading this thread http://forum.cmsmadesimple.org/index.ph ... #msg119027 I uploaded the function.object.php file to my plugins folder and uploaded my swf file into my uploads folder.
I got the code as indicated on the Help page of the php file:
{object src='uploads/header.swf' height='300' width='800' class='flashplayer'}
{object src='uploads/header.swf' height='300' width='800' param='quality::high||bgcolor::#ffffff' alt='Download Flash Player'}
But this is where I haven't got a clue what to do next...
What do I change in my template and/or stylesheet to change my jpg banner to an swf?
[SOLVED] Flash banner
[SOLVED] Flash banner
Last edited by CMSmonkey on Tue Mar 03, 2009 2:31 am, edited 1 time in total.
Re: Flash banner -- Getting closer
So I am making changes to the template and stylesheet trying to get it to work.
When I change the [Panoramica] templates code of:
to
I finally see the header, but it drops my tabbed menu from the top of the page to under the header.
Here is the header's code from the stylesheet:
Can someone please tell me what to adjust so that the tabbed menu stays at the top?
Thank you.
When I change the [Panoramica] templates code of:
Code: Select all
<div id="header"><h1>This template is a Pixelhaus Studios original</h1>
Code: Select all
<div id="header">{object src='uploads/header.swf' height='299' width='739' class='flashplayer'}
Here is the header's code from the stylesheet:
Code: Select all
#header{
margin:0;
padding:0;
height:299px;
width: 739px;
background-image: url(uploads/Panoramica/header.jpg);
background-repeat: no-repeat;
float:left;
}
#header h1{
display:none
}
Thank you.
Re: Flash banner
Digging deeper into the issue....
In the Panoramica template, the header is an image contains a white area at the top and a white area at the bottom, each with their own gradient radiating from the image. (See the template here: http://themes.cmsmadesimple.org/index.p ... eturnid=63
I would like to be able to keep the white on the edges and only make the flash header the middle part, which takes up 740x230 of the 740x300 header.
Does anyone have any suggestions how I can do this? I am not an expert with css, or the templates, and help is deeply appreciated.
In the Panoramica template, the header is an image contains a white area at the top and a white area at the bottom, each with their own gradient radiating from the image. (See the template here: http://themes.cmsmadesimple.org/index.p ... eturnid=63
I would like to be able to keep the white on the edges and only make the flash header the middle part, which takes up 740x230 of the 740x300 header.
Does anyone have any suggestions how I can do this? I am not an expert with css, or the templates, and help is deeply appreciated.
Re: Flash banner
Nevermind - I got.
I created 2 extra DIVs, created the top and bottom images to mirror the originals, inserted the top and bottom images in each DIV, and created the middle DIV for the .swf one.
I created 2 extra DIVs, created the top and bottom images to mirror the originals, inserted the top and bottom images in each DIV, and created the middle DIV for the .swf one.

