doumanju2533 2012-03-21 16:40
浏览 64
已采纳

'clickable'下拉菜单css

Hello I'm just trying to figure out the concept of this example menu

http://www.cdrking.com

is it even a drop down menu at all? Sorry for my vague question, I'm still confused between php and javascript implementation. I'm trying to make something like their category menu so the right side will update as clicked.

Any ideas?

  • 写回答

4条回答 默认 最新

  • douruhu4282 2012-03-21 16:44
    关注

    yes, you want to use jquery for that. You can probably find a plug-in already written if you do a search for something like "jquery menu" or "jquery dropdown". You'll find a ton of options.

    The difference between php and javascript is, in the most basic answer: PHP uses data to make changes before the page loads, and to interact with the server/other pages. Javascript can make changes to a page even after it loads but does not interact with the server or other pages. So any kind of sliding or animated elements are likely to be javascript or jquery (or flash or css3 but that is something else entirely). Someone else can probably explain it more in depth or more technically correct, but I wanted to keep it basic as it sounds like you are just getting started.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog