Solved

Music  ON/OFF on Web Page

Posted on 2001-06-21
12
259 Views
Last Modified: 2009-07-29
My default page plays a .mid Music File  say Music1.mid
Default.html

I need an option button on the default.html page, to turn Music On/Off....But also (for the session the user is logged in, stay with the setting)!!

Ie. whe they return from another page , back to default.html, the music stays on/off , depending on the original selection made previously.

Appreciate any advice, if this is possible..
0
Comment
Question by:turnerrob
  • 4
  • 4
  • 2
  • +1
12 Comments
 
LVL 1

Expert Comment

by:Ernest022699
ID: 6216870
It is bad manners (or Netiquette) to play music without asking.  Keep your Home Page as free of music, photographs (i.e., JPEG), video (e.g., Flash), and other long-to-load enhancements as possible.  If you want to show a sample of a band's work add a link to another Page of musical excerpts.

Cookies could be used to keep your user's preferences; that's one very good use of them!
0
 

Author Comment

by:turnerrob
ID: 6216902
Cookies did enter my mind, would appreciate advice as to how this is carried out.
ie.  Where do i get info to learn how to do this???

regards  turnerrob
0
 
LVL 3

Expert Comment

by:pleasenospam
ID: 6220571
Try this...

 <BASE HREF="http://(PATH)/">

Add this as the last statement in the page heading:

<EMBED SRC="(PATH-SUFFIX)/MUSICNAME.mid"
 AUTOSTART=false LOOP=2 AUTOLOAD=false
VOLUME=25% HEIGHT=60 WIDTH=144 CONTROLS=console>

Gives reader the option to listen or not listen.
0
 

Author Comment

by:turnerrob
ID: 6221077
pleasenospam ,,
Thankyou for your comment, i will give it a try at the office on Monday.

Regards

0
 
LVL 3

Expert Comment

by:pleasenospam
ID: 6222354
To see an example of this, try this page:

http://personal.cfw.com/~write/memes.html

0
 

Expert Comment

by:teacher_mod
ID: 6374578
This question has been abandoned. Would the experts please indicate how
this should be closed out. Is there a comment which should be accepted?
Should the points be split? Should it be reduced to zero points and PAQed?
should it be deleted?  In the absence of direction, the default will be
for me to delete.

TIA for helping to clean up the old questions.

teacher_mod
Community Support Moderator
Experts-Exchange
teacher_mod@experts-exchange.com


0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Accepted Solution

by:
pleasenospam earned 50 total points
ID: 6374899
My suggestion above worked for me at my website.  Maybe it would work for him, also.  Perhaps he tried it "on Monday" and it did work...
0
 
LVL 1

Expert Comment

by:Ernest022699
ID: 6374975
50 points does not merit a dissertation or tutorial on cookies when there are books++ and sites++ available on the topic.

pleasenospam did give a good answer and example.
0
 

Author Comment

by:turnerrob
ID: 6376335
Sorry for the delay in accepting this answer.
I overlooked it, i appoligise


Regards Turnerrob
0
 

Expert Comment

by:teacher_mod
ID: 6376354
Thanks for coming back tunerrob. :o)

teacher_mod
Community Support Moderator
Experts-Exchange
teacher_mod@experts-exchange.com
0
 
LVL 3

Expert Comment

by:pleasenospam
ID: 6376552
Thanx.  Glad my frustrating experiences helped somebody.  It took me a long time to figure out how to do this, with arguments with two different ISPs.
0
 

Author Comment

by:turnerrob
ID: 6376927
Appreciate the trouble you put into answering my question.
I am usually prompt and reliable, this time i failed!!

Many thanks

Turnerrob
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to click button twice to get results 2 33
Poster Video HTML 5 Scale to fit video 3 37
JavaScript: Issue with onClick 5 36
How to count in a table in php 22 17
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now