With this page I intend to show a content-tree of, in this example, imaginary files. The following functionality will be implemented:
- Opening and closing of a folder.
- Context-sensitive rightclick-menu's.
- Credits to Peter Nederlof. Due to a tip from my colleague I have update the dragEvent scripts to return false on mousemoves and effectively negating all drag/drop and select behaviours of Mozilla and IE browsers.
/
folder1
subfolder1
File1
File2
File1
File2
folder2
empty
File1
File2
(2004/09/07) I'm sorry, currently this example is broken, the drag functionality doesn't accually drag anything around anymore. I'll try and have a look at it sometime soon...
(2004/09/15) Well, sometimes all you need is sleep, and then you need to find some time to look at it again. And suprisingly enough the solution turns out to be ever so easy. The new design tricks around with some divs using z-indexing, all that needed to be done was giving the floater div a higher z-index... It's working as well as it was now, so have fun.