Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    35
    Plugin Contributions
    0

    Default Header Image/Frame?

    I probably could have found better wording for that..

    I made a new Flash header logo for my new site and I decided to make it a bit bolder this time around with some sound and without looping..

    As I was finishing up in Flash it dawned on me that zen-cart well reload the header with every link a visitor clicks on.. thus restarting my Flash logo and playing the formerly brief non-intrusive sounds over & over again with each click until the visitor decides they hate me and leave.

    I'm a little 'old school' with my html and not at all familiar with all this php and files pointing to each other and all that.. Is there a simple way I can have zen-cart leave the header image in-tact throughout a user's visit? Such as putting it in a dividerless frame or changing to a different template?

    I was debating on just removing my current header image and seeing if I could just my own index page and header frame page and point the lower frame to zen-cart's index.php but with my lack of knowledge in newer webdesign conventions I figured I should ask before I do something with possibly unforseen consequences..

    Thanks for any suggestions!
    Rylynn

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Header Image/Frame?

    Stay away from iframes ... they cause more trouble than they solve.

    Instead, one alternative could be to edit your flash code to set a cookie that knows whether the sounds have been played or not. Then on each subsequent load it can check the cookie and if not set, play the sounds.
    .

    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.

 

 

Similar Threads

  1. v150 Header image width is not adjusting bottom of image is cut off
    By RonGin in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Jul 2013, 06:09 PM
  2. Picture Frame Website Upload Image
    By sports guy in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 25 Oct 2011, 12:41 AM
  3. Need help with header image/header area-Apple Zen
    By Samuz in forum Addon Templates
    Replies: 2
    Last Post: 9 Jul 2010, 12:37 AM
  4. frame zen cart with personal header & footer
    By joez5374 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Feb 2010, 03:14 PM
  5. header.php and tpl header image remover
    By d1rage5 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Jul 2008, 09:56 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