Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Feb 2007
    Posts
    24
    Plugin Contributions
    0

    help question Re: How to do Flash Header

    I have erplaced the Java code, still can't see anything in IE. I have noticed one difference: when I used the privious java script, I end up with a empty box as my header (in IE) now with this script I have no empty box as header, just like I never had a banner.
    Sean

  2. #12
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: How to do Flash Header

    Let me rephrase it more specifically to work with the various customizations you've made on your site.

    replace the contents of your /incluedes/templates/template_default/jscript/flashheader.js file with this:
    HTML Code:
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
    document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="950" height="200">');
    document.write('<param name="movie" value="flashheader.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" />');
    document.write('<embed src="flashheader.swf" width="950" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>');
    document.write('</object>');
    The additional <script> etc tags in my prior post were referring to the ideal "end result" ... rather than the exact line-by-line changes to make.

    The above should accomplish what you're after with minimal changes to the rest of what you've done.

    The javascript method you've employed is one of a few different ways to auto-activate flash objects on a website. I'm not certain this is the best way, but it works.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Feb 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: How to do Flash Header

    I have the exact same code.. Here what I have:
    I have created flashheader.js in /public_html/includes/templates/template_default/jscript
    I have my flashheader file in the root.
    What am I missing?

  4. #14
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: How to do Flash Header

    No ... remove these from your flashheader.js file:

    Code:
    <script language="javascript" type="text/javascript">
    and
    Code:
    </script>

    In your template file, you are calling the flashheader.js file with the <script> tags already, so having another set of script tags inside the .js file just confuses the browser:
    <script src="includes/templates/template_default/jscript/flashheader.js"></script>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Feb 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: How to do Flash Header

    YOu are right, it finally worked.....
    I have to thank you for all your time and effort on this.
    Sean

  6. #16
    Join Date
    Feb 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: How to do Flash Header

    Quote Originally Posted by Jedward View Post

    The things that I am not sure are:
    1- Where and which file should I add:
    <script src="includes/templates/template_default/jscript/paragone.js"></script>
    I didn't see part one of Jedwards question answered. I too would like to know what file to add the following line to:
    "<script src="includes/templates/CUSTOM/jscript/flashheader.js"></script>"

    Once the file has been determined, where in that file should it be added, and do I need to remove anything out of that file in order to make it work.

    Thanks for your Zen

  7. #17
    Join Date
    Feb 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: How to do Flash Header

    File is tpl_header.php
    I could insert the JS anywhere (as long as the syntax allowed). If my memory servers me right I had to take out the header loading section which started with "<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG........"
    Sean

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. How to remove flash header?
    By ariel_cepeda in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Sep 2009, 06:00 PM
  2. How about a flash menu in the header?
    By wacx in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Apr 2008, 03:45 AM
  3. How to display flash header only on main page?
    By funksdaburn in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Sep 2007, 07:59 PM

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