如题!
我的宠物网站重新做了一个风格,并在首页增加了漂浮广告和对联广告的代码(按SS默认的代码),但是不能显示,请问是什么原因?麻烦高手帮忙一下,谢谢!
我是在</body>之前加的那段代码:-
- <!--{if !empty($_SCONFIG['indexadfloating']) || !empty($_SCONFIG['indexadside'])}-->
- <script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
- <script type="text/javascript">
- <!--{if !empty($_SCONFIG['indexadfloating'])}-->
- var lengthobj = getWindowSize();
- lsfloatdiv('floatAdv', 0, 0, "<div style="position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;"><!--{eval echo jsstrip($_SCONFIG['indexadfloating']);}--><\/div>").floatIt();
- <!--{/if}-->
- <!--{if !empty($_SCONFIG['indexadside'])}-->
- lsfloatdiv('coupleBannerAdv', 0, 0, "<div style="position: absolute; left: 6px; top: 6px;"><!--{eval echo jsstrip($_SCONFIG['indexadside']);}--><br \/><img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');"><\/div><div style="position: absolute; right: 6px; top: 6px;"><!--{eval echo jsstrip($_SCONFIG['indexadside']);}--><br \/><img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');"><\/div>").floatIt();
- <!--{/if}-->
- </script>
- <!--{/if}-->
- <!--{if !empty($_SCONFIG['indexadwindow'])}-->
- <script type="text/javascript">
- window.open('$_SCONFIG[indexadwindow]');
- </script>
- <!--{/if}-->
复制代码 |