"基座"一份菜单? [英] "Dock" a menu?

查看:60
本文介绍了"基座"一份菜单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以停靠一个菜单,基本上可以实现与不使用帧的

帧相同的效果?是否需要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.com>

写道:
On Thu, 21 Oct 2004 21:12:04 -0700, Steve <ng*****@digitalnothing.com>
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.com>写道:
Neal <ne*****@yahoo.com> writes:
2004年10月21日星期四21:12 :04 - 0700,Steve< ng ***** @ digitalnothing.com>
写道:
On Thu, 21 Oct 2004 21:12:04 -0700, Steve <ng*****@digitalnothing.com>
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;一份菜单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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