Click here to Skip to main content
11,482,402 members (73,824 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: jQuery
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
Posted 5-Oct-12 16:24pm
z488758382

1 solution

Rate this: bad
good
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.

—SA
  Permalink  

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



Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 5 Oct 2012
Copyright © CodeProject, 1999-2015
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