• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

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

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
zahziah
Asked:
zahziah
  • 2
1 Solution
 
Christian_WenzCommented:
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
 
zahziahAuthor Commented:
thanks christian...
it's really great tip and now i am going to see your
guest book sugesstion thanks anyway


0
 
Christian_WenzCommented:
good luck with your page!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now