HTML代码:[ <A onclick=_tgvshowLoginBox() href="javascript:void(0)">登录</A> ] 藏在js脚本内的代码如下:.......
lgb.innerHTML=' [ <a href="javascript:void(0)" onclick="_tgvshowLoginBox()">登录</a> ] ';.......
function _tgvshowLoginBox(para){
if(checkLogin()>10000){
toolbarRefresh();
}
else{
_tgvsendStat("ShowLogin");
if(!!para) showLoginBox(para);
else showLoginBox();
}
return false;
}