张伊:
yigege0416 文魁: | buddhist_leewk 名屋官方微信平台: | cdmwqh';
newOptDiv.style.cssText = 'color:#FFF;font-weight:bold;text-decoration:none;BACKGROUND-IMAGE: url(../themes/default/images/bg.gif);position: absolute; z-index: 3; left: 38%; top: 1%; width: 340px; background-color: #fff; min-width:100px; border:1px red solid; max-width:550px;border: 4px solid #f1f1f1;';
newOptDiv.onmouseout=function()
{
t=setTimeout("delOption()",1000);
}
newOptDiv.onmouseover=function()
{
if(t)
{
clearTimeout(t);
}
}
document.body.appendChild(newOptDiv);
}
function delOption(){
var newOptDiv = document.getElementById('__menu');
var parent = newOptDiv.parentNode;
var removedChild = parent.removeChild(newOptDiv);
}
|