 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
nikki
Joined: 24 Nov 2008
Posts: 132
|
| Posted: Wed May 20, 2009 10:02 am Drag n Drop script |
|
|
I am using drag and drop script from
http://www.dhtmlgoodies.com/scripts/drag-drop-nodes/drag-drop-nodes-demo3.html
I have more number of divs in the right container. So i added a scrollbar to the right container. But I have problem to drop in the divs of the right container. Could someone please look at the script and help me. It works fine when there is no scroll bar in the right container. |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4288
Location: MS
|
| Posted: Wed May 20, 2009 12:29 pm |
|
|
| I see no scroll bar with either Firefox or IE. |
|
|
nikki
Joined: 24 Nov 2008
Posts: 132
|
| Posted: Thu May 21, 2009 9:53 am |
|
|
| This example does not have scrollbar. But I have added more number of div tags in the right container and set the height of the right container to 400px and overflow to scroll. |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4288
Location: MS
|
| Posted: Thu May 21, 2009 4:49 pm |
|
|
| The whole page worked just fine for me on the drag and drop. It does not continue to fill up after box is full. Is that the problem? |
|
|
nikki
Joined: 24 Nov 2008
Posts: 132
|
| Posted: Tue May 26, 2009 4:13 pm |
|
|
Did you add a scroll bar to right container?
If not, add 10 more div tags in the right container (dhtmlgoodies_maincontainer) . set the height of the right container to 250px, and overflow to scroll. And then try adding students to the last div tag in the right container. |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4288
Location: MS
|
| Posted: Tue May 26, 2009 6:45 pm |
|
|
| I used your onsite page and it would not accept any more after it was full. So, never got a scroll bar on any of them. |
|
|
nikki
Joined: 24 Nov 2008
Posts: 132
|
| Posted: Wed May 27, 2009 9:41 am |
|
|
Try to download the source code.
The right container (with id dhtmlgoodies_maincontainer) has 5 teams Team A - Team E.
Add 10 more number of Teams, Team F - Team O. You will get a scroll bar for the div tag with id dhtmlgoodies_maincontainer and not to the teams.
Then try dragging and dropping the students in Team O. |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|