[b]@rone_piss[/b]
ini floating mp3 dikanan
by [b]Co_donSanAdH[/b] :rose:
[spoiler]// Floating mp3
woover="<div id='divstayTopRight' style='position:absolute;z-index:50;'>[b]EMBED MP3[/b]</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 chart(sip){
if (document.getElementById){
var aiie=document.getElementById(sip);}
else if (document.all){
var aiie=document.all[sip];}
else{
var aiie=document.layers[sip];}
if(document.layers){
aiie.style=aiie;}
aiie.fruit = 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 zend = pageYOffset;}
else {
var zend = document.body.scrollTop;}
scara.yes += (zend + mulaiY - scara.yes)/8; }
else {
if (navigator.appName.indexOf("Netscape") != -1) {
var zend = pageYOffset + innerHeight; }
else {
var zend = document.body.scrollTop + document.body.clientHeight;
}
scara.yes += (zend - mulaiY - scara.yes)/8; }
scara.fruit(scara.no, scara.yes);
arctic=setTimeout("stayTopRight()", 50); }
scara = chart("divstayTopRight");
stayTopRight(); }
bekerkanan();[/spoiler]
ganti embed na
taroh di C
[spoiler]sebenerna sech wat jam,,pi kuganti wat mp3
[/spoiler]
Last edited by dadung (2008-07-24 08:50:05)