Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change layer image / embed options

Status
Not open for further replies.

deca

Programmer
Dec 20, 2002
12
0
0
GB
Hi!

I have to ask you 2 thing:

1) How can I do this (change image) in IE?
document.myLayer.document.myImage.src='newImage.gif';

2) I have this object into a page:
<embed name=&quot;sound1&quot; src=&quot;sound1.wav&quot; hidden=&quot;true&quot; autostart=&quot;false&quot; loop=&quot;false&quot; volume=&quot;100&quot; mastersound>
How can I tell the embed object to ignore the &quot;unable to play wav sound&quot; error that is called when the audio driver is already used?

Thanks & bye!
DeCa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top