[quote=yandi]Coffeeholic wrote:
ops malem semuana nieh..!!!
ad yg punya js buat floating mp3 nggak, mohon bantuan nya maklum newbie.
cba ini bang taro
/******* Floating MP3 ********/
wOOveR="<div id='divstayTopRight' style='position:absolute;z-index:50;'><embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://assets.myflashfetish.com/swf/mp3/mff-circle.swf\"class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' quality=\"high\" wmode=\"transparent\" flashvars=\"myid=10866717&path=2008/07/12&mycolor=2E0F2C&mycolor2=5C0617&mycolor3=68A663&autoplay=true&rand=0&f=4&vol=100&pat=0\" width=\"150\" height=\"200\" name=\"myflashfetish\" align=\"middle\" type=\"application/x-shockwave-flash\"></div>";
paradise=document.getElementById('flo_wrapper');
hEaVen=document.createElement("div");
hEaVen.innerHTML=wOOveR;
paradise.parentNode.insertBefore(hEaVen,paradise);
var verticalpos="frombottom"
function bEkERkAnaN(){
var mulAiX = 40; var mulAiY = 300;
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=="frombottom"){
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=="frombottom"){
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();
taro di bag c JS km[/quote]
wah thanks banget nieh bro dah mau ngasich,but BTW klo aku mau ngedit lagunya bagian mana yg harus d ganti maaf banget nieh terlalu ngerepotin