<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
<head>
<title>Untitled</title>
<SCRIPT language="JavaScript1.4" type="text/javascript">
<!--
function PlaySound(strFileName)
{
var soundfile = eval("document." + strFileName);
try
{
soundfile.Play();
}
catch (e)
{
soundfile.DoPlay();
}
}
//-->
</SCRIPT>
<SCRIPT language="JavaScript">
<!--
function SwapImage()
{
var doc=document, args=arguments;
doc.$imgSwaps = new Array();
for(var i=2; i<args.length; i+=2)
{
var elem=FindObject(args);
if(elem)
{
doc.$imgSwaps[doc.$imgSwaps.length]=elem;
elem.$src=elem.src;
elem.src=args[i+1];
}
}
}
function FindObject(id, doc)
{
var child, elem;
if(!doc)
doc=document;
if(doc.getElementById)
elem=doc.getElementById(id);
else
if(doc.layers)
child=doc.layers;
else
if(doc.all)
elem=doc.all[id];
if(elem)
return elem;
if(doc.id==id || doc.name==id)
return doc;
if(doc.childNodes)
child=doc.childNodes;
if(child)
{
for(var i=0; i<child.length; i++)
{
elem=FindObject(id,child);
if(elem)
return elem;
}
}
var frm=doc.forms;
if(frm)
{
for(var i=0; i<frm.length; i++)
{
var elems=frm.elements;
for(var j=0; j<elems.length; j++)
{
elem=FindObject(id,elems);
if(elem) return elem;
}
}
}
return null;
}
// -->
</SCRIPT>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000">
<TABLE>
<TR>
<TD align="left" valign="top" width="100" height="23"><A href="http://" target="_parent"><IMG id="img00010" src="file:///C|/Programme/aaa/navbar/button14.gif" alt="http://" valign="top" border="0" width="100" height="23" onmouseover="SwapImage(1,0,'img00010','img00010_over.bmp');PlaySound('3.wav')" onmouseout="SwapImage(0,0,'img00010','img00010.bmp')"></A></TD>
<TD width="4"></TD><TD align="left" valign="top" width="100" height="23"><A href="http://" target="_parent"><IMG id="img00011" src="file:///C|/Programme/aaa/navbar/button14.gif" alt="http://" valign="top" border="0" width="100" height="23" onmouseover="SwapImage(1,0,'img00011','img00011_over.bmp');PlaySound('3.wav')" onmouseout="SwapImage(0,0,'img00011','img00011.bmp')"></A></TD>
<TD width="4"></TD><TD align="left" valign="top" width="100" height="23"><A href="http://" target="_parent"><IMG id="img00012" src="file:///C|/Programme/aaa/navbar/button14.gif" alt="http://" valign="top" border="0" width="100" height="23" onmouseover="SwapImage(1,0,'img00012','img00012_over.bmp');PlaySound('3.wav')" onmouseout="SwapImage(0,0,'img00012','img00012.bmp')"></A></TD>
<TD width="4"></TD><TD align="left" valign="top" width="100" height="23"><A href="http://" target="_parent"><IMG id="img00013" src="file:///C|/Programme/aaa/navbar/button14.gif" alt="http://" valign="top" border="0" width="100" height="23" onmouseover="SwapImage(1,0,'img00013','img00013_over.bmp');PlaySound('3.wav')" onmouseout="SwapImage(0,0,'img00013','img00013.bmp')"></A></TD>
<TD width="4"></TD><TD align="left" valign="top" width="100" height="23"><A href="http://" target="_parent"><IMG id="img00014" src="file:///C|/Programme/aaa/navbar/button14.gif" alt="http://" valign="top" border="0" width="100" height="23" onmouseover="SwapImage(1,0,'img00014','img00014_over.bmp');PlaySound('3.wav')" onmouseout="SwapImage(0,0,'img00014','img00014.bmp')"></A></TD>
<TD width="4"></TD><TD align="left" valign="top" width="100" height="23"><A href="http://" target="_parent"><IMG id="img00015" src="file:///C|/Programme/aaa/navbar/button14.gif" alt="http://" valign="top" border="0" width="100" height="23" onmouseover="SwapImage(1,0,'img00015','img00015_over.bmp');PlaySound('3.wav')" onmouseout="SwapImage(0,0,'img00015','img00015.bmp')"></A></TD>
</TR>
</TABLE>
</DIV>
</BODY>
</html>
Някаде в този скрипт е оказан пътя към файла : 3.wav* *самоче каде ?* искам да си го направя при mouseOver да издава звук и картинката на менюто да се сменя