Log In · Register

 
draggable radio
MisplacedYouth
post Feb 3 2005, 12:57 AM
Post #1


faggot
*****

Group: Member
Posts: 333
Joined: Jan 2005
Member No: 92,328



I have two radioblogs and I want them to both be draggable.. is this possible and if so will someone give me the codes.. or a tutorial link.
 
 
Start new topic
Replies
coyote
post Feb 3 2005, 09:49 AM
Post #2


Senior Member
***

Group: Member
Posts: 92
Joined: Feb 2004
Member No: 3,709



Draggable Div.

QUOTE
<script language="JavaScript1.2">
<!--

//Generic Drag Script- © Dynamic Drive (www.dynamicdrive.com)
//For full source code and terms of usage,
//visit http://www.dynamicdrive.com

var ie=document.all
var ns6=document.getElementById&&!document.all

var dragapproved=false
var z,x,y

function move(e){
if (dragapproved){
z.style.left=ns6? temp1+e.clientX-x: temp1+event.clientX-x
z.style.top=ns6? temp2+e.clientY-y : temp2+event.clientY-y
return false
}
}

function drags(e){
if (!ie&&!ns6)
return
var firedobj=ns6? e.target : event.srcElement
var topelement=ns6? "HTML" : "BODY"

while (firedobj.tagName!=topelement&&firedobj.className!="drag"){
firedobj=ns6? firedobj.parentNode : firedobj.parentElement
}

if (firedobj.className=="drag"){
dragapproved=true
z=firedobj
temp1=parseInt(z.style.left+0)
temp2=parseInt(z.style.top+0)
x=ns6? e.clientX: event.clientX
y=ns6? e.clientY: event.clientY
document.onmousemove=move
return false
}
}
document.onmousedown=drags
document.onmouseup=new Function("dragapproved=false")
//-->
</script>



All encrypted pages have the decryptor embedded to it, I just made use of that.

Just so you know, by copying that code doesn't work.
a.) You need to have modules with the tag "class=drag" and position is nonstatic
b.) Xanga disabled the position:relative or position:absolute on nonpremium

You can...
a.) Encrypt it
b.) Javascript workaround
c.) CSS workaround



Oh yeah, there's no such thing as XOR encryption ON WEBPAGES. I'd like to see you try and use that.
 

Posts in this topic
MisplacedYouth   draggable radio   Feb 3 2005, 12:57 AM
iki2aZei   how do u put radioblog onto xanga..? i don't ...   Feb 3 2005, 02:37 AM
MisplacedYouth   Uh yeah they can I seen it on 2Nekked's xanga.   Feb 3 2005, 02:39 AM
mystical   QUOTE(MisplacedYouth @ Feb 2 2005, 11:39 PM)U...   Feb 3 2005, 02:47 AM
iki2aZei   wutz 2Nekked's website address..?   Feb 3 2005, 02:41 AM
iki2aZei   if itz decoded.. i'm not gonna even try.. dam...   Feb 3 2005, 02:56 AM
mystical   QUOTE(iki2aZei @ Feb 2 2005, 11:56 PM)if itz ...   Feb 3 2005, 03:30 AM
souldreamers   they're not really hard. here's a tutoria...   Feb 3 2005, 03:09 AM
iki2aZei   i give up..   Feb 3 2005, 03:35 AM
coyote   the encryption is the most retarded and lame encry...   Feb 3 2005, 07:27 AM
iki2aZei   QUOTE(coyote @ Feb 3 2005, 7:27 AM)the encryp...   Feb 3 2005, 09:38 AM
moorepocket   QUOTE(iki2aZei @ Feb 3 2005, 9:38 AM)good job...   Feb 3 2005, 09:45 AM
coyote   Draggable Div. QUOTE<script language="Ja...   Feb 3 2005, 09:49 AM
mona lisa   well, theres one tutorial here at cB for the radio...   Feb 3 2005, 12:11 PM
MisplacedYouth   If I gave you guys my radio codes would you do it ...   Feb 3 2005, 06:57 PM
largosama   You can also use a certain browser named Mozilla (...   Feb 3 2005, 07:26 PM
william   this is what, your third topic i've seen about...   Feb 3 2005, 08:54 PM
MisplacedYouth   Okay yeah I get no clue what you people are saying...   Feb 3 2005, 09:29 PM
souldreamers   did you even try? I don't think anyone would ...   Feb 3 2005, 10:04 PM
MisplacedYouth   QUOTE(souldreamers @ Feb 3 2005, 9:04 PM)did ...   Feb 3 2005, 10:32 PM
largosama   make a table and put one cell as a handle... ifram...   Feb 3 2005, 10:37 PM
MisplacedYouth   I have done everything you guys have said but yet ...   Feb 3 2005, 10:55 PM
iki2aZei   i give up.... only bcuz ma xanga wuz hacked..   Feb 3 2005, 11:15 PM
largosama   who in the right mind wants to hack a xanga... th...   Feb 4 2005, 10:36 AM


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: