用于菜单的模板或模型 [英] Template or model for menuing

查看:52
本文介绍了用于菜单的模板或模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在假期发布了,但我冒险重新发布,因为有没有回复的

。也许人们在所有

兴奋中忽略了我的文章。


我正在寻找一个模板或模型,用于下载

鼠标悬停在它们上面。标准:必须在没有JS的情况下工作,即使在IE中,

必须在非CSS浏览器中可接受地降级,不能以

像素大小。

这是我几周前发布的内容:


一段时间以来,我一直想改善菜单的外观/>
在我的网站上 http://www.tc3。 edu / instruct / sbrown / stat / 。我喜欢这两种方式的工作,在徘徊在选择上时打开一个子菜单:

http://www.cssplay.co.uk/menus/simple_vertical.html

http://www.grc.com/menu2/invitro.htm


它们是没有JS的纯CSS(即使是MSIE 5和6)。并且他们在像Lynx这样的非CSS浏览器中可以接受降价。但两者都以像素为单位设置了

- 第二个甚至使用图像而不是文本来获得顶级菜单。


我没跟谷歌好运,看起来像是一项非常多的工作

将所有像素反向转换为ems并对定位大惊小怪。

有谁知道我在哪里可以找到菜单的圣杯,一个设置

在IE5(*)中通过IE7以及真正的浏览器工作,没有JS

并且没有固定的像素尺寸?


(*)如果有必要,我可以在没有IE5兼容性的情况下生活。


-

Stan Brown,Oak Road Systems,Tompkins County,New York,USA
http:/ /OakRoadSystems.com/

HTML 4.01规范: http://www.w3.org/TR/html401/

验证者: http://validator.w3.org/

CSS 2.1规范: http://www.w3.org/TR/CSS21/

验证者: http://jigsaw.w3.org/css-validator/

为什么我们赢了'' t帮助您:
http://diveintomark.org/ archives / 200 ..._ wont_help_you

I posted over the holidays, but I venture to repost since there were
no responses. Maybe people overlooked my article among all the
excitement.

I''m looking for a template or model for menus that drop down when the
mouse hovers over them. Criteria: must work without JS, even in IE,
must degrade acceptably in non-CSS browsers, must not be sized in
pixels.

Here''s what I posted a couple of weeks ago:

For some time now, I''ve been wanting to improve the look of the menus
at my site http://www.tc3.edu/instruct/sbrown/stat/ . I like way
these two work, opening a submenu when hovering on a selection:

http://www.cssplay.co.uk/menus/simple_vertical.html

http://www.grc.com/menu2/invitro.htm

They are pure CSS with no JS (even for MSIE 5 and 6). And they
degrade acceptably in a non-CSS browser like Lynx. But both are set
up in pixels -- the second one even uses images instead of text for
the top-level menu.

I''ve had no luck with Google, and it seems like an awful lot of work
to back-convert all the pixels to ems and fuss with the positioning.
Does anyone know where I can find the Holy Grail of menuing, a setup
that works in IE5(*) through IE7 as well as real browsers, without JS
and without fixed pixel dimensions?

(*) If necessary, I can live without IE5 compatibility.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won''t Help You:
http://diveintomark.org/archives/200..._wont_help_you

推荐答案

Stan Brown写道:
Stan Brown wrote:

>

我正在寻找一个模板或模型,用于当

鼠标悬停在它们上面时下拉菜单。标准:必须在没有JS的情况下工作,即使在IE中,

必须在非CSS浏览器中可接受地降级,不能在

像素中调整大小。
>
I''m looking for a template or model for menus that drop down when the
mouse hovers over them. Criteria: must work without JS, even in IE,
must degrade acceptably in non-CSS browsers, must not be sized in
pixels.



你可能想看一下Brothercake菜单
http://www.brothercake.com/dropdown/

-

Berg

You might want to look at the Brothercake menu
http://www.brothercake.com/dropdown/

--
Berg


Wed,2008年1月9日16:49:24 -0600来自Bergamot< be ****** @ visi.com>:
Wed, 09 Jan 2008 16:49:24 -0600 from Bergamot <be******@visi.com>:

Stan Brown写道:
Stan Brown wrote:


我正在寻找一个模板或模型,用于下载菜单时/>
鼠标悬停在它们上面。标准:必须在没有JS的情况下工作,即使在IE中,

必须在非CSS浏览器中可接受地降级,不能在

像素中调整大小。

I''m looking for a template or model for menus that drop down when the
mouse hovers over them. Criteria: must work without JS, even in IE,
must degrade acceptably in non-CSS browsers, must not be sized in
pixels.



你可能想看一下Brothercake菜单
http://www.brothercake.com/dropdown/



感谢您的建议,但他们似乎无法工作对我来说

Javascript已关闭。 (我没有尝试使用Javascript打开它们。)


http://www.udm4.com/demos/expanding-multiple.php 没有

开放甚至低于一个等级顶级。


-

Stan Brown,Oak Road Systems,美国纽约汤普金斯县
http://OakRoadSystems.com/

HTML 4.01规范: http://www.w3.org/TR/html401/

验证者: http://validator.w3.org/

CSS 2.1规范: http://www.w3.org/TR/CSS21/

验证人: http:// jigsaw .w3.org / CSS-VAL idator /

为什么我们不能帮助你:
http://diveintomark.org/archives/200..._wont_help_you

Thanks for the suggestion, but they don''t seem to work for me with
Javascript turned off. (I didn''t try them with Javascript turned on.)

The demo at http://www.udm4.com/demos/expanding-multiple.php did not
open up even one level below the top level.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won''t Help You:
http://diveintomark.org/archives/200..._wont_help_you


Stan Brown meinte:
Stan Brown meinte:

必须在没有JS的情况下工作,即使在IE中,
must work without JS, even in IE,



我认为这是非常不可能的。如果您正在谈论IE6或更早版本。


无论如何,没有javascript的下拉菜单给了我106.000

点击数。不过,我认为

中还有纯粹的css-and-ie6-too版本。亲身体验: http://www.alistapart.com/articles/dropdowns/


Gregor



-
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com :::Bildagenturfürdenalpinen Raum

I suppose that''s pretty impossible. If you''re talking about IE6 or earlier.

Anyway, "dropdown menus for ie without javascript" gives me 106.000
hits. Still, I don''t think there is a pure-css-and-ie6-too version among
them. See for yourself: http://www.alistapart.com/articles/dropdowns/

Gregor


--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum


这篇关于用于菜单的模板或模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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