drag n drop question

0 views
Skip to first unread message

Brian Feliciano

unread,
Nov 3, 2006, 1:14:52 AM11/3/06
to rubyonrail...@googlegroups.com
i have a <ul> <li> </li> </ul> list and it's assigned as a Droppable object and i am having problems in IE only
1. first when it is a Droppable, the overflow:hidden of it's container doesn't work anymore.
2. whenever i drop something, IE throws an error relating setting Element.offset
this is the sample structure of my list
<ul>
  <li><a href="#"> Droppable 1 </a></li>
  <li><a href="#"> Droppable 2 </a></li>
  <li><a href="#"> Droppable 3 </a></li>
  <li><a href="#"> Droppable 4 </a></li>
  <li><a href="#"> Droppable 5 </a></li>
</ul>
the Droppable object is assigned to the <li>, but i also tried assigning to the <a> but still.
i have added Position.includeScrollOffsets = true; to accommodate the overflows but only works in firefox.


Christophe Porteneuve

unread,
Nov 3, 2006, 4:44:12 AM11/3/06
to rubyonrail...@googlegroups.com
Hey Brian,

Brian Feliciano a écrit :


> i have a <ul> <li> </li> </ul> list and it's assigned as a Droppable
> object and i am having problems in IE only

What are you making the list droppable for? Maybe Sortable is what
you're looking for.

--
Christophe Porteneuve aka TDD
t...@tddsworld.com

Brian Feliciano

unread,
Nov 6, 2006, 4:24:32 AM11/6/06
to rubyonrail...@googlegroups.com
No, the list are Droppable objects and i have a separate list of draggable objects.

Brian Feliciano

unread,
Nov 9, 2006, 5:42:50 AM11/9/06
to rubyonrail...@googlegroups.com

Christophe Porteneuve

unread,
Nov 9, 2006, 5:53:07 AM11/9/06
to rubyonrail...@googlegroups.com
Hey Brian,

Brian Feliciano a écrit :


> i have a <ul> <li> </li> </ul> list and it's assigned as a Droppable
> object and i am having problems in IE only

OK, before we go any further, can you describe the functionality you
need? And/or put a reproducable case online for us to tinker with?

The first is to see whether there's a simpler way. The second is in
case there's none :-)

Reply all
Reply to author
Forward
0 new messages