Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] 防19楼【去其它城市】功能,绿色版本 FOR discuz x2.5

  [复制链接]
microtech 发表于 2015-4-15 16:51:12 | 显示全部楼层
looooooook
回复

使用道具 举报

long112315 发表于 2015-5-4 13:23:42 | 显示全部楼层
看看asd asd asd
回复

使用道具 举报

chao996 发表于 2015-5-4 18:29:50 | 显示全部楼层
终于找到了
回复

使用道具 举报

GWLIKJ 发表于 2015-6-30 16:18:44 | 显示全部楼层
<!--城市切换_开始,www.588jg.com-->
<style type="text/css">
#city *{ margin:0;padding:0; z-index:1000000; top:0;left:0px; float:left;}
#warpper{ position: relative; z-index:1000000; margin-top:20px;}
#city { font:normal 12px Verdana, Arial, Helvetica, sans-serif; text-

align:center; z-index:1000000;}
#city a{ cursor:pointer; color:#666}
#city dl{ height:18px; line-height:18px; padding:0 0px;}
#city dt,.normal{ float:left; padding:0 0px 0 0 ; border-right:0px solid #ccc;

text-decoration:none; width:auto; cursor:pointer; color:#0066FF; font-

weight:bold;}
#city dt.over{ position:relative;padding:0 0px 0px 0px; z-

index:1000001;color:#0066FF; font-weight:bold; height:20px; }
#city li{ float:left; list-style-type:none; margin:0px 5px; width:180px;}
#city #c1 li a{ float:left; list-style-type:none; margin:0px 3px; 0 0 }
#city dl dd{ position:absolute; width:180px; left:0;top:20px!important;

border:1px solid #bbb; background:#fff;

filter:progidXImageTransform.Microsoft.Shadow(Strength=4, Direction=120,

color=#cccccc); padding:3px 0;}
.block{ display:block;}
.none{ display:none;}
</style>
<script language="javascript">
function $(str){ return document.getElementById(str);}
function $$(str){ return document.getElementsByTagName(str);}
var timer;
function changeMenu(thisObj,num){
if(thisObj.className=="over") return false;
hids(thisObj);
thisObj.className="over";
$("c"+(num+1)).className="block";
$("c"+(num+1)).onmouseover=function(){clearTimeout(timer);}
$("c"+(num+1)).onmouseout=function(){timer=setTimeout(function(){hids

(thisObj);},500)}
thisObj.onmouseout=function(){timer=setTimeout(function(){hids(thisObj);},3000)}
}
function hids(thisObj){
clearTimeout(timer);
var tabObj=thisObj.parentNode.getAttribute("id");
var obj_dt=$(tabObj).getElementsByTagName("dt");
for(var i=0;i<obj_dt.length;i++){
obj_dt.className="normal";
$("c"+(i+1)).className="none";
}
}
</script>
<div id="city">
<dl id="warpper">
<dt>【其他站点】</dt>
<dd id="c1" class="none">
<ul>
<li>
<a href="http://#" target="_blank">城关镇</a>
<a href="http://#" target="_blank">杨桥镇</a>
<a href="http://#" target="_blank">鲖城镇</a>
<a href="http://#" target="_blank">谭棚镇</a>
<a href="http://#" target="_blank">老集镇</a>
<a href="http://#" target="_blank">滑集镇</a>
<a href="http://#" target="_blank">吕寨镇</a>
<a href="http://#" target="_blank">单桥镇</a>
</ul>
</dd>
</dl>
</div>
<!--城市切换_结束,www.588jg.com -->
回复

使用道具 举报

blackbee 发表于 2015-9-9 22:14:27 | 显示全部楼层
这代码不错哦
回复

使用道具 举报

rgs84 发表于 2015-12-3 23:59:36 来自手机 | 显示全部楼层
看看,正需要
回复

使用道具 举报

yj999 发表于 2015-12-4 12:38:52 | 显示全部楼层
沙发了。。。沙发了。。。
回复

使用道具 举报

NobitaMai 发表于 2016-5-24 15:39:30 | 显示全部楼层
:'(:'(:'(:'(:'(:'(
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-19 02:35 , Processed in 0.099251 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表