网站标志
如何制作标签切换边框模版
作者:管理员    发布于:2015-01-19 14:29:57    文字:【】【】【

PHPWEB实现多标签组合切换的原理,实际上是将一个标签切换边框模版(简称标签边框)和多个隐藏边框的插件组合,由标签切换边框来控制各插件的显示和隐藏。

标签边框模版位于base/border/目录,预留编号为:
标签边框(可选颜色)051-099
标签边框(不可选颜色)201-499
用户DIY制作标签边框,只需要制作不可选颜色的即可。
标签切换边框有带总标题的和不带总标题栏的,标签可位于上方或位于左侧。
标签边框的制作方法和插件边框类似:../../news/html/?356.html

样例一:不带总标题栏,标签位于上放的标签边框(211号)
<!-start->
<link href="images/gbl211.css" rel="stylesheet" type="text/css" />
<script>$(function(){$().switchLable('{ #pdvid# }','{ #borderlable# }','{ #borderroll# }')});</script>
<div class="pdv_border" style="border:1px #ff8c05 solid;background:#fff;padding:0px;margin:0px;height:100%">
<div class="gbl211_out">
<ul id="gblable_{ #pdvid# }" class="gblable">
<li class="gbl211">{ #coltitle# }</li>
</ul>
<div class="gbl211_more"><a href="{ #morelink# }" style="display:{ #showmore# }">更多&gt;&gt;</a></div>
</div>
<div  style="padding:{ #padding# }px">
<!-start->
<!-end->
</div>
</div>
<!-end->

样例二:标签位于左侧的标签边框(212号)
<!-start->
<link href="images/gbl212.css" rel="stylesheet" type="text/css" />
<script>$(function(){$().switchLable('{ #pdvid# }','{ #borderlable# }','{ #borderroll# }')});</script>
<div class="pdv_border" style="border:0px;background:#fff;padding:0px;margin:0px;height:100%">
<div class="gbl212_out">
<ul id="gblable_{ #pdvid# }" class="gblable">
<li class="gbl212">{ #coltitle# }</li>
</ul>
<div class="gbl212_more"><a href="{ #morelink# }" style="display:{ #showmore# }">更多&gt;&gt;</a></div>
</div>
<div  style="padding:{ #padding# }px">
<!-start->
<!-end->
</div>
</div>
<!-end->

浏览 (399) | 评论 (0) | 评分(0) | 支持(0) | 反对(0) | 发布人:管理员
将本文加入收藏夹
 
 
相关评论
最新点评
更多点评 发表点评
发表评论
您的评价
差(1) 一般(2) 好(3) 很好(4) 非常好(5)
评论标题
评论内容
验 证 码
看不清?更换一张
匿名发表 
 
 
新闻搜索
 
 

Warning: fopen(./1389.html) [function.fopen]: failed to open stream: Permission denied in D:\wwwroot\ntnic\wwwroot\includes\common.inc.php on line 1172

Warning: fwrite(): supplied argument is not a valid stream resource in D:\wwwroot\ntnic\wwwroot\includes\common.inc.php on line 1173

Warning: fclose(): supplied argument is not a valid stream resource in D:\wwwroot\ntnic\wwwroot\includes\common.inc.php on line 1174