Jump to content

HTML banner to be on top of main page


Recommended Posts

I have a flash html and has a folder as follows:

flash -> (header.swf)
images -> (image1, image2)
js -> (swfobjects.js, Terms.js)
sounds -> (mp3)
flash.htm


I want to put this html to my header.tpl and must be located at the top most but my problem is how to display it? I have no idea how to display the html. Please help thnx

Link to comment
Share on other sites

this is the code of my header.html


<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="We provide free flash templates, free templates, free flash header"/>
<meta name="keywords" content="free flash buttons, free templates, free flash header"/>
<!--BEGIN OF TERMS OF USE. DO NOT EDIT OR DELETE THESE LINES. IF YOU EDIT OR DELETE THESE LINES AN ALERT MESSAGE MAY APPEAR WHEN TEMPLATE WILL BE ONLINE-->        
[removed][removed]
<!--END OF TERMS OF USE-->
[removed][removed]
       [removed]
       var flashvars = {
       custom_xml_url : "custom.xml"
       };
       var params = {
       bgcolor: "#FFFFFF",
       scale: "noScale"
       };        
       var attributes = {};
       swfobject.embedSWF("flash/header.swf", "free-flash-header","540", "150", "9.0.0", "flash/expressInstall.swf",flashvars, params, attributes);
       [removed]


</head>
<body  style="margin:0;padding:0;">

    <!--BEGIN OF TERMS OF USE. DO NOT EDIT OR DELETE THESE LINES. IF YOU EDIT OR DELETE THESE LINES AN ALERT MESSAGE MAY APPEAR WHEN TEMPLATE WILL BE ONLINE-->

free flash animation on free flash animation
       <!--END OF TERMS OF USE-->
       <!-- Add your alternative here -->      



</body>
</html>




And I want to put it in my header.tpl but I don't know how to code it in my body

<header>
</header>
<body>
       ... want to put the code here so it can read the html page.
</body>




Please help thnx.

Link to comment
Share on other sites

this is the code of my header.tpl and want to put the code in the <body> so it will display my html banner.

>

<html >
   <head>
       <title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
       <meta name="description" content="{$meta_description|escape:htmlall:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
       <meta name="keywords" content="{$meta_keywords|escape:htmlall:'UTF-8'}" />
{/if}
       <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
       <meta name="generator" content="PrestaShop" />
       <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />
       <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" />
       <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" />
{if isset($css_files)}
   {foreach from=$css_files key=css_uri item=media}
   <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
   {/foreach}
{/if}
       [removed][removed]
       [removed]
           var baseDir = '{$content_dir}';
           var static_token = '{$static_token}';
           var token = '{$token}';
           var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
       [removed]
       [removed][removed]
       [removed][removed]
       [removed][removed]        
{if isset($js_files)}
   {foreach from=$js_files item=js_uri}
   [removed][removed]
   {/foreach}
{/if}
       {$HOOK_HEADER}


   </head>
   <!-- Javascript -->
   <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
       {if !$content_only}

</pre>
<ul>{l s='This shop requires JavaScript to run correctly. Please activate JavaScript in your browser.'}</ul>
<br><br>   <!-- END of Javascript --><br><br><div>
          <!-- TOP -->

           <!-- Header -->



                   {$HOOK_TOP}




           <!-- Left -->

               {$HOOK_LEFT_COLUMN}


           <!-- Center -->

   {/if}
<
Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...