-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Not really an issue] Kwicks destroys "badly" under xxx pixels window's size #58
Comments
I'm having this issue to, I want too switch kwicks off for a mobile/responsive design, it's subornly adding the li.panel style="left:86px;width:82px;" even after $('li.panel').kwicks('destroy'); some thing like: $('.kwicks').kwicks({ or or just $('.kwicks').stop(); would be great. |
@furiousgreencloud Have you tried calling destroy on the container element (the same one you initialized with)? destroy: function() {
return this.each(function() {
var $this = $(this),
kwick = $this.data('kwicks');
if (!kwick) return;
kwick.destroy();
});
} Can you reproduce this in a jsfiddle/jsbin/etc.? |
@furiousgreencloud : this works for me |
Hi,
first : apologize for my poor english
I use kwicks. Works fine !
I managed a way so as kwicks is unactive when browser windows is resized under xxx pixels wide.
The thing is that li.slide-kwicks keep on having left and width attributes.
That for, I tried to add a $('.slide.kwicks').width(""); action when window is resized but
when resizing, attributes are back again (the idea was to control appearance of the slider with cssc mediaqueries), making things going wrong
You can see the code I wrote here : http://spip.pastebin.fr/47581
Thanks +++ in advance
The text was updated successfully, but these errors were encountered: