資源簡介
userstatus.php 解決全站靜態化后 頂部登陸狀態不顯示問題
在footer.html 中 加入如下腳本即可
//load jQuery(function () { jQuery.ajax({ url:'/userstatus.php', type:'GET', cache:false, success:function(msg) { msg=msg.replace("returnUrl","returnUrl=" encodeURIComponent(location.href) "&xxreturnurl="); if(jQuery("span[class='fright f14']"))jQuery("span[class='fright f14']").parent().html(msg); } }); });
代碼片段和文件信息
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????12232??2014-10-14?11:40??footer.htm
?????文件?????????261??2014-10-14?09:26??userstatus.php
-----------?---------??----------?-----??----
?????文件???????12232??2014-10-14?11:40??footer.htm
?????文件?????????261??2014-10-14?09:26??userstatus.php
評論
共有 條評論