|
|
|
| вот написала такой скрипт
<img style="position: absolute; top:-100; visibility:hidden;" src="img/vot.jpg" width="481" height="558" alt="" border="0">
<table align="center" height="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td>
<table align="center" cellspacing="0" cellpadding="0" border="0" onclick="javascript:go()">
<tr>
<td><img id="oleg" src="img/hochu.jpg" width="481" height="558" alt="" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
<script language="JavaScript">
function go()
{
document.getElementById("oleg").setAttribute('src', "img/vot.jpg");
document.getElementById("sounder").src = "img/The Beatles.mp3";
}
</script>
|
при нажатии на картинку она меняеться и начинаеться загружаться мелодия, но грузиться мелодия очень долго. возможно сделать чтобы она сразу начинала играть? | |
|
|
|
|
|
|
|
для: inga
(20.02.2006 в 10:10)
| | может, файл The Beatles.mp3 великоват? | |
|
|
|