rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: jen_ on February 25, 2005, 04:45:57 PM

Title: background sound
Post by: jen_ on February 25, 2005, 04:45:57 PM
ok i added script for a background sound
the problem is that when any folder/file is clicked the music keeps starting back over again from the beginning.

<embed src="http://www.porshiana.com/sample.mid" volume="30%" hidden="false" autostart="true loop="true" height="100">

just an example of the script above^^^^,i am confused as to why it keeps starting over from the beginning.
i know it has to do with each click of a folder is a different page,but how or what could i add,to keep the sound continuos and not starting from the beginning each time a "folder' is clicked.


thanks
Title: background sound
Post by: rejetto on February 25, 2005, 05:31:02 PM
i guess you'll have to create an invisible frame for the music, and another frame for the browsing

to do such thing with HFS, i would:

1. create a file with the frameset, call it index.html, with 2 frames: music.html and a folder where you keep all your things

2. create music.html

3. right-click on the root, default file mask: index.html

4. move all your things to the folder pointed by the frameset
Title: background sound
Post by: Mocelet61 on February 26, 2005, 12:16:23 PM
Do you know where can I found an example for it.

 :roll:
Title: background sound
Post by: rejetto on February 26, 2005, 09:26:03 PM
Quote from: "Mocelet61"
Do you know where can I found an example for it.
i don't
Title: background sound
Post by: Mocelet61 on February 27, 2005, 01:46:15 PM
In these days I have study a lot but I havee understand a little.  :#)
This is my probelm.

Now I dont know:
1 where i need to save index.html
2
Quote from: "rejetto"
1. create a file with the frameset, call it index.html, with 2 frames: music.html and a folder where you keep all your things

I have create 2 frames , the first is music.html but the second?

 :(
Title: background sound
Post by: rejetto on February 27, 2005, 06:29:09 PM
1. put it in the root (it doesn't matter where physically it is)
2. the second frame is HFS generate html, that is the folder where you keep all your things