Click here to Skip to main content
12,698,179 members (22,092 online)
Rate this:
Please Sign up or sign in to vote.
See more: jQuery

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

Posted 5-Oct-12 16:24pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 5 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100