简体   繁体   English

奇怪的Adobe Captivate 9 Internet Explorer 9 HTML 5按钮问题

[英]Bizarre Adobe Captivate 9 Internet Explorer 9 HTML 5 button issue

I am working on a project using the latest version of Adobe Captivate (version 9) to develop HTML5 modules, and I have just learned their LMS (I don't know the name) only uses Internet Explorer 9 (I know, I know). 我正在使用最新版本的Adobe Captivate(版本9)开发HTML5模块的项目,并且我刚刚了解到他们的LMS(我不知道名字)仅使用Internet Explorer 9(我知道,我知道) 。 For what it's worth, pretty much everything works or there has been a workaround that makes it look like it's working. 就其价值而言,几乎所有东西都可以工作,或者有一种变通方法使其看起来像在工作。

However, there is one rather odd issue that has eluded me: on the last slide of each module, there needs to be a close button that closes the module. 但是,有一个相当奇怪的问题困扰着我:在每个模块的最后一张幻灯片上,需要有一个关闭按钮以关闭模块。 While I have been able to get this to work on newer web browsers, for whatever reason in IE9, I have to DOUBLE-CLICK in order for this to work. 尽管我能够使它在较新的Web浏览器上运行,但是无论出于IE9的原因,我都必须双击以使其工作。 It doesn't matter if I'm using the "Exit" action within Captivate or executing Javascript to do the same thing. 无论是在Captivate中使用“退出”操作还是执行Java脚本执行相同操作,都没有关系。 For whatever reason, I have to double click. 无论出于什么原因,我都必须双击。

Here's where things get a little weird. 这是有些奇怪的地方。 The modules also have a playbar at the bottom, which includes an [X] button which will close the lesson (yes, I know that's redundant; it wasn't my idea), but I only need to click on it once for it to work. 这些模块的底部还有一个播放栏,其中包含一个[X]按钮,该按钮将关闭课程(是的,我知道这是多余的;这不是我的想法),但是我只需要单击一次即可工作。 Why does my close button need to be double-clicked to close the module? 为什么需要双击关闭按钮来关闭模块? (Yes, I know there is a check-box that can require the button to be double-clicked, but it isn't checked; trust me, I've looked!) Again, for what it's worth, I do have other buttons in the modules and they work with a single click. (是的,我知道有一个复选框可能需要双击该按钮,但未选中;请看一下,相信我!)同样,我有其他按钮在模块中,单击即可使用。

I know just enough javascript to know not mess with the output files, and my programming co-worker doesn't know what to make of it either, so I'm turning to you fellows to see if someone has something we haven't thought of. 我知道足够多的javascript不会弄乱输出文件,并且我的编程同事也不知道该怎么做,所以我转向您的同事,看看是否有人有我们没有想到的东西的。

Well, I was able to come up with a solution, for those of you who stumble across this. 好吧,我能够为那些偶然发现此问题的人提供解决方案。 What I ended up doing was replacing the buttons with weblinks. 我最终要做的是用网络链接替换按钮。 I created a shape, put some text in it, then turned that text into a link. 我创建了一个形状,在其中添加了一些文本,然后将其转换为链接。 For the Close button, I simply linked it to "goodbye.html" which is within the export folder, and the reporting stuff still worked. 对于“关闭”按钮,我只是将其链接到导出文件夹中的“ goodbye.html”,并且报表工作仍然有效。 For whatever reason, this link didn't need to be double-click like the button did. 无论出于何种原因,都无需像按钮一样双击该链接。 I don't know why, but it works. 我不知道为什么,但是可以。

Because I also had the same problem with a button that was supposed to restart the lesson, I also learned that links can be used for more than just web addresses. 因为我对应该重新启动课程的按钮也遇到了同样的问题,所以我还了解到链接不仅可以用于网址,而且可以用于其他地方。 Instead, I was able to "link" it to the first slide by choosing the "Slide" option and things worked great! 相反,通过选择“幻灯片”选项,我可以将其“链接”到第一张幻灯片,效果很好!

So there you go, a solution to this weird and specific problem. 因此,您可以解决这个奇怪而又具体的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM