[quote=nyubi]para senior smuanya bagi dong script floating mp3 bagian kiri
mkasih sblumnya .....
[/quote]
nih bro...
[spoiler]wOOveR="<div id='divstayTopRight' style='position:absolute;z-index:50;'>[b]<embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://assets.myflashfetish.com/swf/mp3/mff-touch.swf\"class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' quality=\"high\" wmode=\"transparent\" flashvars=\"myid=12463809&path=2008/09/02&mycolor=3FA0EB&mycolor2=82ADD9&mycolor3=FCFCFC&autoplay=true&rand=0&f=4&vol=100&pat=0\" width=\"90\" height=\"100\" name=\"myflashfetish\" align=\"middle\" type=\"application/x-shockwave-flash\">[/b]</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();[/spoiler]
edit sndri kode embed'a.....
taro d bagian C, save, udah dh....
Last edited by odloc (2008-09-07 05:55:44)