Connecting Tech Pros Worldwide Help | Site Map

embed-Audio in none-display-div

  #1  
Old March 25th, 2006, 09:15 AM
Sebastian Gohres
Guest
 
Posts: n/a
Hi!


I have a problem with a div container:

<div style="display: none;">
....
<embed src="./media/new_messages.wav" height="0" width="0" hidden="true">
</div>

I want that the audio plays only if the display property is not that you
none. There are no trouble in Firefox, but in Internet Explorer & Co.

What can I do?

Thanks for help, sorry for my bad english, i hope you will understand me :)


kind regards

S. Gohres
  #2  
Old March 25th, 2006, 09:35 AM
Spartanicus
Guest
 
Posts: n/a

re: embed-Audio in none-display-div


Sebastian Gohres <crashi82@arcor.de> wrote:
[color=blue]
>I have a problem with a div container:
>
><div style="display: none;">
>...
><embed src="./media/new_messages.wav" height="0" width="0" hidden="true">
></div>
>
>I want that the audio plays only if the display property is not that you
>none. There are no trouble in Firefox, but in Internet Explorer & Co.[/color]

Tell us the function that you are trying to create, there's little point
in presenting us with what you think is the solution, often people
choose the wrong solution.

--
Spartanicus
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Embed HTML in JavaScript ShahzadMahmood answers 1 November 4th, 2008 09:32 AM
Mpg movie stops playing in browser askMe answers 14 January 16th, 2006 06:15 PM
Embedding form in a panel to allow form in non-child window area Yasutaka Ito answers 1 November 22nd, 2005 08:29 AM
Sizing SVG in HTML Tom answers 2 September 9th, 2005 01:35 PM
Embedding form in a panel to allow form in non-child window area Yasutaka Ito answers 1 July 21st, 2005 01:27 PM