|
 |
|
Navigation |
|
|
|
|
|
 |
|
Drag And Drop |
|
|
|
|
|
|
|
|
|
|
|
Drag And Drop
1. Place this code in between the < head > and < /head > tags:
<style type="text/css">
.drag{
position:relative;
cursor:hand;
z-index: 100;
}
</style>
<script type="text/javascript">
/***********************************************
* Drag and Drop Script: � Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
var dragobject={
z: 0, x: 0, y: 0, offsetx : null, offsety : null, targetobj : null, dragapproved : 0,
initialize:function(){
document.onmousedown=this.drag
document.onmouseup=function(){this.dragapproved=0}
},
drag:function(e){
var evtobj=window.event? window.event : e
this.targetobj=window.event? event.srcElement : e.target
if (this.targetobj.className=="drag"){
this.dragapproved=1
if (isNaN(parseInt(this.targetobj.style.left))){this.targetobj.style.left=0}
if (isNaN(parseInt(this.targetobj.style.top))){this.targetobj.style.top=0}
this.offsetx=parseInt(this.targetobj.style.left)
this.offsety=parseInt(this.targetobj.style.top)
this.x=evtobj.clientX
this.y=evtobj.clientY
if (evtobj.preventDefault)
evtobj.preventDefault()
document.onmousemove=dragobject.moveit
}
},
moveit:function(e){
var evtobj=window.event? window.event : e
if (this.dragapproved==1){
this.targetobj.style.left=this.offsetx+evtobj.clientX-this.x+"px"
this.targetobj.style.top=this.offsety+evtobj.clientY-this.y+"px"
return false
}
}
}
dragobject.initialize()
</script>
2.In order to make the image be draggable you will need this image code:
<img src="IMAGE.gif" class="drag">
3.Change the text IMAGE.gif to the name of your image and you're all set 
Still having some problems? Well, contact me and I'm sure we can figure it out together! |
|
|
|
|
|
|
 |
|
My Wishes For Qshow |
|
|
|
|
|
|
1. Add more content often.
2. Be less Hiatus
3. Capture Screenshots for Tutorials
|
|
|
|
|
|
 |
|
Order-To Do |
|
|
|
|
|
|
Your Site/ Your Wish
Your Site/ Your Wish
Your Site/ Your Wish
Your Site/ Your Wish
Your Site/ Your Wish
Your Site/ Your Wish
Currently ACCEPTING!!! |
|
|
|
|
|
 |
|
DISCLAIMER! |
|
|
|
|
|
|
THIS IS AN DISCLAIMER! MUST READ! QSHOW GRAPHICS IS NOT AN SITE OWNED BY AN COMPANY! BUT IT IS OWNED BY A 13 YEAR OLD GIRL! DO NOT TAKE ANY OF THESE GRAPHICS WITHOUT MY PERMISSION! IF YOU TAKE IT, CREDIT ME AND MY SITE OR LINK BACK! THIS IS NOT A JOKE! IF YOU BREAK THESE RULES, I WILL ADD YOUR SITE TO THE BLACK-LIST, NOT ONLY THAT, I WILL BAN YOUR I.P., AND I WILL REPORT TO YOUR HOST WHAT YOU DID WITH AN PHOTOGRAPHIC EVIDENCE! |
|
|
|
|
|
 |
|
Site Stats |
|
|
|
|
|
|
Web Owner: Aqua-Marine
Co-Web: Isadora
E-mail: qshowgraphics@gmail.com
Domain: qshowgraphics.de.tl
Host: Own-Free-Website
Since: 2010-04-12
About: Graphics, Celebs
LayoutName: Rainbow
Layout#: #2 |
|
|
|
|