rt
是如下代码吗 请问放到哪个文件下呢 大侠
<script type="text/javascript">
_attachEvent(window, 'load', getForbiddenFormula, document);
function getForbiddenFormula() {
var toGetForbiddenFormulaFIds = function () {
ajaxget('plugin.php?id=cloudsearch&formhash=289d80c6');
};
var a = document.body.getElementsByTagName('a');
for(var i = 0;i < a.length;i++){
if(a.getAttribute('sc')) {
a.setAttribute('mid', hash(a.href));
a.onmousedown = function() {toGetForbiddenFormulaFIds();};
}
}
var btn = document.body.getElementsByTagName('button');
for(var i = 0;i < btn.length;i++){
if(btn.getAttribute('sc')) {
btn.setAttribute('mid', hash(btn.id));
btn.onmousedown = function() {toGetForbiddenFormulaFIds();};
}
}
}
</script>
<script src="source/plugin/yeei_login/template/img/jquery-1.6.4.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="source/plugin/yeei_login/template/img/style.css" />
<!-- 如jquery 同其他插件(模板)出现冲突 请修改此处 jq -->
<script language="javascript" > var jq = jQuery.noConflict();</script>
<script type="text/javascript">
jq(function() {
var topHead = jq('#yeei_logon_head').position().top;
jq(window).scroll(function() {
if (jq(window).scrollTop() > topHead) {
jq('#yeei-login-Top').fadeIn(100);
jq('#yeei_login_ad').fadeIn(100);
var topHr = jq('#yeei-login-Top').height()+'px';
jq('#yeei_login_ad').css("bottom",topHr);
} else {
jq('#yeei-login-Top').fadeOut(100);
jq('#yeei_login_ad').fadeOut(100);
};
});
});
jq(function() {
jq("#ls_cookietimes").click(function() {
if (jq("#ls_cookietimes").attr("checked")) {
jq("#ls_cookietimes2").attr("checked",true);
}else{
jq("#ls_cookietimes2").attr("checked",false);
}
});
});
function lsSubmits(op) {
var op = !op ? 0 : op;
if($('ls_usernames').value == '' || $('ls_passwords').value == '') {
showWindow('login', 'member.php?mod=logging&action=login' + (op ? '&cookietime=1' : ''));
} else {
ajaxpost('lsforms', 'return_ls', 'return_ls');
}
return false;
}
</script>
<style type="text/css">
body{ padding-bottom:50px}
#yeei-login-Top .con{ background:#2267B5; }
#yeei-login-Top .remi{ color:#FFFFFF}
#yeei-login-Top .bot a{color:#fcff00}
</style>
<div id="yeei-login-Top" style="bottom:0px!important;top:auto" >
<div class="con">
<div class="wp cl">
<div class="z yah">
<div class="remi yah">
您尚未登录安徽文学网,注册即可浏览更多精彩内容!
</div>
</div>
<div class="y">
<form method="post" autocomplete="off" id="lsforms" action="member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes">
<span id="return_ls" style="display:none"></span>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><input type="text" tabindex="1001" value="用户名" class="ipo ipoS" id="ls_usernames" name="username"></td>
<td><input type="password" tabindex="1002" value="******" autocomplete="off" class="ipo ipoS" id="ls_passwords" name="password"></td>
<td><button tabindex="904" class="push" type="submit" id="sqgn"><em>登录</em></button></td>
<td>
<a class="reg" href="member.php?mod=register"><em>立即注册</em></a>
<input style="display:none" type="checkbox" id="ls_cookietimes2" value="2592000" name="cookietime">
</td>
</tr>
<tr>
<td><div class="bot">
<label class="ls" for="ls_cookietimes"><input type="checkbox" tabindex="1003" value="2592000" class="pc" id="ls_cookietimes" name="cookietime">自动登录</label>
<a style="margin-left:30px" checked href="javascript:;">找回密码</a>
</div></td>
<td>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<input type="hidden" name="quickforward" value="yes" />
<input type="hidden" name="handlekey" value="ls" />
</form>
</div>
</div>
</div>
</div>
<div id="sqgn_menu" class="yeei_login_menu" style="display: none;">
<div class="fast" style="border:none;padding-top:3px;}">
<a href="connect.php?mod=login&op=init&referer=forum.php&statfrom=login_simple" class="qqurl"></a>
<a href="mpage_weibo-login.html" class="sinaurl"></a>
</div>
</div>
<script type="text/javascript">function showTool() {
if($("ft")){
var viewPortHeight = parseInt(document.documentElement.clientHeight);
var scrollHeight = parseInt(document.body.getBoundingClientRect().top);
var basew = parseInt($("ft").clientWidth);
var sw = $('tool').clientWidth;
if (basew < 1000) {
var left = parseInt(fetchOffset($("ft"))['left']);
left = left < sw ? left * 2 - sw : left;
$('tool').style.left = ( basew + left ) + 'px';
} else {
$('tool').style.left = 'auto';
$('tool').style.right = 0;
}
if (BROWSER.ie && BROWSER.ie < 7) {
$('tool').style.top = viewPortHeight - scrollHeight - 150 + 'px';
}
if (scrollHeight < -125) {
$('tool').style.visibility = 'visible';
} else {
$('tool').style.visibility = 'hidden';
}
}
}_attachEvent(window, 'scroll',function() {showTool()});</script><style type="text/css">#scrolltop{display:none;}
#tool {visibility: hidden;margin-left: 5px;position: fixed;bottom: 15px;width: 25px;overflow: hidden;}
#tool .qnav, #tool .backtop {display: block;width: 25px;height: 71px;text-indent: -9999em;overflow: hidden;}
#tool .backtop {cursor: pointer;background-position: -26px 0;margin-top: -2px;}
#tool .qnavlist {background-repeat: repeat-y;background-position: -51px 0;padding: 0 1px;}
#tool .qnavlist li {background-position: -77px 100%;line-height: 16px;text-align: center;}
#tool .qnavlist li a {display: block;width: 21px;padding: 10px 0 12px 1px;letter-spacing: -1px;}
#tool .qnavlist li a,#tool .qnvalist li a:hover { color: #444b50; text-decoration: none; }
.qnav, .qnavlist, .qnavlist li, .backtop {background: url(source/plugin/m0398_ls_55tool/template/top.png) no-repeat;}
#kefu_menu {background: #fff;border: 1px solid #ccc;padding: 5px;margin: -71px 0px 0px -26px;}
#kefu_menu li{display:block;padding:1px;}
#kefu_menu img{padding:0px 5px;}</style>
<div id="tool">
<span id="kefu" class="qnav">!kefu!</span>
<ul class="qnavlist"><li><a >发帖</a></li><li><a >认证</a></li><li><a >勋章</a></li><li><a >微言</a></li>
</ul>
<aclass="backtop">回顶部</a>
</div>
<div id="kefu_menu" style="display: none;"><li><a target="_blank" ><img src="source/plugin/m0398_ls_55tool/template/qq.png"/>网站管理</a></li><li><a target="_blank" ><img src="source/plugin/m0398_ls_55tool/template/url.png"/>博客</a></li><li><a target="_blank" ><img src="source/plugin/m0398_ls_55tool/template/qq.png"/>站务合作</a></li><li><a target="_blank" ><img src="source/plugin/m0398_ls_55tool/template/url.png"/>博客</a></li>
</div>
|