rejetto forum

background sound

jen_ · 6 · 4880

0 Members and 2 Guests are viewing this topic.

Offline jen_

  • Occasional poster
  • *
    • Posts: 10
    • View Profile
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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13292
    • View Profile
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


Offline Mocelet61

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
Do you know where can I found an example for it.

 :roll:


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13292
    • View Profile
Quote from: "Mocelet61"
Do you know where can I found an example for it.
i don't


Offline Mocelet61

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
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?

 :(


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13292
    • View Profile
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