Thread: FLASH in Header

Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: FLASH in Header

    Suggest to read related topics in FAQ first, this will give better understanding and save times in long term.
    Template Customization/ Building Overrides

    How do I set up the template overrides?

    .
    A New Starter again

  2. #12
    Join Date
    Nov 2006
    Location
    Caracas
    Posts
    114
    Plugin Contributions
    0

    Default Re: FLASH in Header

    I have a question a write the javascript but still el activate box is display


    I didnt make a external file .because I only want to test Is it a must ?.

  3. #13
    Join Date
    May 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: FLASH in Header

    Quote Originally Posted by TinaS View Post
    OK Step by step....

    You created the Javascript file paragone.js and you upload it to includes/templates/YOUR_TEMPLATE/javascript

    Then you have the code to embed the javascript.
    Simply find this code (in the file includes/templates/YOUR_TEMPLATE/common/tpl_header.php) :

    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
    <?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php
    }
    ?>
    <?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
    }
    }
    ?>
    </div>
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>

    And replace it with your javascript call from the instructions I pointed you to earlier.

    Does that make more sense ?
    Hi, I wonder where to place the javascript code. I guess something like <li> javascript included here </li>

    Also, need to delete the header picture, since the flash header needs to replace it. Not sure which part to comment out though

  4. #14
    Join Date
    Oct 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: FLASH in Header

    I don't even bother. I edit the original files because creating subfolders is a royal pain.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Flash Header
    By igendreau in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Mar 2010, 08:40 PM
  2. Change header to flash header
    By bettsaj in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Jul 2009, 01:59 PM
  3. flash as header
    By koenvandamme in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 25 Mar 2009, 05:19 PM
  4. Flash Header/ Font Header make changes to...
    By SolarTrees in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 12 Jul 2007, 07:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg