简体   繁体   English

浏览器内UI技术列表?

[英]List of in-browser UI techniques?

I'd like to know what can be done in a browser UI (using a browser+CSS+javascript, not using Flash or Silverlight). 我想知道在浏览器UI中可以做些什么(使用浏览器+ CSS + javascript,而不是使用Flash或Silverlight)。 For example, I think it's possible to: 例如,我认为有可能:

  • Drag and drop 拖放
  • Arrange list items horizontally, and make them behave like menu items 水平排列列表项,使它们像菜单项一样
  • Make things on page visible or invisible, depending on where the mouse is hovering 根据鼠标悬停的位置,使页面上的内容可见或不可见

I admit this is a broad question, but that's what I'm looking for: an overview of available UI techniques (preferably with, also, at least a little clue or hyperlink as to how to implement each one). 我承认这是一个广泛的问题,但这正是我正在寻找的:概述可用的UI技术(最好还有至少一些关于如何实现每个技术的线索或超链接)。

Do you know of such a list or dictionary? 你知道这样的名单还是字典?

I'm especially interested in any techniques for interaction and user input (ie not simply page layout and navigation where the end-user is only consuming information). 我对任何交互和用户输入技术特别感兴趣(即不仅仅是最终用户只消费信息的页面布局和导航)。


Edit: people answered that I should look to see what functionality is implemented in various 'JavaScript UI toolkits'. 编辑:人们回答我应该看看在各种“JavaScript UI工具包”中实现了哪些功能。 FWIW, the following are my brief review/summary after looking at some of the suggestions. FWIW,以下是我在查看一些建议后的简要回顾/总结。

To summarize, I think the best answers (ie the easiest-to-browse collections of the most functionality) are: 总而言之,我认为最好的答案(即最容易浏览的功能最多的集合)是:

look at the documentation for things like mootools and jquery UI , there are plenty of examples of the crazy stuff that you can do in there. 看一下像mootoolsjquery UI这样的文档,你可以在那里做很多疯狂的事情。

Also check out ajaxians UI section 另请查看ajaxians UI部分

查看JQueryJQueryUI

查看jquery UI http://jqueryui.com/以及插件http://plugins.jquery.com/这只是一个简单的例子,你可以通过Java Script实现

I think you could in principle do almost anything you can think of that involves the page changing how it looks in response to user action. 我认为你原则上几乎可以做任何你能想到的事情,包括页面改变它看起来如何响应用户的行为。 I mean, js can do amazing visual effects, including pretty complex animation and vectors, and retrieve data from anywhere that allows it to using ajax, so put that way you can display anything you want how you want. 我的意思是,js可以做出惊人的视觉效果,包括非常复杂的动画和矢量,并从允许它使用ajax的任何地方检索数据,所以这样你可以显示你想要的任何你想要的东西。

The question is how much resources these take client side. 问题是这些客户端需要多少资源。 While pretty much anything is possible, not everything will necessarily be practical, and I doubt there's any reliable way to decide which things will be too resource-heavy to realistically implement on the client side. 虽然几乎任何事情都是可能的,但并不是所有事情都必然是实用的,而且我怀疑是否有任何可靠的方法来决定哪些事情资源太多而无法在客户端实际实施。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM