From a172637653ab0db1a9a2a559bfa60d162e4e24e5 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 3 Mar 2010 23:38:31 +0000 Subject: [PATCH] *** empty log message *** --- xex.js | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/xex.js b/xex.js index e386132..68e38df 100644 --- a/xex.js +++ b/xex.js @@ -3203,14 +3203,25 @@ MIM.select_menu = function (event) this.style.backgroundColor = 'yellow'; var children = this.getElementsByTagName ('ul'); for (var i = children.length - 1; i >= 0; i--) - children[i].display = 'block'; + { + children[i].display = 'block'; + children[i].visibility = 'visible'; + children[i].left = '100px'; + } + children = this.getElementsByTagName ('li'); + for (var i = children.length - 1; i >= 0; i--) + { + children[i].display = 'block'; + children[i].visibility = 'visible'; + children[i].left = '100px'; + } }; li.onmouseout = function () { this.style.backgroundColor = 'white'; }; li.appendChild (document.createTextNode (lang)); var sub = document.createElement ('ul'); sub.style.position = 'absolute'; sub.style.top = '0px'; - sub.style.display = 'none'; + sub.style.visibility = 'hidden'; li.appendChild (sub); for (var name in MIM.imlist[lang]) { @@ -3219,7 +3230,7 @@ MIM.select_menu = function (event) sub_li.style.position = 'absolute'; sub_li.style.top = '0px'; sub_li.style['list-style']= 'none'; - sub_li.style.display = 'none'; + //sub_li.style.visibility = 'hidden'; sub_li.appendChild (document.createTextNode (imname)); sub.appendChild (sub_li); if (MIM.imlist[lang][name] == MIM.current) -- 1.7.10.4