19 November 2008 at 11:19am
hello everyone. im making a site and i have the following problem.
the site must have continuous music playing on the background.
The only option i found was to use an iframe around the main .ss page so that the outer part will stay the same and only the iframe will change.
Does anyone know another better way? if not, can someone point me where i should place the iframe?
20 November 2008 at 9:33am
Thanks for the tip Fuzz10 although in my case i cant stop the playback of the music, it has to be fluent.
If someone can tell me which page calls the main page.ss i can probably put that in an iframe and call it like that (?).
If someone knows please share :)
20 November 2008 at 9:40am
This is an interesting problem, you could do it with ajax and just change the $Content of the page but this means it would be hard to change the page type and add extra variables if at all possible.
The iframe option could work. You create a pagetype "Player" and make your homepage this page. In the template for Player you only call the flash player and iframe for a different page which will actually hold your homepage content so the address is something like example.com/iframehome and for the pages inside the frame have the more standerd pagetype and template including all your navigation etc.... I think this would work but if others see problems then chime in