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])
{
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)