Support » Plugin: JJ NextGen JQuery Slider » Only load gallery slideshow on button press (allow users to choose)

  • I have included JJ NextGen JQuery Slider on my front page by using PHP and following do_shortcode():

    <?php echo do_shortcode('[jj-ngg-jquery-slider html_id="about-slider" gallery="1" width="600" height ="355" resize="1" order="sortorder"]'); ?>

    Unfortunately the slideshow is quite big and takes a long time to load, especially on mobile devices. Hence I wanted to implement a single button that the user must push in order to see the slideshow. Only if this button is pushed the slideshow may load.

    I came up with the idea to add the above shortcode with jQuery. However, one obviously cannot add shortcode via JavaScript/ jQuery. So the question arises, how can I load the slideshow only on button press?

    http://wordpress.org/extend/plugins/jj-nextgen-jquery-slider/

  • The topic ‘Only load gallery slideshow on button press (allow users to choose)’ is closed to new replies.