Thread: Web Page Music question
Results 1 to 7 of 7
Related
-
Music on my page Forum: HTML Forum
Replies: 1 -
Cover page question Forum: HTML Forum
Replies: 0 -
Cover page question Forum: Website Scripts Forum
Replies: 0 -
Actually Tell me how to put music on my page. Forum: HTML Forum
Replies: 11 -
Page in Page Question Forum: HTML Forum
Replies: 5
-
01-04-2005, 05:21 PM #1
Web Page Music question
I have music on my index page <bgsound> ..
Consequently the music will play on all pages of the website..
Is it at all possible to stop the music "automatically" when going to a new page or am I stuck with it until I leave the website?
(My website currently is playing Christmas music but one of the pages is an "Obituary page" and "Jingle Bells" seems a bit inappropriate, hence my need to stop the music while visiting this page).
Any help would be appreciated. thanxGlenvern
-
01-04-2005, 06:25 PM #2
If I remember correctly you are using frames with the music source on the index. Have you considered placing the source in the "main" frame pages?
Dave
-
01-04-2005, 06:29 PM #3
admin edit: the "latest post" on many pages does not like code placed too close to the top of the post. That should push it down enough
______________________________________
HTML Code:<embed src="file.wav" autostart=true loop=false volume=100 hidden=true width=142 height=58> <noembed> <bgsound src="file.wav"> </noembed> </embed>
*my attempt at trying to help*Last edited by HTML; 01-04-2005 at 06:33 PM.
-
01-05-2005, 03:18 AM #4
Thanx Dave - Could you expand your suggestion a bit further please on how I get <bgsound> into the "main" of the "frameset" I can't see where it would go -
<frame name="main" src="mainpage.htm">
At the moment it is the first entry in the "index" after <head> and before the <framesets>...
If I put it into all <target="main"> pages the music restarts itself everytime I go into the these pages which is every page on the website, I would prefer it to run continuously throughout the website except for this one page.
I have tried "window.close()" which didn't work.
I have tried redirecting to a new URL but the old URL remains and still plays on happily, I just can't stop it..
******************
Thanx cokes: - If I use <embed> I believe I will get buttons which I would have to use in order to switch off the music this would not make it automatic.. I may be wrong I haven't tried it yet..Glenvern
-
01-05-2005, 08:29 AM #5
Perhaps I should get out of the <frameset> for that page can you tell me how to do that and how to get back in again?
Last edited by Glenvern; 01-05-2005 at 08:31 AM.
Glenvern
-
01-05-2005, 08:48 AM #6
You are obviously corrrect that the music would start anew with each internal link.
To get out of the frameset, add target="_top" to the obit link in the menu frame. To go back is a bit more work since they may click other links and not the index. You will have to make a new frameset for each link (index is already made), giving each link on the obit page the attribute target="_top".
Dave
-
01-05-2005, 09:30 AM #7
Thank you Dave: That worked perfectly
Glenvern