TinyPortal
Development => Support => Topic started by: bgcntry on September 06, 2007, 04:48:57 PM
Question for anybody:
Part of my forum is dedicated to those of us that play fantasy football and I had an idea, I would like it if I could get the Sports center cut scene sound to play anytime someone opens the thread for fantasy football....is this even possible?
I am using Helios Multi
Thanks
I don't know the code, but if you can find some javascript or something that will automatically play a file you can do it with a bit of php in your index.template.php file.
if ($context['current_board'] == 3){
echo 'your sound code here';
}
This would output your sound code if you were inside board number 3.
For the sound to play, try <BGSOUND SRC="test.wav" LOOP="1">
Well, there you go lol. I've never played with sound in a web page so I didn't know it could have been so easy. :)
Its actually not so used anymore I think, not now that flash can do the same and more really.