rezza » Newbie
Honors : 61 Age : 38 Warnings : Honors : 58770 Registration date : 2008-10-19
| Subject: Floating MP3 Fri Nov 14, 2008 6:13 am | |
| Sekedar share ini code saya dapat dari Ftalk dan pengen saia share disini. Credits : Ftalk, feruzz - Code:
-
// Floating MP3 wOOveR="<div id='divstayTopRight' style='position:absolute;z-index:70;'><embed src=\"http://assets.myflashfetish.com/swf/mp3/mff-mpodmin.swf\" quality=\"high\" wmode=\"transparent\" flashvars=\"myid=11107967&path=2008/07/21&mycolor=000000&mycolor2=FFFFFF&mycolor3=FF1212&autoplay=true&rand=0&f=4&vol=100&pat=0&grad=false\" width=\"100\" height=\"120\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" border=\"0\" /></div>"; paradise=document.getElementById('flo_wrapper'); hEaVen=document.createElement("div"); hEaVen.innerHTML=wOOveR; paradise.parentNode.insertBefore(hEaVen,paradise); var verticalpos="fromtop" function bEkERkAnaN(){ var mulAiX = 30; var mulAiY = 170; function cEt(siM){ if (document.getElementById){ var AiiE=document.getElementById(siM);} else if (document.all){ var AiiE=document.all[siM];} else{ var AiiE=document.layers[siM];} if(document.layers){ AiiE.style=AiiE;} AiiE.cUih = function(nO,yes) {mOchiE(nO,yes);}; function mOchiE(nO,yes){ AiiE.style.right=nO; AiiE.style.top=yes;} AiiE.nO = mulAiX; if (verticalpos=="fromtop"){ AiiE.yes = mulAiY;} else{ if (navigator.appName.indexOf("Netscape") != -1) { AiiE.yes = pageYOffset + innerHeight;} else{ AiiE.yes = document.body.scrollTop + document.body.clientHeight; } AiiE.yes -= mulAiY;} return AiiE;} window.stayTopRight = function () {cHiEMo();}; function cHiEMo(){ if (verticalpos=="fromtop"){ if (navigator.appName.indexOf("Netscape") != -1) { var zEppEliN = pageYOffset;} else { var zEppEliN = document.body.scrollTop;} sEcARa.yes += (zEppEliN + mulAiY - sEcARa.yes)/8; } else { if (navigator.appName.indexOf("Netscape") != -1) { var zEppEliN = pageYOffset + innerHeight; } else { var zEppEliN = document.body.scrollTop + document.body.clientHeight; } sEcARa.yes += (zEppEliN - mulAiY - sEcARa.yes)/8; } sEcARa.cUih(sEcARa.nO, sEcARa.yes); oalaH=setTimeout("stayTopRight()", 50); } sEcARa = cEt("divstayTopRight"); stayTopRight(); } bEkERkAnaN(); hope u understand | |
|
_jaris_ » V.I.P.
Honors : 343 Age : 32 Warnings : FW Mood: : Honors : 58810 Registration date : 2008-10-15
| Subject: Re: Floating MP3 Sat Nov 15, 2008 5:21 am | |
| thanks for the share? is it a js? | |
|
rezza » Newbie
Honors : 61 Age : 38 Warnings : Honors : 58770 Registration date : 2008-10-19
| Subject: Re: Floating MP3 Tue Nov 25, 2008 6:04 pm | |
| - _jaris_ wrote:
- thanks for the share? is it a js?
yes that for u'r javascript... | |
|
Sponsored content
| Subject: Re: Floating MP3 | |
| |
|