diff options
-rw-r--r-- | finder_menu.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/finder_menu.js b/finder_menu.js index d7bdf89..c3a90cb 100644 --- a/finder_menu.js +++ b/finder_menu.js @@ -75,8 +75,14 @@ function ul2finder() // open or close a given finder tab
if (window.finderOpened[this.id] == false) {
+ // change properites
changelink('open',this);
cssjs('add',parentUls[0],showClass);
+
+ // make the child menu appear at the same level of the parent
+ $(parentUls[0]).css('top', $(this).position().top + 'px');
+
+ // execute open hook
if (window.finderHook['open'] !== undefined) {
window.finderHook.open(this);
}
|