实现Ext.QuickTips()的最小需求是多少? [英] What are the Bare Minimum Reqs to implement Ext.QuickTips() fully?

查看:163
本文介绍了实现Ext.QuickTips()的最小需求是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我重做了我之前提出的问题,我想请以不同的方式更多地关注概念,而不是我的具体问题。

I'm redoing a question I made earlier, I want to ask it in a different way focusing more on the concept rather then my specific problem.

我在看 Saki的表单示例,具体来说,显示表单提交错误。我运行Ext-JS 3.3.0,我在寻找与我的设计几乎相同的功能(我的内联,然而,提示将显示为用户离焦从文本框)。

I'm looking at Saki's Form Examples, specifically, Displaying Form Submit Errors. I'm running Ext-JS 3.3.0, and I'm looking for pretty much the same functionality in my design (mine would be inline however, and the tips would appear as the user defocuses from the textbox).

我的问题是:什么是最小的REQ文件,我需要包括在我的HTML,以获得Quicktips和运行像Saki的。现在在你说你看看Saki的例子,我有很多。他使用的是旧版本的Ext-JS,我无法确定哪些文件是重要的,哪些不在他的HTML ...中指定如下:

My Question is: what are the minimum REQ files that I need to include in my HTML to get Quicktips up and running like Saki's. Now before you say did you look at Saki's example, I have...a lot. He's using an older version of Ext-JS and I am having trouble determining what files are important and which ones are not in his HTML... specified below:

<link rel="stylesheet" type="text/css" href="./ext/resources/css/ext-all.css" />
<link id="theme" rel="stylesheet" type="text/css" href="./css/empty.css" />
<link rel="stylesheet" type="text/css" href="./css/icons.css" />
<link rel="stylesheet" type="text/css" href="./css/formerrors.css" />
<link rel="shortcut icon" href="./img/extjs.ico" />
<script type="text/javascript" src="./ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="./ext/ext-all-debug.js"></script>
<script type="text/javascript" src="./js/Ext.ux.form.XCheckbox.js"></script>
<script type="text/javascript" src="./formerrors.js"></script>

Empty.css,icons.css,extjs.ico和Ext.us.form.XCheckbox。

Empty.css, icons.css, extjs.ico, and Ext.us.form.XCheckbox.js are the ones I'm unsure where he got.

我正在研究如何 CSS Specificity 工作,所以我不需要帮助修复它的整体风格(希望)。我只想知道我需要确保我包括在我的HTML,所以我知道它的我的错误明智的工具提示没有出现和看起来正确。现在的工具提示样式如下:

I'm researching how CSS Specificity works, so I won't need help fixing the overall style of it (hopefully). I just want to know what I need to make sure I include in my HTML so that I KNOW its my fault js wise that the tooltip isn't appearing and look correct. As it stands right now the style of the tooltip looks like this:

要utllize msgTarget ='side'我需要将它包含在表单中吗?或者我可以做一个xtype:'textarea'?

To utllize msgTarget='side' do I need to have it enclosed within a form? Or could I do it to a xtype:'textarea'?

推荐答案

假设你只需要标准的Ext提示,是

Assuming you just want the standard Ext tips, all you need are


  1. ext-all.css

  2. ext-base.js

  3. ext-all.js(在生产中不要使用-debug)

这篇关于实现Ext.QuickTips()的最小需求是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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