Wednesday, May 8, 2013

[Help Wordpress] enterFullScreen on rsSlideClick()


I would like to enterFullScreen when user clicks on slide. I'm guessing that I can do this with code like that below...but I'm not sure what FILE and Function this code should be placed in. I'm relatively new to this, so I don't know whether this needs to be included within the .php files or jquery.royalslider.min.js... Can you please advise?


Thanks,


Dave


/* Call enterFullScreen when user clicks/taps on slide (rather than advance to next slide) */
var slider = $(".royalSlider").data('royalSlider');


slider.ev.on('rsSlideClick', function() {
    // triggers when user clicks on slide, doesn't trigger after click and drag
    slider.enterFullscreen();
});



.

help.dimsemenov.com

No comments:

Post a Comment

Search

Other post

[Wordpress issuses] smithmarketing2013 on "New to WordPress"
smithmarketing2013 on "New to WordPress"
I am not sure if you reeived my last blog. I am having a problem getting to the homepage t...
[Wordpress issuses] kathrynwp on "How to achieve Blog award/s?"
kathrynwp on "How to achieve Blog award/s?"
Hi there, WordPress.com doesn't give out awards per se, but we do recognize outstanding bl...
[Wordpress issuses] justpi on "Table Border"
justpi on "Table Border"
Hey there, I always put tables on my blog but the border never apears. I use the right HTM...
[Wordpress issuses] monitobi on "Los comentarios no aparecen!!!"
Hola, alguien sabe porque rayos no aparecen los comentarios en mi blog?, si publico una en...
[Wordpress issuses] kathrynwp on "blog deactivated"
kathrynwp on "blog deactivated"
You'll need to contact our Terms of Service team directly as we can't discuss this in the ...