Jmpress,如何更改关闭按钮按下时显示的幻灯片 [英] Jmpress, how to change slides displayed based off button press

查看:70
本文介绍了Jmpress,如何更改关闭按钮按下时显示的幻灯片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个使用jmpress impress插件的演示.我想更改由于按下按钮而播放的幻灯片.使用JQuery单击以获取按钮按下.尝试更改幻灯片数据排除"的属性,以更改按按钮后显示的幻灯片.我认为问题是幻灯片已经在内存中.如何卸载幻灯片并重新加载新的幻灯片.任何帮助将不胜感激

Ian

Hi
I have a presentation using jmpress impress plugin. I want to change the slides that are played as a result of a button press. Using JQuery click to get button press. Tying to change attr of slide ''data-exclude'' to change what slides are shown as a result of button press. Problem I think is slides are already in memory. How do I unload the slideshow and reload with the new slides that are eneabled. Any help would be appreciated

Ian

推荐答案

JavaScript中没有卸载"功能;并且您不能从外部源加载"任何东西,除非您在服务器端支持它(与jQuerty主题无关).将所有幻灯片保存在内存中可能会或可能不会出现问题.它仅取决于页面的总量.如果要更改整个幻灯片放映,建议您简单地创建一个单独的页面;一个页面可能包含一个将其链接到其他页面的锚.就这么简单.

—SA
There is no "unload" in JavaScript; and you cannot "load" anything from an external source, unless you support it on the server side, which is not related to jQuerty topic. Keeping all slides in memory may or may not be a problem; it only depends on the total volume of page. If you want to change the whole slide show, I suggest you simply create a separate page(s); and one page could contain an anchor(s) linking it to other pages. As simple as that.

—SA


这篇关于Jmpress,如何更改关闭按钮按下时显示的幻灯片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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