免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[分享] 【IST出品】欢迎游客提示(iCode5)

欢迎游客提示

    代码作者:IST
    代码转换:IST
    版权归属:IST
    兼容效果:IE6 IE7 IE8 IE9 火狐 Chrome Safari
    支持网站:http://istyle.gain.tw/
    代码售价:零金砖
    其他信息:请将下述代码放到【全局】-->【站点信息】

  1. <script src="http://code.jquery.com/jquery-1.8.0.min.js" type="text/javascript"></script>
  2. <script type="text/javascript">
  3. jQuery=$.noConflict();jQuery("#append_parent").html('<div id="ntcwin" style="position: absolute; z-index: 100000; top:50%;left:50%;margin-left:-233px;margin-top:-28px; "><table cellspacing="0" cellpadding="0" class="popupcredit"><tbody><tr><td class="pc_l">&nbsp;</td><td class="pc_c"><div class="pc_inner"><span style="font-style: normal;">欢迎您光临IST!社区联想,我们将为您提供多项免费服务!</span></div></td><td class="pc_r">&nbsp;</td></tr></tbody></table></div>');
  4. jQuery("#ntcwin").fadeOut(3000);</script>
複製代碼

回復 4# cgyl


    本代码已对是否为游客进行了简单判断,只有游客才会提示。 至于你说的消失太快的问题,你可以修改3000这个数值,值越大消失的越慢

TOP

回復 8# bonimon


    你的代码为何不起作用?

TOP

返回列表