<div id="home">
<div id="logo"> </div>
<div id="foot"> <div class="button"> CLICK ME</div>
<div class="button two"> CLICK ME</div> </div>
</div>
<div id="show">
TEST TEST TEST TEST
</div>
$('.button').click(function(){
$('#show').show();
})
#home {
width: 400px;
height: 400px;
background-color: #ccffff;
}
#logo {
width: 100%;
height: 300px;
background-color: #0099ff;
}
#foot {
width: 100%;
height: 100px;
background-color: #009999;
}
.button {
width: 90px;
height: 30px;
background-color: red;
margin-left: 50px;
}
如果我点击.button然后GREEN .show告诉我在红色按钮,红色,并且如果我点击绿色.show那么这个隐藏外面我想。显示隐藏的div过电流股利和未来隐藏
LIVE:http://jsfiddle.net/YeE4p/1/
这是非常难以确定你的要求。也许编辑你的问题清晰? –
我想在stackoverflow上 - 如果你在首页你的昵称mouseover –
请_edit_您的问题表明。 –