-
Stuck on javascript Drag and Drop
Hey Guys Im almost done, editing an opensource script, but it would budge when i tried debugging it...
it tried adding a scroll on the boxes but when i scroll it down to the last box, and drag it, there is a descripancy on the box drag coordinates.
Im not really good on AJAX, is there anyone here that could advise me what to do..
http://gramercyforge.com/main-dev1/_...bar/index.html
-
Official FK nice guy and MOD
I am for sure no Javascript guru, but from what I am seeing, itlokks as if you will need to add code to get the scroll height of the box and subtract that from the y coordinates. The amount of extra height you are seeing when you try to drag an item that is scrolled in directly proportional to the amount you have scolled the objects.
Here are a couple of things to look at:
http://www.sitepoint.com/article/pre...croll-position
http://www.thescripts.com/forum/thread147749.html
3P
-
yup, your right, but i cant seem to know how to get the scroll height...
but i think im not gonna use this, I have seen another script that do this...
thanks anyway.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|