Connecting Tech Pros Worldwide Help | Site Map

embed-Audio in none-display-div

Sebastian Gohres
Guest
 
Posts: n/a
#1: Mar 25 '06
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
Spartanicus
Guest
 
Posts: n/a
#2: Mar 25 '06

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