| Page 1 of 1 | [ 7 posts ] |
|
Hi All,
I'm new with yui and i'm trying to use the dd interaction group functionnality (http://developer.yahoo.com/yui/3/examples/dd/groups-drag_clean.html). I succeed to do do what I want except one thing. My problem is that i have to much elements to drag. So,when i define the drag elements into a div with the style overflow:scroll I can't drop the element. Does anyone know how i can do that ? Thx for helping |
Matt ParkerYUI Contributor
|
There's this:
http://developer.yahoo.com/yui/3/api/Pl ... croll.html but I didn't see any examples etc for it, and I've not used it. But it looks like what you'll want. Matt |
|
Are you trying to drag the element "out" of the scrollable area?
If so, you need to use the Proxy plugin, since the Proxy is a child of body and not a child of the scrollable div. The problem is, when you are inside a scrollable div and you start moving, you can't "escape" from that area, it will just scroll. Using the Proxy plugin will let it appear that you are dragging the element out of the scrollable area. Make sense? |
|
Maybe you right about the proxy plugin. But, as i told you before I'm a newbie with YUI. I use to work with jQuery. Could you tell me more (or an example) about the proxy plugin?
Just one thing, , when i'm dragging the element i can take it out the scrollable div, but when dropping it, it moves under the slot. Thx for your help |
|
|
|
hi, after a code review it appears that I'm using a proxy plugin but it doesn't work ....any other suggestion ?
Do you need my code to see what happen? |
|
You are going to need to post a link to a page. I can't keep going back and forth without something to look at and debug..
|
| Page 1 of 1 | [ 7 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group