Slider Revolution WP
09.27.2016
1 2 3 |
var slidermarkup = ajaxRevslider({id:revsliderid}); |
The revsliderid is the ID of the Slider which you can see in the Slider List page next to each Slider as shown here:
To add the Content to your Container you could add the result via html() to your container, something like this:
1 2 3 |
jQuery('#yourajaxcontainer').html(slidermarkup); |
To short up things you can do it in one step also:
1 2 3 |
jQuery('#yourajaxcontainer').html(ajaxRevslider({id:postid})); |
1 2 3 |
ajaxRemoveRevslider({selector:revslidercontainer}); |
The revslidercontainer is the clearly Identifier of the Container where you embeded the Slider. i.e. an ID like #myajaxcontainer or a class like “.mycontainer .ajaxcontainer”