Solved

I really need help coz my home page is almost at the end..

Posted on 1998-02-25
3
194 Views
Last Modified: 2013-12-25
I have my home page and it's almost complete but I need to atached a player with my web page to play
a midi sound file and it should contain the STOP,REWIND,FORWARD,PLAY buttons

but the problem is compatibilty because when I use BGSOUND tag in my home page it's not working in
Netscape and when i use EMBED tag then it's also not working in Mircrosoft internet Explorer and it gives
me a message that plug-in not found or something like that...

so please kindly tell me the solution that what is the exact method for both browsers

and how can i attached a guest book type of thing in my home page and what is the solution of this also...

your help in this matter will higly appreciated ...

thanks
zahid
0
Comment
Question by:zahziah
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
Christian_Wenz earned 100 total points
ID: 1857571
detect the browser type with JavaScript and decide upon that which method to use:

<SCRIPT LANGUAGE="JavaScript"><!--
var agt=navigator.userAgent.toLowerCase()
if this.ie   = (agt.indexOf("msie") != -1) {
  document.write('<BGSOUND>......') } else {
  document.write('<EMBED>....') }
//--></SCRIPT>

About the guest book: there is a very nice CGI script called wwwboard at http://www.scriptarchive.com : it's free and it comes with good documentation.

Please leave me a comment if you have additional questions.
0
 

Author Comment

by:zahziah
ID: 1857572
thanks christian...
it's really great tip and now i am going to see your
guest book sugesstion thanks anyway


0
 
LVL 5

Expert Comment

by:Christian_Wenz
ID: 1857573
good luck with your page!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

816 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

12 Experts available now in Live!

Get 1:1 Help Now