Help with flash header!

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
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Help with flash header!

Post by duplay »

Does nayone know how to add flash for a header. I assumed i could just upload the flash and replace the image header name with the name of my flash in the template, but that did not work. anyone doing this?
fardeen

Re: Help with flash header!

Post by fardeen »

Edit your template :




PUT HERE THE CODE OF YOUR FLASH (...)

User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Help with flash header!

Post by duplay »

dont you mean edit the sytlesheet where it has the logo? I didnt see a part on the actual template that had a header.
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Help with flash header!

Post by duplay »

This is the spot i was messing with in the stylesheet. I uploaded the swf and replaced the logo.gif with it.

  /* HEADER */
        div#header {
            margin: 0;
            padding: 0;
            height: 80px;
            background: #d1c3a3;         
            text-align: left;
        }
        div#header h1 a {
            background:  url(uploads/images/) no-repeat 0 12px;
            display: block;
            height: 80px;
            text-indent: -700em;
            width: 198px;
            margin: 0;
            padding: 0;
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Help with flash header!

Post by duplay »

Also, you say put the code of flash here? I am uploading my .swf header to the images folder and just replacing the path to the old icon from cms with the path to my flash .swf file. is this correct
?
mustis

Re: Help with flash header!

Post by mustis »

Hi
I think you have to do this in the template, not the css.... not sure.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with flash header!

Post by Dr.CSS »

found this on someones very nice site! fardeen (a member) http://fardeen.info/westbrome//index.php?page=43
     
     

     
     
yes i believe it is in the template,, notice you have to call the flash player. i've done it before as a test but forgot how i think i just copied some thing like this and mod. it for my .swf,, hieght,, width,, etc.
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Help with flash header!

Post by duplay »

I get the above code, however, dont i need to place my flash up on the surver? How do i do that and tell the code above the path?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with flash header!

Post by Dr.CSS »

duplay wrote: Also, you say put the code of flash here? I am uploading my .swf header to the images folder and just replacing the path to the old icon from cms with the path to my flash .swf file. is this correct
?
value="header_westbrome.swf
try replacing this with yours, it looks like he put his in the root of his site so you might have to change the path,,value="uploads/images/???.swf, and change any width and height sizes to the size of your flash or the size you want it to be, you will have to play with the sizes to get what you want.

HTH
        mark
Post Reply

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