Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old March 25th, 2006, 09:15 AM
Sebastian Gohres
Guest
 
Posts: n/a
Default embed-Audio in none-display-div

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
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.