Tweet



 
A very easy to use, cross platform, jQuery based UI toolkit, that’s still small in size, has the features you need, and doesn’t get in your way of doing things! Put jQuery and jKit on all your pages and HTML becomes so much better. And the best thing? You really don’t have to be a programmer to create a trully amazing website! jKit has 99% of all the features you ever need. You don’t have to check out dozens of plugins, learn how to use them, only to find out they don’t work in a specific browser. And even if jKit doesn’t have that one feature you need right now, jKit is fully extendable with plugins and command replacements, all that and your API always stays the same.

Hi, stranger

jKit is growing almost daily, if you don’t find what you need, let us know with a post on the community forum or our social pages. Hey, who knows, maybe it’s already on our ToDo list.

Content Summary

jKit Button

If you like jKit, use and want to support the project, here’s a small button you can use to link to the jKit website.

Btw, if you did something really nice with jKit, send us a link to your work and if we like it, we would sure love to feature it.

Loop command

The new blink tag, just animated. Use it on your own risk.

Basic Usage (HTML)

data-jkit="[loop:speed1=2000;duration1=5000;speed2=2000;duration2=5000]"

Advanced Init (JavaScript)

$('#myelement').jKit('loop', { 'speed1': '2000', 'duration1': '5000', 'speed2': '2000', 'duration2': '5000' });

Options

OptionValuesDefaultDescription
speed1Int or “fast”, “slow” (Milliseconds)500The duration of the 1st animation in milliseconds, bigger = slower.
speed2Int or “fast”, “slow” (Milliseconds)500The duration of 2nd the animation in milliseconds, bigger = slower.
duration1Int (Milliseconds)2000The duration while the element is fully shown
duration2Int (Milliseconds)2000The duration while the element is fully hidden
easing1String (“linear” or easing plugin option)linearThe easing behavior of the first part of the animation
easing2String (“linear” or easing plugin option)linearThe easing behavior of the second part of the animation
animation“fade”, “slide” or “none”fadeThe type of animation used for the transition

Events

EventDescription
showTriggered when the lement is shown
hideTriggered when the element is hidden

Examples

Basic example:

If you really want to let something blink, at least make it with style:

Text …
Source:
<div data-jkit="[loop:speed1=2000;duration1=250;speed2=250;duration2=2000]">Text ...</div>

Advanced example:

In this advanced example we are using a dynamic delay to loop boxes with random values:

Box 1
Box 2
Box 3
Box 4
Box 5
Box 6
Box 7
Box 8
Box 9
Box 10
Source:
<div data-jkit="[loop:target=children.div;speed1={rand|500-1500};duration2={rand|500-2500};speed2={rand|500-1500};duration1={rand|500-2500}]">
	<div class="demosquare">Box 1</div>
	<div class="demosquare">Box 2</div>
	<div class="demosquare">Box 3</div>
	<div class="demosquare">Box 4</div>
	<div class="demosquare">Box 5</div>
	<div class="demosquare">Box 6</div>
	<div class="demosquare">Box 7</div>
	<div class="demosquare">Box 8</div>
	<div class="demosquare">Box 9</div>
	<div class="demosquare">Box 10</div>
</div>

Replacements

There are currently no replacements for this command.

[ Learn more about replacements ]

 

Discussions

Do you have questions or do you want to suggest new features? Than head over to our new community:

[ jKit Community ]