Non refreshable / Site template
Audiowave - November 9, 2008 - 22:34
Im wondering if theres away of creating a template/frame/or even just a block, that doesnt get refreshed when navigating round the site. So say I have a small header at the top of my site with a flash animation or music file playing inside, it wont refresh when a user navigates to another page.

I can think of two options
You could use a frame but that is not exactly an elegant solution. Try google on "why frames are evil" and brace yourself ;-)
The other option I can think of is to have the page reload using AJAX. The problem with that solution is that the site will probably break completely if the browser isn't supporting javascript. That means your accessibility goes down the drain.
What are trying to achieve by keeping the header from refreshing?
- Arie
Music player
Thanks for the reply.
Initially the idea was for a music player of any sort, that would constently playing. Just a small block in the top corner of the page anything would do.
One more possibility
You could also use a popup window but that would probably get blocked by a lot of browsers.
Personally I think the AJAX option would be best but it's also the most complicated and like I mentioned before; the page would probably break for users without javascript enabled.
Good luck!
- Arie
Confused
Thanks for the help, but Ive never used Ajax before. Theres several Ajax modules.Which one do I use, and how do I create a small header at the top of my page that doesnt refresh using it?
Endless page might work
I think the endless page could do this for you. See http://drupal.org/project/endless_page
But before you invest a lot of time and effort it might be a good idea to stop and think for a minute. Is this feature so important that you are willing to change the way the entire site works?
Isn't this more of a nice-to-have feature?
Don't get me wrong I'm not trying to tell you how to run your site but if you're going to do this you should realize what you're getting yourself into.
Having said that, it would be nice to see what you can come up with.
- Arie
P.S. Did you see - or rather hear - this feature on a site? Could you post the link? Then we can see how they did it.