"基座"一份菜单?

编程入门 行业动态 更新时间:2024-10-27 19:18:40
本文介绍了"基座"一份菜单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否可以停靠一个菜单,基本上可以实现与不使用帧的 帧相同的效果?是否需要JavaScript(要不断地重新定位元素),或者可以使用CSS实现这一切吗? 谢谢, 史蒂夫

Is it possible to "dock" a menu, to basically achieve the same effect as frames without using frames? Is JavaScript required(to continually reposition the element), or can it all be achieved using CSS? Thanks, Steve

推荐答案

2004年10月21日星期四21:12:04 -0700,Steve< ng ***** @ digitalnothing> 写道: On Thu, 21 Oct 2004 21:12:04 -0700, Steve <ng*****@digitalnothing> wrote: 是否可以停靠一个菜单,基本上可以实现与不使用框架相同的框架效果? 如果您指的是搞砸书签和可用性问题, 没有什么比帧更好。 如果你指的是一个永久定位的导航区域, 。使用SSI或PHP,您可以在每页的 中包含导航区域的代码,然后使用CSS将其定位到您想要的位置。 是否需要JavaScript(继续重新定位元素,或者它可以用CSS实现吗? Is it possible to "dock" a menu, to basically achieve the same effect as frames without using frames? If you''re referring to screwing up bookmarking and the usability problems, nothing beats frames. If you''re referring to having a permanently positioned navigation area, sort of. With SSI or PHP, you can include the code for the nav area in each page, and then use CSS to position it where you want eternally. Is JavaScript required(to continually reposition the element), or can it all be achieved using CSS?

所有CSS。永远不要依赖Javascript。这是一个增强,从来没有 的要求。

All CSS. Never, ever rely on Javascript. It''s an enhancement, never a requirement.

Steve写道: 是否可以 ;船坞"一个菜单,基本上可以实现与不使用框架相同的框架效果?是否需要JavaScript(不断重新定位元素),还是可以使用CSS实现? Is it possible to "dock" a menu, to basically achieve the same effect as frames without using frames? Is JavaScript required(to continually reposition the element), or can it all be achieved using CSS?

查看position:fixed。 但是,请注意,今天某个着名浏览器的版本来自Redmond的还不支持这个......: - (

Check out "position: fixed". Beware, however, that today''s versions of a certain well-known browser from Redmond don''t yet support this.... :-(

Neal< ne ***** @ yahoo>写道: Neal <ne*****@yahoo> writes: 2004年10月21日星期四21:12 :04 - 0700,Steve< ng ***** @ digitalnothing> 写道: On Thu, 21 Oct 2004 21:12:04 -0700, Steve <ng*****@digitalnothing> wrote: 是否需要JavaScript(以便不断重新定位元素),或者可以这一切都可以通过CSS实现吗? Is JavaScript required(to continually reposition the element), or can it all be achieved using CSS?

所有CSS。永远不要依赖Javascript。它是一种增强,绝不是一个要求。

All CSS. Never, ever rely on Javascript. It''s an enhancement, never a requirement.

永远不要依赖CSS。它是一种增强,绝不是必需的。 - 克里斯

Never, ever rely on CSS. It''s an enhancement, never a requirement. -- Chris

更多推荐

&QUOT;基座&QUOT;一份菜单?

本文发布于:2023-11-17 03:37:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1608683.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:基座   菜单   amp   QUOT

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!