| Page 1 of 1 | [ 4 posts ] |
|
Hi,
I have the following components in my website: Drag & Drop Layout Manager Rich Text Editor Menu Accordion Menu (http://www.i-marco.nl/weblog/yui-accordion/) The items in the accordion menu are drag&drop-able and I want to drag them to the editor. The items drag just fine, but once they leave the accordion menu they're behind everything else so you can't see them. The accordion menu is in the left panel of my full page layout and the editor is in the center. How would I make the draggable item's show above everything else? I've already tried the yui example on the site where they set the zIndex of the dragging item to 999 but it doesn't work in this case for some reason Thanks, BNThomas |
|
BNThomas wrote: How would I make the draggable item's show above everything else? By adjusting the z-index--BNThomas wrote: I've already tried the yui example on the site where they set the zIndex of the dragging item to 999 but it doesn't work in this case for some reason Well, something(s) must have a z-index > 999, right?It would help your case (meaning you're more likely to get a meaningful response) if you posted a publicly accessible URL to your code so it could be inspected with FireBug (or equivalent)--someone here may see something you missed. |
|
I figured out that if you use a proxy, it will let the proxy over the layout manager, but if you don't use a proxy it won't go outside the bounds of the panel that it's in.
|
|
The real issue is that Layout Manager uses the "overflow: hidden/scroll" CSS rules to maintain the look/feel that is expected. So, if a draggable item is located inside one of these containers, it will not be able to escape. The proper solution is to use DDProxy, since the proxy element lives outside of the overflowed container.
|
| Page 1 of 1 | [ 4 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