Author Topic: background sound  (Read 4453 times)

0 Members and 1 Guest are viewing this topic.

Offline jen_

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

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12942
    • View Profile
background sound
« Reply #1 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

Offline Mocelet61

  • Occasional poster
  • *
  • Posts: 15
    • View Profile
background sound
« Reply #2 on: February 26, 2005, 12:16:23 PM »
Do you know where can I found an example for it.

 :roll:

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12942
    • View Profile
background sound
« Reply #3 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

Offline Mocelet61

  • Occasional poster
  • *
  • Posts: 15
    • View Profile
background sound
« Reply #4 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?

 :(

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12942
    • View Profile
background sound
« Reply #5 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