81,122
社区成员




<script type="text/javascript">
var record;
function omo(id) {
if (record != null) {
document.getElementById(record).style.display = "none";
}
record = id;
document.getElementById(id).style.display = "";
}
</script>
<div>
<div onmouseover="omo('google')" style="background-color:Fuchsia">google</div>
<div id="google" style="display:none;"><img src="http://www.google.cn/intl/zh-CN/images/logo_cn.gif" /></div>
<div onmouseover="omo('baidu')" style="background-color:Lime">baidu</div>
<div id="baidu" style="display:none;"><img src="http://www.baidu.com/img/baidu_logo.gif" /></div>
</div>
function MM_changeProp(objId,x,theProp,theValue) {
var obj = null; with (document){ if (getElementById)
obj = getElementById(objId); }
if (obj){
if (theValue == true || theValue == false)
eval("obj.style."+theProp+"="+theValue);
else eval("obj.style."+theProp+"='"+theValue+"'");
}
}
<div class="bt_y" id="bt_y"
onMouseOver="MM_changeProp('bt_y_mid_arrage','','background','url(bt_y_mid.jpg) repeat-x','DIV');MM_changeProp('bt_y_left_arrage','','background','url(bt_y_left.jpg)','DIV');MM_changeProp('bt_y_right_arrage','','background','url(bt_y_right.jpg)','DIV')"
onMouseOut="MM_changeProp('bt_y_mid_arrage','','background','url(wirt.jpg) repeat-x','DIV');MM_changeProp('bt_y_left_arrage','','background','url(wirt.jpg)','DIV'); MM_changeProp('bt_y_right_arrage','','background','url(wirt.jpg)','DIV')">
<div id="bt_y_left_arrage" class="bt_y_left"></div>
<div id="bt_y_mid_arrage" class="bt_y_mid">
<div class="img">
<img src="add.gif" width="26" height="26">
</div>
<a style=""
href="javascript:submit();">确定</a>
</div>
<div id="bt_y_right_arrage" class="bt_y_right"></div>
</div>
</div>
.bt_y {
float: left;
margin-left: 0px;
width: 64px;
height: 26px;
text-align: center;
line-height: 26px;
color: #FFFFFF;
text-decoration: none;
font: "宋体"
}
.bt_y a {
text-decoration: none;
color: #333333;
font-size: 9pt;
}
.bt_y_mid {
height: 26px;
width: 54px;
float: left;
background: repeat-x;
}
.bt_y_right {
height: 26px;
float: right;
width: 5px;
}
.bt_y_left {
height: 26px;
float: left;
width: 5px;
}
.bt_y_mid on {
height: 26px;
width: 54px;
float: left;
background: url(../images/newbt_y_mid.jpg) repeat-x
}
.bt_y_right on {
height: 26px;
float: right;
width: 5px;
background: url(../images/bt_y_right.jpg)
}
.bt_y_left on {
height: 26px;
float: left;
width: 5px;
background: url(../images/bt_y_left.jpg)
}
.img {
float: left;
width: 26px;
height: 26px;
}