PCToOLs
Un forum pentru fiecare!!
Lista Forumurilor Pe Tematici
PCToOLs | Reguli | Inregistrare | Login

POZE PCTOOLS

Nu sunteti logat.
Nou pe simpatie:
Profil Lolo
Femeie
24 ani
Galati
cauta Barbat
25 - 52 ani
PCToOLs / Coduri Pentru Site Si Forum / Play Sounds on Mouseover and Click Moderat de Raxon
Autor
Mesaj Pagini: 1
b3n1am1n
Administrator

Inregistrat: acum 17 ani
Postari: 3407
<script type="text/javascript"><!--
/*
_____________________________________
/�������������������������������������
| Another JavaScript from Uncle Jim   |
| Feel free to copy, use and change   |
| this script as long as this part    |
| remains unchanged. You can visit    |
| my website at   |
| for more scripts like this one.     |
| Created: 1998 Updated: 2006         |
_____________________________________/
�������������������������������������
*/
// Preload and play audio files with event handler (MouseOver sound)

var aySound = new Array();
// Below: source for sound files to be preloaded
aySound[0] = "SOUNDFILE1.wav";
aySound[1] = "SOUNDFILE2.wav";
aySound[2] = "SOUNDFILE3.wav";
aySound[3] = "SOUNDFILE4.wav";
aySound[4] = "SOUNDFILE5.wav";

// DO NOT edit below this line
document.write('<BGSOUND ID="auIEContainer">')
IE = (navigator.appVersion.indexOf("MSIE"!=-1 && document.all)? 1:0;
NS = (navigator.appName=="Netscape" && navigator.plugins["LiveAudio"])? 1:0;
ver4 = IE||NS? 1:0;
onload=auPreload;

function auPreload() {
if (!ver4) return;
if (NS) auEmb = new Layer(0,window);
else {
Str = "<DIV ID='auEmb' STYLE='position:absolute;'></DIV>";
document.body.insertAdjacentHTML("BeforeEnd",Str);
}
var Str = '';
for (i=0;i<aySound.length;i++)
Str += "<EMBED SRC='"+aySound[i]+"' AUTOSTART='FALSE' HIDDEN='TRUE'>"
if (IE) auEmb.innerHTML = Str;
else {
auEmb.document.open();
auEmb.document.write(Str);
auEmb.document.close();
}
auCon = IE? document.all.auIEContainer:auEmb;
auCon.control = auCtrl;
}
function auCtrl(whSound,play) {
if (IE) this.src = play? aySound[whSound]:'';
else eval("this.document.embeds[whSound]." + (play? "play()":"stop()")
}
function playSound(whSound) { if (window.auCon) auCon.control(whSound,true); }
function stopSound(whSound) { if (window.auCon) auCon.control(whSound,false); }
//--></script>


_______________________________________
1) Esti pe net
2) Esti pe Situl MediasH
3) Imi citesti semnatura
5) Nu ai observat ca lipseste punctul 4
6) Tocmai ai verificat daca exista punctul 4 sau nu
7) Zambesti, sau chiar razi !









pus acum 17 ani
   
Pagini: 1  

Mergi la