是否可以停靠一个菜单,基本上可以实现与不使用帧的 帧相同的效果?是否需要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
更多推荐
"基座"一份菜单?
发布评论