It looks like you’re new here. If you want to get involved, click one of these buttons!
It already does that or it wouldn’t work on the iPad. Maybe you want the option to only react on clicks?
The latest version, 1.1.29 has now an option for the event. Check the documentation, there’s an example.
Mmm, I’ve struck a problem, and I don’t think you can help me with it – but I’ll ask anyway:)
I’m using partially to expand a footer, than expands to show amoung other things, a sign-up form. However, if I click into the field to add details – the partially command closes the panel.
I guess I need to be able to have the close command on an element, rather than the whole panel…
Any ideas?
See: http://111.118.173.162/~hillston/index.php
Hmm, maybe I can actually solve this. Let’s see if I can get it in for the 1.2 release this upcoming Wednesday.
Yes, sorry, still need to update some of the documentation. Just add the option: on=click
Hi Fredi. I’m not sure I understand this correctly. I have the on=click, and the footer expands appropriately, however within the expanded div I have a form. If the user then clicks on the input field to enter their details, the partially command is activated and the footer closes. Is there a way to add a link that activates the command, rather than clicking anywhere in the div. For example;
<div data-jkit="[partially:on=click;height=20;speed=500;easing=easeOutBounce]">
<p> content goes here</p>
<p data-jkit="[partiallyClose]">close</p>
</div>
Oh, sorry. I mixed this up with the click for the swap command. This one should be in the next update, today or tomorrow.
Check the latest release. This is how it’s done:
[partially:on=click;area=morediv]
No, but this is easy to add for me as an option for the next update.
Check the new version. And I updated the docu with a new example that shows you all the new options: https://jquery-jkit.com/commands/partially.html