Search the web
Sign In
New User? Sign Up
ydn-javascript · Yahoo! User Interface Library Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Using a handle with a drag and drop list.   Message List  
Reply | Forward Message #22056 of 52127 |
I want to only have the top 20px of a 120px rectangle be the handle
for a drag and drop list. I'm hoping that someone can point me in the
right direction without having to hack around too much.




Fri Dec 7, 2007 10:28 pm

heavydevelop...
Offline Offline
Send Email Send Email

Forward
Message #22056 of 52127 |
Expand Messages Author Sort by Date

I want to only have the top 20px of a 120px rectangle be the handle for a drag and drop list. I'm hoping that someone can point me in the right direction...
heavydevelopment
heavydevelop...
Offline Send Email
Dec 7, 2007
10:28 pm

heavydevelopment -- You can use setHandleElId on the DD instance.. Here is a working example: http://blog.davglass.com/files/yui/dd21/ Hope that helps :) Dav ...
dav.glass@...
dav.glass
Offline Send Email
Dec 10, 2007
8:24 pm

Dave, You're the man. Works like a champ. I was playing around with isHandle. This might sound silly, but out of curiosity why did you use the <strong> tag and...
heavydevelopment
heavydevelop...
Offline Send Email
Dec 10, 2007
11:03 pm

Eric -- I don't like using DIV's for everything :) Normally, I would put some text in the strong instead of leaving it empty.. Besides, it was easier to style...
dav.glass@...
dav.glass
Offline Send Email
Dec 11, 2007
2:42 am

Dav Gotcha. I know what you are getting at in regards to over reliance on divs and the simplicity of using a standard tag element. But what if you were using...
heavydevelopment
heavydevelop...
Offline Send Email
Dec 11, 2007
6:32 pm

Eric -- You can always set the strong to not be bold :) ul.draglist li strong { font-weight: normal; } As for the class name thing, here is another snippet: ...
dav.glass@...
dav.glass
Offline Send Email
Dec 11, 2007
7:40 pm

Dav, have you seen anything like your sortable lists that has one list with 'liquid' width and the other with 'liquid' height? I am imagining a page with rows...
Mark Ireland
akaidr4vr
Offline Send Email
Dec 12, 2007
12:13 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help