导航菜单出现问题,需要一个好的解决方案 [英] Problem with navigation menu, need a good solution

查看:65
本文介绍了导航菜单出现问题,需要一个好的解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,有人可以帮我解决这个问题吗?

我想浏览左侧的sectio,

成员资格(链接)
当您点击会员资格时,
2个链接的划分下降
-登录
-注册

我不想使用javascript,仅使用CSS/HTML即可,如果我再次重新加载页面也可以.
但是该怎么做呢?

Hello, Would any one help me with this problem?

I want to make a navigation of the left side sectio,

Membership (link)
when you click on membership,
a division of 2 links goes down
-Login
-Register

I dont want to use javascript, just using CSS/HTML its ok if i reload the page again.
But how to do it ?

推荐答案

如果您想在客户端单击事件,您必须使用javascript

使用css,您可以在悬停时发生事件,或者应该提供两个相同的页面,其中一个带有成员资格链接,另一个带有您需要的两个链接,但这远不是一个很好的解决方案:p

这是一个非常简单的javascript,您应该尝试使用javascript(更好的广告jquery)
you must use javascript if you want events on client click

with css you can have events on hover or you should provide two identical pages with one with the membership link and the other with the two links you need, but it is far from being an elegant solution :p

it''s a very easy javascript , you should try with javascript (better ad easier jquery)


这篇关于导航菜单出现问题,需要一个好的解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆