From: handa Date: Wed, 3 Mar 2010 23:38:31 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ALPHA~33 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a172637653ab0db1a9a2a559bfa60d162e4e24e5;p=m17n%2Fm17n-lib-js.git *** empty log message *** --- 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)