tmmths
12-07-2006, 04:39 PM
Hello:
I have a client who insists on having a site in frames. One frame is a small left frame with a flash mp3player, the other is the content frame to the right.
They also want to be able to change the template of the 'content' frame which I have taken care of. The user chooses the template they want from a page in the content frame, which loads a new php template into the content frame. The problem is when the content frame template is changed, I also need the left music player frame to refresh so that the background colors match.
I am looking for some javascript to place in the head of the content frame templates to check and see if a paticular frameset is loaded, and if not, refresh the entire page/frameset (both frames) to a NEW frameset so that both frames match again. Make since :confused:
Thank you in advance for any help.
I have a client who insists on having a site in frames. One frame is a small left frame with a flash mp3player, the other is the content frame to the right.
They also want to be able to change the template of the 'content' frame which I have taken care of. The user chooses the template they want from a page in the content frame, which loads a new php template into the content frame. The problem is when the content frame template is changed, I also need the left music player frame to refresh so that the background colors match.
I am looking for some javascript to place in the head of the content frame templates to check and see if a paticular frameset is loaded, and if not, refresh the entire page/frameset (both frames) to a NEW frameset so that both frames match again. Make since :confused:
Thank you in advance for any help.