From 872ca4b5462b97e5e9afba5e6a77abd20502dd15 Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 22 Dec 2009 20:39:34 -0200 Subject: Making the child menu appear at the same level of the parent --- finder_menu.js | 6 ++++++ 1 file changed, 6 insertions(+) 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); } -- cgit v1.2.3