Forums / Templates, Stylesheets, Page Layout / Flash Header w/ Music; stop reloading

Flash Header w/ Music; stop reloading

Locked

Started by jasonr1023 on 1 Nov 2006, 9:13 PM · Views: 2,953

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
1 Nov 2006, 9:13 PM
#1
jasonr1023 avatar

jasonr1023

New Zenner

Join Date:
Oct 2006
Posts:
2
Plugin Contributions:
0

Flash Header w/ Music; stop reloading

Hello all!

I have a site with a flash-animated header. This part works fine.
This header has music that plays as part of the flash file. The music plays fine.

I am using zencart 1.3.5 currently.
Problem:
If I click on a link in zen-cart to look at products, ez-pages, whatever; the flash reloads and the music restarts. I don't want the music to restart.

Prior to moving over to zencart, I had the site setup inside of iframes to handle this problem. (Yes, I know the evils of frames, spare me the lecture) Is there a way in zencart to get this functionality to work?

I've dug through the forums and google looking for answers, and have not gotten to a satisfactory solution at this point.

There was mention of a "IFrame" modification, but I can't locate that either.

Any help would be greatly appreciated!

Thanks!
-Jason

7 Nov 2006, 7:22 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Flash Header w/ Music; stop reloading

You need to alter your flash file to set a cookie of sorts, with perhaps a 1-hour expiry, and check the cookie to see whether it should play the music or not. Could apply to animation as well.

.
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.