[英]Adobe AIR HTML/JS application with javascript scrollbars
I would like to know if it is possible to have custom Javascript scrollbars in an Adobe AIR application. 我想知道是否可以在Adobe AIR应用程序中使用自定义Javascript滚动条。 The AIR application is HTML/JS based.
AIR应用程序基于HTML / JS。 I want to have custom scrollbars for some divs and iFrames.
我想为一些div和iFrames设置自定义滚动条。 I've tried many jQuery plugins (antiscroll, lionbars, etc) but nothing worked.
我尝试了很多jQuery插件(antiscroll,lionbars等),但没有任何效果。 I can only style the native AIR scrollbars with CSS.
我只能使用CSS设置原生AIR滚动条的样式。
So, does Adobe AIR support javascript based scrollbars for HTML blocks / iFrames? 那么,Adobe AIR是否支持基于javascript的HTML块/ iFrame滚动条?
First, answer to your question: 首先,回答你的问题:
Yes, Adobe AIR support javascript based scrollbars for HTML blocks/iFrames. 是的,Adobe AIR支持基于javascript的HTML块/ iFrame滚动条。
And more to this answer: This is very old question but my answer would help someone. 对于这个答案更多:这是一个非常古老的问题,但我的回答会对某人有所帮助。 As there is not much documentation available for Adobe AIR.
由于没有太多可用于Adobe AIR的文档。 Do something in the Javascript, do not use latest jQuery plugin.
在Javascript中做一些事情,不要使用最新的jQuery插件。 It will work definitely.
它肯定会工作。 Go through the supported list of elements that supports the Adobe AIR.
浏览支持Adobe AIR的受支持的元素列表。
WebKit features not supported in AIR AIR中不支持WebKit功能
Adobe AIR 1.0 and later Adobe AIR 1.0及更高版本
AIR does not support the following features available in WebKit or Safari 4:
Cross-domain messaging via window.postMessage (AIR provides its own cross-domain communication APIs) 通过window.postMessage进行跨域消息传递(AIR提供自己的跨域通信API)
CSS variables CSS变量
Web Open Font Format (WOFF) and SVG fonts. Web开放字体格式(WOFF)和SVG字体。
HTML video and audio tags HTML视频和音频标签
Wireless Markup Language (WML) The following lists contain specific JavaScript APIs, HTML elements, and CSS properties and values that AIR does not support: 无线标记语言(WML)以下列表包含AIR不支持的特定JavaScript API,HTML元素和CSS属性及值:
Unsupported JavaScript Window object members: 不支持的JavaScript窗口对象成员:
Source: Adobe Air Flash Platform 资料来源: Adobe Air Flash Platform
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.