Wednesday, May 8, 2013

[Help Wordpress] Initialize Royal Slider on AJAX Pages


Hi, thanks for your response. I tried several variations to no avail.


$("#slideshow-mastercontainer").load("content_repo.html #con_SS2", function() {
           $('#con_SS2").royalSlider({
                 autoHeight: false,
                 arrowsNav: true,
                 loop: false,
                 keyboardNavEnabled: true,
                 controlsInside: false,
                 imageScaleMode: 'fill',
                 arrowsNavAutoHide: false,
                 autoScaleSlider: true,
                 controlNavigation: 'none',
                 navigateByClick: false,
                 startSlideId: 0,
                 transitionSpeed: 900,
                 autoPlay: false,
                 transitionType:'move',
                 easeInOut: 'easeInOutSine',
                 easeOut: 'easeInOutSine',
                 deeplinking: {
                       transitionType: 'fade',
                       enabled: true,
                       change: true,
                       prefix: 'slide-',
                 },
           });
});


.....And.....


$("#success").load("/not-here.php", function(response, status, xhr) {
if (status == "error") {


$("#slideshow-mastercontainer").load("content_repo.html #con_SS2", function(response, status, xhr) {
           if (status == "success") {
           $('#con_SS2").royalSlider({
                 autoHeight: false,
                 arrowsNav: true,
                 loop: false,
                 keyboardNavEnabled: true,
                 controlsInside: false,
                 imageScaleMode: 'fill',
                 arrowsNavAutoHide: false,
                 autoScaleSlider: true,
                 controlNavigation: 'none',
                 navigateByClick: false,
                 startSlideId: 0,
                 transitionSpeed: 900,
                 autoPlay: false,
                 transitionType:'move',
                 easeInOut: 'easeInOutSine',
                 easeOut: 'easeInOutSine',
                 deeplinking: {
                       transitionType: 'fade',
                       enabled: true,
                       change: true,
                       prefix: 'slide-',
                 },
           });
});
});



.

help.dimsemenov.com

No comments:

Post a Comment

Search

Other post

[Wordpress issuses] cfkempton on "i cant install shopper press as i ahve no option to upload themes."
cfkempton on "i cant install shopper press as i ahve no option to upload themes."
I cant upload the shopper press theme as I have no install themes option in appearance/the...
[Help Wordpress] Multiple wordpress sites
Help Wordpress
Hey there -Bought the slider from codecanyon - thanks! Love it.Does the license allow me t...
[Help Wordpress] Can not get the slider to show on the homepage
Can not get the slider to show on the homepage
Hello I have tried placing the code in the header.php file I am looking for it to go right...
[Help Wordpress] How do make multiple rows of thumbnails?
Help Wordpress
I would like to have multiple layers of thumbnails, such as in the example at http://dimse...
[Wordpress issuses] pellymade on "Why wont my notifications display?"
pellymade on "Why wont my notifications display?"
I have had this issue before, last time I updated my plug ins and it fixed it. This time h...