Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • profit613 Friend
    #135150

    I am trying to add a flash (swf) file to the header instead of using a background image. I’ve tried adding it to the index.php file but it doesn’t show up.

    Can anyone show me how to go about doing this.:-[

    Anonymous Moderator
    #278413

    Hi ,

    Open file index.php in templatesja_villadi folder, find code string about line 58:

    <h1>
    <a href=”index.php”>
    <img src=”<?php echo $tmpTools->templateurl();?>/images/logo-<?php echo $tmpTools->getParam(JA_TOOL_COLOR);?>.jpg” alt=”<?php echo JURI::base();?>” />
    </a>
    </h1>

    Replace this string to code:

    <embed src=”link to flash file” type=”application/x-shockwave-flash” height=”110″></embed>

    if you don’t want to display background on the top header, you open file template_css.css in templatesja_villadicss folder, find #ja-header class:

    #ja-header {
    margin-top: 8px;
    clear: both;
    text-align: left;
    line-height: normal;
    height: 110px;
    position: relative;
    background: url(../images/header-bg.jpg) no-repeat top left;
    }

    replace to:

    #ja-header {
    margin-top: 8px;
    clear: both;
    text-align: left;
    line-height: normal;
    height: 110px;
    position: relative;
    /*background: url(../images/header-bg.jpg) no-repeat top left;*/
    }

    profit613 Friend
    #278476

    Worked perfectly!! Thanks alot.

    This is probably a dumb question: Since my flash header spans the total width of the template it has covered up the search module. Is there any way to get the search module to show on top of the flash in it’s original location?

    Any advice is greatly appreciated.

    Thanks again:)

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  profit613 16 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum