buat para mod...ijin mw ijin ngeshare lagi nih...
klo ga penting di close aja gpp....
Pripiu
[url=http://www.friendster.com/hariesbahtiar]Pripiu[/url]
[b]code[/b]
[quote]/******* Floating MP3 ********/
wOOveR="<div id='divstayTopRight' style='position:absolute;z-index:50;'>[b]<embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://assets.myflashfetish.com/swf/mp3/mff-pill.swf\"class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' quality=\"high\" wmode=\"transparent\" flashvars=\"myid=12229194&path=2008/08/27&mycolor=444444&mycolor2=FFFFFF&mycolor3=5E566D&autoplay=true&rand=1&f=4&vol=100&pat=0\" width=\"80\" height=\"80\" name=\"myflashfetish\" align=\"middle\" type=\"application/x-shockwave-flash\"></div>[/b]";
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();[/quote]
ganti yang di bold di atas sama embed music kalian...
Klo udah...save dengan rormat ekstensi [b].txt[/b] ato [b].js[/b]
trus simpen dibagian A pada Js utama mu...
[quote]// Floating Mp3
var java = document.createElement("script");
java.type = "text/javascript";
java.src = "[b]URL JS YANG TADI UDAH DI SAVE[/b]";
document.getElementsByTagName("head")[0].appendChild(java);[/quote]
[b]Perhatikan Bagian iNI[/b]
[quote]myid=[b]12229194[/b]&path=[b]2008/08/27[/b]&mycolor=[b]444444[/b]&mycolor2=[b]FFFFFF[/b]&mycolor3=[b]5E566D[/b]&autoplay=true&rand=1&f=4&vol=100&pat=0\" width=\"80\" height=\"80\" name=\"myflashfetish\" align=\"middle\" type=\"application/x-shockwave-flash\"></div>[/quote]
ato kalo bingung nentuin embed nya....
w saranin bikin acoount di [url=http://www.myflashfetish.com/]myflashfetish[/url]
trus liad kode nya...ganti bagian bold di atas sesuai ID kalian...
semoga berhasil...
Last edited by killme_18 (2009-03-22 07:22:08)