且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

导航菜单出现问题,需要一个好的解决方案

更新时间:2023-12-05 11:36:40

如果您想在客户端单击事件,您必须使用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)