htc文件:为什么不使用它们? [英] htc files: Why not to use them?
问题描述
我正在开发一个旨在为最终用户提供桌面感觉的网络应用程序。这意味着我需要一个跨浏览器的感觉的应用程序(谁没有。eheh)。
I am developing a web application that aims to give a desktop feeling for the end user. That means I need a cross-browser feeling to the application (who doesn't? eheh).
所以,我发现了.htc文件,调整(例如,不支持border-radius)。我的疑问是:为什么不是每个人都使用它们?它有一些我忽略的问题吗?从我看到的地方,它似乎几乎是前端程序员的圣杯...
So, I found about .htc files, for working around some IE tweaks (doesn't support border-radius yet, for example). My doubt is: Why isn't everyone using them? Does it come with some problems I am ignoring? From the place I am seeing, it appears to be almost the holy grail for the front-end programmers...
推荐答案
引用维基百科:
HTML组件(HTC)是一种
非标准机制,用于在脚本中实现
组件为动态HTML
(DHTML)behaviors[1]在
中Microsoft Internet Explorer web
浏览器。这样的文件通常使用
.htc扩展名。
HTML Components (HTCs) are a nonstandard mechanism to implement components in script as Dynamic HTML (DHTML) "behaviors"[1] in the Microsoft Internet Explorer web browser. Such files typically use an .htc extension.
HTC通常是一个HTML文件(
JScript / VBScript) b $ b定义组件的元素。
这有助于组织行为
封装的脚本模块,可以将
附加到网页DOM的部分。
An HTC is typically an HTML file (with JScript / VBScript) and a set of elements that define the component. This helps to organize behavior encapsulated script modules that can be attached to parts of a Webpage DOM.
在以下两段中,提到以下内容:
In two paragraphs, the following are mentioned:
- Internet Explorer
- / li>
- VBScript
- 非标准
为什么不是每个人都在使用这项技术。
I think it's obvious why not everybody is using this technology.
这篇关于htc文件:为什么不使用它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!