is it possible to place a flash file (SWF) in the header area. I can place PNG images in the header and they show up just fine, but swf file does not show up? anything else i need to do besides making the changes in fusion-acquia-marina-style.css and uploading my swf file in correct directory?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jeremycaldwell’s picture

Status: Active » Fixed

You can load a .swf in a block and place it on your site but be sure to change the input formats (/admin/settings/filters) for it to allow the embed code or however you plan on loading it.

This post might be helpful as well: http://drupal.org/node/305940

Desi Raaj’s picture

i know that i can do that, but it makes the header area larger than it should be, but i want to place the swf file in #header-group-wrapper

this is what i have right now
#header-group-wrapper {
background: #FFF url(../images/top-banner.png) no-repeat center;
}

check out the attachment for the image...i would like an swf file there instead (i'm hoping i made my self clear :P)

jeremycaldwell’s picture

Status: Fixed » Active

Gotcha, still need to place the block in the header area but then like you said the header is then too big. Once you have the block in place you can write some CSS to change the height of the wrapping div and set it to "overflow: hidden;" so it makes it that height and sticks to it.

If you can provide us with a link to your site and place the block in the "Header" region I can try to suggest some specific CSS that might help you out.

goody815’s picture

Status: Active » Closed (fixed)

marking as fixed/closed as there were no replies to eternalistic's solution from July 2010

nellngun’s picture

Same problem, can somebody send a code please !!!