织梦dedecms特效,织梦dedecms好看的模板
当前目录列表:
1、DedeCMS模板中如何使用下载的js特效代码?是不是修改路径后就可以直接使用了? 2、怎样在织梦DedeCMS网站上添加漂浮广告 3、织梦模板怎么添加特效?如:导航特效
DedeCMS模板中如何使用下载的js特效代码?是不是修改路径后就可以直接使用了?
这个只要路径对了 函数名没冲突就可以使用 有任何问题可以加我 免费帮助解决!
怎样在织梦DedeCMS网站上添加漂浮广告
漂浮广告用如下代码:
html xmlns=""
head
titlejs实现可关闭的自由漂浮广告代码_js特效_特效代码_;/title
meta http-equiv="content-type" content="text/html;charset=utf-8"
style type="text/css"
#img1{width:auto;position:absolute;top:43px;left:2px;z-index:10;}
#img1 div{width:auto;text-align:right;font-size:12px;}
#img1 div a:link{text-decoration:none;}
#img1 div a:hover{color:red;text-decoration:none;}
#img1 img{width:auto;border:1px solid black;}
p{margin-top:50px;text-align:center;}
/style
/head
body
div id="img1" onmouseover="pause_resume," onmouseout="pause_resume,"
diva href="javascript:void,0;" onclick="closediv," title="点击关闭"关闭/a/div
a href="" target="_blank"img src="images/logo_png.png" alt="js实现可关闭的自由漂浮广告代码"/a
/div
pjs代码可关闭的自由漂浮的图片广告特效/p
script type="text/javascript"
var xPos = 300;
var yPos = 200;
var step = 1;
var delay = 30;
var height = 0;
var Hoffset = 0;
var Woffset = 0;
var yon = 0;
var xon = 0;
var pause = true;
var interval;
var divid = img1; //浮动DIV的ID.
divid.style.top = yPos;
function changePos,{
width = document.body.clientWidth;
height = document.body.clientHeight;
Hoffset = divid.offsetHeight;
Woffset = divid.offsetWidth;
divid.style.left = xPos + document.body.scrollLeft;
divid.style.top = yPos + document.body.scrollTop;
if,yon{yPos = yPos + step;}else{yPos = yPos - step;}
if,yPos 0{yon = 1;yPos = 0;}
if,yPos = (height - Hoffset){yon = 0; yPos = ,height - Hoffset;}
if,xon{xPos = xPos + step;}else{xPos = xPos - step;}
if,xPos 0{xon = 1;xPos = 0;}
if,xPos = (width - Woffset){xon = 0; xPos = ,width - Woffset;}
}
function start,{
divid.visibility = "visible";
interval = setInterval,'changePos(',delay);
}
function pause_resume,{
if,pause{
clearInterval,interval;
pause = false;}
else{
interval = setInterval,'changePos(',delay);
pause = true;
}
}
function closediv,{
clearInterval,interval;
divid.style.display = "none";
}
start,;
/script
/body
/html
把需要改的地方改了就可以了,
织梦模板怎么添加特效?如:导航特效
1、你说的是导航颜色?这个需要自己写css样式表哈,和织梦标签无关
2、如果是说栏目名称下面的英文?你可以在后台把英文填写在seotitle栏里面,然后调用
3、上述方法的调用标签可以在后台填写处查看哈,有提示的!
2. 本站积分货币获取途径以及用途的解读,想在本站混的好,请务必认真阅读!
3. 本站强烈打击盗版/破解等有损他人权益和违法作为,请各位会员支持正版!
4. 建站教程 > 织梦dedecms特效,织梦dedecms好看的模板