帝国cms模板网为大家提供个右下角广告漂浮代码
将以下代码添加到需要显示的网页即可!<div id="ShowAD" style="position:absolute; z-index: 100;"> <div id="ImgLayer" style="position:absolute; z-index:1; left: 0px;"> <a href="https://www.daixiao360.cn/" t……
将以下代码添加到需要显示的网页即可!
<div id="ShowAD" style="position:absolute; z-index: 100;"> <div id="ImgLayer" style="position:absolute; z-index:1; left: 0px;"> <a href="https://www.daixiao360.cn/" target="_blank"> <img src="/d/file/2024/08/20/1724085160-66c373a832bf8.jpeg" border="0" Width="150" Height="150"></a></div></div><script type="text/javascript">var bodyfrm = ( document.compatMode.toLowerCase()=="css1compat" ) ? document.documentElement : document.body;var adst = document.getElementById("ShowAD").style;adst.top = ( bodyfrm.clientHeight - 150) + "px";adst.left = ( bodyfrm.clientWidth - 150) + "px";function moveR() {adst.top = ( bodyfrm.scrollTop + bodyfrm.clientHeight - 150) + "px";adst.left = ( bodyfrm.scrollLeft + bodyfrm.clientWidth - 150) + "px";}setInterval("moveR();", 80);function CloseIVR(){ adst.display='none';} //--> </script>
- 上一篇
帝国cms首页调用已注册会员人数和最新会员名称
<?php$members=$empire->gettotal("select count(*) as total from phome_enewsmember");$newmember=$empire->fetch1("select userid,username from phome_enewsmember order by userid desc limit 1");?>会员总人数
- 下一篇
帝国cms制作导航下拉菜单的代码
以下是下拉菜单导航的html列子,根据帝国cms导航标签自己去写吧<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>css