...

View Full Version : move box within a box, results showing when click on firebug?!



jarv
06-15-2010, 09:28 AM
hi, on my site, http://www.jbiddulph.com/john-drag.html when i move the box within the box, the results are only shown when I click on the firebug icon?!

Can someone please help me here? I would like the results to be shown OnMouseUP

thanks

jarv
06-16-2010, 07:01 PM
Please help!

jarv
06-18-2010, 09:22 AM
can anyone help me here please?!

abduraooft
06-18-2010, 10:21 AM
<div onMouseDown="" onMouseUp="getvalues()">box</div>

function getvalues(){
document.getElementById('TOP').value=parseInt(document.getElementById('dd-demo-1').style.top)
document.getElementById('LEFT').value=parseInt(document.getElementById('dd-demo-1').style.left)
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum