|
|
|
|
//e :Ҫ<><D2AA><EFBFBD>껬<EFBFBD><EABBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>me<6D><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>λ<EFBFBD><CEBB>;BPx <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>;DTime<6D><65>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD>ʾʱ<CABE><CAB1>
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD> --ycc 2010-01-08
|
|
|
|
|
///e :Ҫ<><D2AA><EFBFBD>껬<EFBFBD><EABBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>me<6D><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>λ<EFBFBD><CEBB>;BPx <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>;DTime<6D><65>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD>ʾʱ<CABE><CAB1>
|
|
|
|
|
///e :Ҫ<><D2AA><EFBFBD>껬<EFBFBD><EABBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>me<6D><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>λ<EFBFBD><CEBB>;BPx <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>;DTime<6D><65>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD>ʾʱ<CABE><CAB1>
|
|
|
|
|
function OverShowMenu(e,me,BPx,LPx,DTime)
|
|
|
|
|
{
|
|
|
|
|
if(typeof e != "string") return;
|
|
|
|
|
if(typeof me != "string") return;
|
|
|
|
|
if(typeof BPx != "number") BPx = 10;
|
|
|
|
|
if(typeof LPx != "number") LPx = 10;
|
|
|
|
|
if(typeof DTime != "number") DTime = 0;
|
|
|
|
|
if(typeof $=="function")
|
|
|
|
|
{
|
|
|
|
|
$(function(){
|
|
|
|
|
function _Over(e,me)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
var ele = $("#"+e),eofs = ele.offset(),ePx = -( ele.innerHeight()+BPx) ,she,TimeOutSpan;
|
|
|
|
|
ele.hover(function(){
|
|
|
|
|
if(!document.getElementById(me+"keep"))
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
$("body").prepend("<div class='alltourList' style='z-index:1000002;position:absolute;top:"+(eofs.top-ePx)+"px;left:"+(eofs.left -LPx)+"px;' id='"+me+"keep'>"+ $("#"+me).html()+"</div>");
|
|
|
|
|
she = $("#"+me+"keep") ;
|
|
|
|
|
she.hover(function(){if(TimeOutSpan)clearTimeout(TimeOutSpan);},function(){TimeOutSpan = setTimeout(she.hide(DTime),600);});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(TimeOutSpan)clearTimeout(TimeOutSpan);
|
|
|
|
|
she.show();
|
|
|
|
|
},function(){
|
|
|
|
|
TimeOutSpan = setTimeout(function(){she.hide(DTime)},600);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
_Over(e,me);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//OverShowMenu("textMenu","textBox",0,0,700);
|
|
|
|
|
//OverShowMenu("textMenu2","textBox2",0,0,700);
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
OverShowMenu("NAV_ChinaTravelGuide","BOX_ChinaTravelGuide",-305);
|
|
|
|
|
<a href="/travelguide/" class="moreCatagory" id="NAV_ChinaTravelGuide" >China Travel Guide</a>
|
|
|
|
|
<div class="alltourList" id="BOX_ChinaTravelGuide" style="display: none">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="#">xxxxxx</a></li>
|
|
|
|
|
<li><a href="#">xxxxxx</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
</div>
|
|
|
|
|
*/
|