Web开发中UA的实现

一、什么是UA?

UA:User assistance

1、UA是针对特定产品的任何形式的文档,包括打印文档、在线文档、帮助文档;

2、UA提供支撑信息,主动引导客户达成其工作目标;

3、UA提供支撑信息,帮助用户完成与软件的交互;

4、UA致力于如何帮助用户更好的应用产品。

二、UA 的目标

实现5R:Our goal is to provide the right content to the right person ,at the right time,in the right format , and in the right media.

三、UA和UI的关系

1、本质区别:

User Assistance is documentation that helps a user understand how to use a product.UA侧重帮助信息设计。

The User Interface are the screens that let the user and the program interact.UI侧重视觉设计和交互设计。

2、融合:UI和UA融合,UI中体现了帮助信息,在UA中也会集成软件界面功能。

3、相似性:UA和UI的目标是统一的,都是为了提高产品的可用性,帮助用户更有效、更轻松的使用产品。

四、UA的代码实现

//IE的浏览器模式、文本模式设置为IE8标准

<meta http-equiv="X-UA-Compatible" content="IE=8" />

//导入qtip所使用的qtip css  ,qtip js

<link type="text/css" href="<s:url value="/css/jquery.qtip.min.css"></s:url>" rel="stylesheet" />

<script type="text/javascript" src="<s:url value="/javascript/lib/jquery.qtip.min.js"></s:url>"></script>

//引入前台资源文件

<script type="text/javascript" src="<s:url value="/javascript/i18n/messages-cn.js"></s:url>"></script>

找出对应的控件,添加UA代码

      var itemForm = currTabRoot.find('#控件 ');
      itemForm.find('#控件父类).find('td').each(function () {
          var tipID = $(this).find('input').attr('id') + '_tip';
          $(this).qtip({
              content: resource.popuptips.evalitem[tipID],//前台的message资源文件
              show: 'mouseover',
              hide: 'mouseout',
              position: {
                  my: 'top center',
                  at: 'bottom center',
              }
          });

注意:使用qtip时,尽量使用qtip2相关的js、css,否则在IE下冒泡的箭头不能正常显示

转载于:https://www.cnblogs.com/skay--001/archive/2013/01/31/2886554.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值