当应用程序的主页中有太多选项卡时,您如何处理?
实际上我认为这是一个设计问题。
问题是,如果您在母版页顶部以编程方式生成了选项卡(例如通过使用中继器控件),那么在有太多选项卡后如何处理它们,以便它们不会与浏览器的视口重叠?
如果已经有一些针对此类问题的模式,我不想重新发明轮子。
有什么建议吗?
谢谢
Actually I think it is a bit design issue.
Question is, if you have programmatically generated tabs -let's say by using repeater control- at the top of your masterpage, how do you handle them after you have too many -so that they do not overlap the view-port of the browser?
I don't want to reinvent the wheel if there are already some patterns for such an issue.
Any recommendations?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您的选项卡是动态的,您可能应该将它们移动到垂直侧边栏而不是水平选项卡,这将使其更具可扩展性。为了保持一致的外观和感觉,在顶部设置静态主选项卡和动态关联的垂直选项卡可能是个好主意。不确定这是否有帮助?
If your tabs are going to be dynamic you should probably move them to a vertical side bar as opposed to a horizontal tab, this would make it more scalable. To maintain a consistent look and feel its probably a good idea to have static main tabs at the top with dynamic associated vertical tabs. Not sure if this helps at all?
如果您想保持水平布局,则需要将导航减少为可查看的项目,并使用某种 <<和>位于导航的左右边缘,使用户能够滚动到上一个或下一个可视集。
不确定这是否是您正在寻找的。
If you want to maintain a horizontal layout, you will need to reduce the nav to viewable items and have some sort of < and > at the left and right edges of the nav to enable the user to scroll to the prior or next viewable set.
Not sure if this is what you are looking for.