jQuery/UI/Tab ajax 未在 IE7/8 中加载 flash cfcharts

发布于 2024-09-15 00:49:32 字数 391 浏览 4 评论 0原文

我有一个 Coldfusion 页面,它使用 JQuery UI TAB 加载另一个 Coldfufion 页面,其中包含 Flash 格式的 cfchart。但这在 FF 中工作得很好。(所有内容都已加载,flash cfchart、表格...)

<li><a href="xxx.cfm?param=#xxx#">XXX</a></li>

但是在 IE 中:加载了使用 flash 对象生成的所有 html 元素,但 flash 对象和嵌入标记不显示在 IE 中运行 ajax 调用后完全启动。

我该如何修复此错误以使 Flash cfchart 在 IE 中显示?

任何建议或见解将不胜感激。 谢谢你提前谢谢你!

I have a coldfusion page that uses JQuery UI TAB to load another coldfufion page which includes a cfchart in flash format. But this works completely fine in FF.(everything was loaded, flash cfchart, tables ...)

<li><a href="xxx.cfm?param=#xxx#">XXX</a></li>

However in IE: all of the html elements that are generated with the flash object are loaded, except the flash object and embed tags do not show up at all after running an ajax call in IE.

how can i fix this error to let the flash cfchart display inIE?

Any suggestions or insight would be greatly appreciated.
Thank you thank you in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

慢慢从新开始 2024-09-22 00:49:32

我刚刚面临同样的问题。该问题源于几年前 Eolas 专利诉讼导致的一些额外的 JavaScript ColdFusion 注入,以帮助 IE 处理活动内容。既然 Microsoft 与 Eolas 达成了和解,现代版本的 IE 就不需要这个脚本填充程序了。

我编写了一个 CF 自定义标签,可以去除这些额外的垃圾,

<cfswitch expression="#thistag.executionmode#">
<cfcase value="end">
    <!--- Strip out the opening NOSCRIPT tag and anything from the closing </NOSCRIPT> to the end of the content --->
    <cfset thistag.generatedcontent = REReplace(Replace(thistag.generatedcontent, "<NOSCRIPT>", ""), "</NOSCRIPT>.*$", "")>
</cfcase>

只需用此标签包装您的 CFCHART 调用即可:

<cf_chartscrubber>
    <cfchart>...</cfchart>
</cf_chartscrubber>

似乎对我来说工作正常,但这是针对 Intranet 应用程序的,因此我可以进行一些实验。

I just faced this same issue. The problem comes from some extra JavaScript ColdFusion injects to help IE deal with active content as a result of the Eolas patent lawsuit from a few years back. Modern versions of IE shouldn't need this script shim now that Microsoft settled with Eolas.

I wrote up a CF custom tag that strips out this extra junk

<cfswitch expression="#thistag.executionmode#">
<cfcase value="end">
    <!--- Strip out the opening NOSCRIPT tag and anything from the closing </NOSCRIPT> to the end of the content --->
    <cfset thistag.generatedcontent = REReplace(Replace(thistag.generatedcontent, "<NOSCRIPT>", ""), "</NOSCRIPT>.*$", "")>
</cfcase>

Just wrap your CFCHART calls with this tag:

<cf_chartscrubber>
    <cfchart>...</cfchart>
</cf_chartscrubber>

Seems to be working okay for me, but this is for an intranet application so I can afford to experiment a bit.

饮湿 2024-09-22 00:49:32

尝试在页面的 init 上初始化 flash,然后通过 AJAX 端的ExternalInterface 与其进行通信。

try to init flash on init of page, and then communicate with it via ExternalInterface from AJAX side you have.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文