如何创建菜单系统 [英] How to create menuing system

查看:73
本文介绍了如何创建菜单系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


提前致谢....


我看到这个网站 www.spatec.com.sg ...然后看到家的滑动菜单栏。 关于spatec,如何使用哪个html项创建此菜单栏?家里如果我不点击它菜单栏不会下拉(我希望它不是java点击鼠标悬停功能,因为我希望使用perl和html来实现相同的东西,或者我可以在perl或html中嵌入java?


此外,主菜单栏模板index.html始终显示在哪个菜单项中,在主页菜单下,我们点击子菜单

毕业生或新闻,后台的主模板总会存在,哪个html或java函数可以做到?我使用的是perl,反正也可以这样做吗?



谢谢,

Andrew

Hi All,

Thanks in advance....

I saw this website www.spatec.com.sg... And saw the slidedown menu bars of "home" "about spatec", how to create this menu bar using which html item? The home if I dont click on it the menu bar wont drop down(i hope it is not java click mouseover function as I hope to use perl and html to achieve same thing, or can I embed java in perl or html?

Also, the main menu bar template index.html always is presented in the which menu item say under "home" menu we click submenu
"graduates" or "news", the main template in the background will be there always, which html or java function can do it? I am using perl, anyway to do it also?


Thanks,
Andrew

推荐答案

用HTML无法完成,可能用javascript完成,看起来没看,但可以使用'hover''属性用CSS完成。我现在不能进入它。因为我要出去了。谷歌用于CSS下拉菜单。
It cannot be done with HTML, and it might be done with javascript, didn''t look, but it can be done with CSS using the ''hover'' property. I can''t go into it now since I''m going out. Google for "CSS drop down menu".


Javascript用于创建所需的下拉效果,但是,它是p在IE7和Safari中查看时,菜单下拉菜单的其余部分都会被Flash幻灯片显示隐藏。


正如drhowarddrfine建议您可以使用CSS,并使用它甚至可以在IE6-7中运行! 这里是一篇关于创建Suckerfish Dropdown的好文章。

Javascript is used to create the desired drop-down effect, however, it is poorly done. When viewed in IE7 and Safari the rest of the menu''s drop-downs are hidden by the flash slideshows.

As drhowarddrfine suggested you could use CSS, and with a little Javascript it will even work in IE6-7! Here is a decent article on creating a "Suckerfish Dropdown".

谢谢,

{\_ /}

('' '')

(")[DEATH](")

(")(")
Thanks,
{\_/}
('' . '')
(")[DEATH](")
(")(")


谢谢先生/全部,


我找到了完整的工作代码来搜索如果你因为任何原因无法使用它,这里有一个下载的工作示例: at 使用CSS创建一个多级下拉菜单,并通过jQuery改进它Kriesi.at - 新媒体设计


a)另外,我粘贴了代码,如何将下拉菜单移动到网页中心的集中位置?


b)如何利用主css模板轻松连接同一网站中的页面,因为我有很多子网页要包含在网站中,但保留主导航下拉菜单模板


提前致谢,

Andrew


html code
=======
Thanks Sir/all,

I found the complete working code at search for " if you can?t get this to work for any reason, here is a working example for download:" at Create a multilevel Dropdown menu with CSS and improve it via jQuery | Kriesi.at - new media design.

a) Also, I pasted the code, how to move the drop down menu to centralized position in web page''s centre?

b) how to make use of the main css template to interface with pages in the same website easily, as I have many sub html webpage to include in the website, but keep the main navigation drop down menu template


Thanks in advance,
Andrew

html code
=======
展开 | 选择 | Wrap | 行号


这篇关于如何创建菜单系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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