projects
/
m17n
/
m17n-lib-js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
49a1ef8
)
*** empty log message ***
author
handa
<handa>
Wed, 3 Mar 2010 23:38:31 +0000
(23:38 +0000)
committer
handa
<handa>
Wed, 3 Mar 2010 23:38:31 +0000
(23:38 +0000)
xex.js
patch
|
blob
|
history
diff --git
a/xex.js
b/xex.js
index
e386132
..
68e38df
100644
(file)
--- 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--)
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';
};
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])
{
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.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)
sub_li.appendChild (document.createTextNode (imname));
sub.appendChild (sub_li);
if (MIM.imlist[lang][name] == MIM.current)