我想为我的网站显示/隐藏菜单。显示/隐藏jQuery菜单
我希望它的功能类似于www.nicolaspopupshop.com,当您点击网站底部的"Partners"
。
我已经试过这一整天,我只是很困惑它如何工作。
我对HTML很好,但是一旦javascript进入游戏中,我很无能。我想这对专家来说是一个令人讨厌的问题,但如果有人能帮助我,那对我来说意味着这个世界。
谢谢!
这里是我的风格标签:
#footer .bottom #partners_trigger {
cursor: pointer;
margin-left: 170px; }
#footer .bottom #partner_list {
width: 320px;}
#footer .bottom #partner_list ul {
position: fixed;
text-align:center;
font-size:11px;
text-transform: uppercase;
bottom: 40px;
left: 50%;
width: 320px;
margin: 0 0 0 -160px;
background: #FA9313;
background: rgba(250, 147, 19, 0.85);
padding: 10px 0;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
z-index: 300;
line-height: 18px;
display: none; }
#footer .bottom #partner_list ul a {
color: white;
font-family: Arial, Helvetica;}
#footer .bottom #partner_list ul a:hover {
color: #e9118c; }
#footer .bottom #partner_list ul.active {
display: block; }
我试图把我在身体标记,但我不能得到正常显示。
你到现在为止的尝试。只需发布一些代码。 –
老兄,忘了CSS。发布你的html和javascript。 – Ringo