Monday, April 29, 2013

[Help Wordpress] Multiple sliders don't work in one page


Hi,


Thanks for pointing me to understand this.
So I tried using this code:


$(document).ready(function(){ $("li").click(function(e){ $('#new-royalslider-3').royalSlider('updateSliderSize', true); }); });


I call to any "li" element because the page has only 4 "li" elements which are the tabs.
I tried various on selectors, nothing helped. the slider on the second tab (from right) is still 100px (instead of 100% or 960px), and the content inside is also hidden until clicked.
So, it seems like the function "updateSliderSize()" just doesn't work!


What do I do wrong?


Thank you,


Oren



.

help.dimsemenov.com

No comments:

Post a Comment

Search

Other post

[Wordpress issuses] justpi on "Hatch theme: photo gallery same thumbnail size of photos"
justpi on "Hatch theme: photo gallery same thumbnail size of photos"
a) "Hmmm really?"Well, if you have a portrait-shaped image, a landscape-shaped image, and ...
[Wordpress issuses] edvauler on "OpenID login error"
edvauler on "OpenID login error"
Prefs:- Account at SF.net- Login/OpenID at wordpress.com -> same login name, but different...
[Wordpress issuses] bestfootforwardblog on "Post Formats"
bestfootforwardblog on "Post Formats"
Since The Columnist doesn't support post formats, the post in question must have been crea...
[Wordpress issuses] scantilyglad on "Naming etiquette: Someone on blogger with same name"
scantilyglad on "Naming etiquette: Someone on blogger with same name"
Hi!I just started my blog scantilyglad.wordpress.com a few days ago, and I'm (obviously) n...
[Wordpress issuses] kardotim on "Domain Registration"
kardotim on "Domain Registration"
I am trying to register a domain with WordPress.com and while I am filling in the form wit...