├── .gitignore ├── stuff ├── ajaxcontent1.html ├── ajaxcontent2.html ├── ajax_sample_content_1.html ├── ajax_sample_content_2.html └── modal.html ├── .DS_Store ├── favicon.ico ├── images ├── h2bg.gif ├── sky.jpg ├── jkit_bg.jpg ├── square.jpg ├── jkit_logo.png ├── monsters.jpg ├── oversized.jpg ├── slides │ ├── p1.jpg │ ├── p2.jpg │ ├── p3.jpg │ ├── p4.jpg │ └── p5.jpg ├── fb_logo_full.jpg ├── fb_logo_min.jpg ├── sample_button_off.png ├── sample_button_on.png └── newyorkcity_1280x800.jpg ├── jkit-facebook-logo.gif ├── made_with_jkit_button.png ├── plugins ├── datepicker │ ├── images │ │ ├── field.png │ │ ├── custom_b.png │ │ ├── custom_l.png │ │ ├── custom_r.png │ │ ├── custom_t.png │ │ ├── custom_bl.png │ │ ├── custom_br.png │ │ ├── custom_tl.png │ │ ├── custom_tr.png │ │ ├── datepicker_b.png │ │ ├── datepicker_bl.png │ │ ├── datepicker_br.png │ │ ├── datepicker_l.png │ │ ├── datepicker_r.png │ │ ├── datepicker_t.png │ │ ├── datepicker_tl.png │ │ └── datepicker_tr.png │ ├── js │ │ ├── eye.js │ │ └── layout.js │ └── css │ │ └── datepicker.css ├── jquery.ztinputhint-1.2.min.js ├── maxlength │ ├── jquery.maxlength-min.js │ ├── style.css │ ├── jquery.maxlength.js │ └── index.html ├── jquery.ztinputhint-1.2.js └── jquery.confirm-1.3.js ├── jquery.jkit.commands ├── remove.min.js ├── replace.min.js ├── hide.min.js ├── show.min.js ├── split.min.js ├── random.min.js ├── fontsize.min.js ├── showandhide.min.js ├── key.min.js ├── _command_template.js ├── live.min.js ├── remove.js ├── scroll.min.js ├── limit.min.js ├── swap.min.js ├── cycle.min.js ├── hide.js ├── plugin.min.js ├── show.js ├── respond.min.js ├── encode.min.js ├── replace.js ├── menu.min.js ├── loop.min.js ├── split.js ├── background.min.js ├── showandhide.js ├── parallax.min.js ├── zoom.min.js ├── ticker.min.js ├── partially.min.js ├── tabs.min.js ├── live.js ├── fontsize.js ├── summary.min.js ├── random.js ├── chart.min.js ├── menu.js ├── accordion.min.js ├── ajax.min.js ├── api.min.js ├── paginate.min.js ├── slideshow.min.js ├── tooltip.min.js ├── gallery.min.js ├── limit.js ├── filter.min.js ├── key.js ├── scroll.js ├── loop.js ├── swap.js ├── cycle.js ├── sort.min.js ├── encode.js ├── template.min.js ├── carousel.min.js ├── plugin.js ├── respond.js ├── zoom.js ├── animation.min.js ├── parallax.js ├── background.js ├── partially.js ├── tabs.js ├── accordion.js ├── api.js ├── ticker.js ├── gallery.js ├── lightbox.min.js ├── summary.js ├── chart.js ├── tooltip.js ├── lorem.min.js ├── slideshow.js ├── paginate.js ├── ajax.js ├── sort.js ├── carousel.js ├── filter.js ├── lorem.js ├── form.min.js ├── binding.min.js └── template.js ├── jkit.jquery.json └── license.txt /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /stuff/ajaxcontent1.html: -------------------------------------------------------------------------------- 1 | Test content 1 ... -------------------------------------------------------------------------------- /stuff/ajaxcontent2.html: -------------------------------------------------------------------------------- 1 | Test content 2 ... -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/.DS_Store -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/favicon.ico -------------------------------------------------------------------------------- /images/h2bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/h2bg.gif -------------------------------------------------------------------------------- /images/sky.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/sky.jpg -------------------------------------------------------------------------------- /images/jkit_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/jkit_bg.jpg -------------------------------------------------------------------------------- /images/square.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/square.jpg -------------------------------------------------------------------------------- /images/jkit_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/jkit_logo.png -------------------------------------------------------------------------------- /images/monsters.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/monsters.jpg -------------------------------------------------------------------------------- /images/oversized.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/oversized.jpg -------------------------------------------------------------------------------- /images/slides/p1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/slides/p1.jpg -------------------------------------------------------------------------------- /images/slides/p2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/slides/p2.jpg -------------------------------------------------------------------------------- /images/slides/p3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/slides/p3.jpg -------------------------------------------------------------------------------- /images/slides/p4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/slides/p4.jpg -------------------------------------------------------------------------------- /images/slides/p5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/slides/p5.jpg -------------------------------------------------------------------------------- /images/fb_logo_full.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/fb_logo_full.jpg -------------------------------------------------------------------------------- /images/fb_logo_min.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/fb_logo_min.jpg -------------------------------------------------------------------------------- /jkit-facebook-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/jkit-facebook-logo.gif -------------------------------------------------------------------------------- /made_with_jkit_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/made_with_jkit_button.png -------------------------------------------------------------------------------- /images/sample_button_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/sample_button_off.png -------------------------------------------------------------------------------- /images/sample_button_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/sample_button_on.png -------------------------------------------------------------------------------- /images/newyorkcity_1280x800.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/images/newyorkcity_1280x800.jpg -------------------------------------------------------------------------------- /plugins/datepicker/images/field.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/field.png -------------------------------------------------------------------------------- /plugins/datepicker/images/custom_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/custom_b.png -------------------------------------------------------------------------------- /plugins/datepicker/images/custom_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/custom_l.png -------------------------------------------------------------------------------- /plugins/datepicker/images/custom_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/custom_r.png -------------------------------------------------------------------------------- /plugins/datepicker/images/custom_t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/custom_t.png -------------------------------------------------------------------------------- /plugins/datepicker/images/custom_bl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/custom_bl.png -------------------------------------------------------------------------------- /plugins/datepicker/images/custom_br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/custom_br.png -------------------------------------------------------------------------------- /plugins/datepicker/images/custom_tl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/custom_tl.png -------------------------------------------------------------------------------- /plugins/datepicker/images/custom_tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/custom_tr.png -------------------------------------------------------------------------------- /plugins/datepicker/images/datepicker_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/datepicker_b.png -------------------------------------------------------------------------------- /plugins/datepicker/images/datepicker_bl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/datepicker_bl.png -------------------------------------------------------------------------------- /plugins/datepicker/images/datepicker_br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/datepicker_br.png -------------------------------------------------------------------------------- /plugins/datepicker/images/datepicker_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/datepicker_l.png -------------------------------------------------------------------------------- /plugins/datepicker/images/datepicker_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/datepicker_r.png -------------------------------------------------------------------------------- /plugins/datepicker/images/datepicker_t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/datepicker_t.png -------------------------------------------------------------------------------- /plugins/datepicker/images/datepicker_tl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/datepicker_tl.png -------------------------------------------------------------------------------- /plugins/datepicker/images/datepicker_tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FrediBach/jQuery-jKit/HEAD/plugins/datepicker/images/datepicker_tr.png -------------------------------------------------------------------------------- /jquery.jkit.commands/remove.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.remove=function(){var a={};return plugin.addCommandDefaults("remove",{delay:0}),a.execute=function(a,b){a.delay(b.delay).hide(0,function(){a.remove(),plugin.triggerEvent("complete",a,b)})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/replace.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.replace=function(){var a={};return plugin.addCommandDefaults("replace",{modifier:"g",search:"",replacement:""}),a.execute=function(a,b){var c=RegExp(b.search,b.modifier);a.html(a.html().replace(c,b.replacement))},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/hide.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.hide=function(){var a={};return plugin.addCommandDefaults("hide",{delay:0,speed:500,animation:"fade",easing:"linear"}),a.execute=function(a,b){a.jKit_effect(!1,b.animation,b.speed,b.easing,b.delay,function(){plugin.triggerEvent("complete",a,b)})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/show.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.show=function(){var a={};return plugin.addCommandDefaults("show",{delay:0,speed:500,animation:"fade",easing:"linear"}),a.execute=function(a,b){a.hide().jKit_effect(!0,b.animation,b.speed,b.easing,b.delay,function(){plugin.triggerEvent("complete",a,b)})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/split.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.split=function(){var a={};return plugin.addCommandDefaults("split",{separator:"",container:"span",before:"",after:""}),a.execute=function(a,b){var c=a.text().split(b.separator);a.html(""),$.each(c,function(c,d){$("<"+b.container+"/>").text(d).appendTo(a)}),a.html(b.before+a.html()+b.after)},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/random.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.random=function(){var a={};return plugin.addCommandDefaults("random",{count:1,remove:"yes"}),a.execute=function(a,b){for(var c=a.children().size(),d=[];d.length 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | jKit - jQuery Plugin - UI Library 11 | 12 | 13 | 14 | 15 |
16 |
17 | Test replacement content 1 ... 18 |
19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /stuff/ajax_sample_content_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | jKit - jQuery Plugin - UI Library 11 | 12 | 13 | 14 | 15 |
16 |
17 | Test replacement content 2 ... 18 |
19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /plugins/datepicker/js/eye.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Zoomimage 4 | * Author: Stefan Petre www.eyecon.ro 5 | * 6 | */ 7 | (function($){ 8 | var EYE = window.EYE = function() { 9 | var _registered = { 10 | init: [] 11 | }; 12 | return { 13 | init: function() { 14 | $.each(_registered.init, function(nr, fn){ 15 | fn.call(); 16 | }); 17 | }, 18 | extend: function(prop) { 19 | for (var i in prop) { 20 | if (prop[i] != undefined) { 21 | this[i] = prop[i]; 22 | } 23 | } 24 | }, 25 | register: function(fn, type) { 26 | if (!_registered[type]) { 27 | _registered[type] = []; 28 | } 29 | _registered[type].push(fn); 30 | } 31 | }; 32 | }(); 33 | $(EYE.init); 34 | })(jQuery); 35 | -------------------------------------------------------------------------------- /jquery.jkit.commands/fontsize.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.fontsize=function(){var a={};return plugin.addCommandDefaults("fontsize",{steps:2,min:6,max:72,affected:"p",style:"font-size"}),a.execute=function(a,b){a.on("click",function(){return $element.find(b.affected).each(function(){var a=parseInt($(this).css(b.style))+parseInt(b.steps);a>=parseInt(b.min)&&parseInt(b.max)>=a&&$(this).css(b.style,a)}),plugin.triggerEvent("changed",a,b),!1})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/showandhide.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.showandhide=function(){var a={};return plugin.addCommandDefaults("showandhide",{delay:0,speed:500,duration:1e4,animation:"fade",easing:"linear"}),a.execute=function(a,b){a.hide().jKit_effect(!0,b.animation,b.speed,b.easing,b.delay,function(){plugin.triggerEvent("shown",a,b),a.jKit_effect(!1,b.animation,b.speed,b.easing,b.duration,function(){plugin.triggerEvent("complete",a,b)})})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/key.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.key=function(){var a={};return plugin.addCommandDefaults("key",{}),a.execute=function(a,b){void 0!=b.code&&(plugin.addKeypressEvents(a,b.code),a.on(b.code,function(){void 0!==a.attr("onclick")?a.click():void 0!==a.attr("target")&&"_blank"==a.attr("target")?window.open(a.attr("href"),"_blank",!1):window.location.href=a.attr("href"),void 0!=b.macro&&plugin.applyMacro(a,b.macro),plugin.triggerEvent("pressed",a,b)}))},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/_command_template.js: -------------------------------------------------------------------------------- 1 | 2 | // ##### Command Template 3 | // 4 | // This is a template for commands. It should be used as a starting point to create new commands. 5 | 6 | plugin.commands.yourcommandname = (function(){ 7 | 8 | // Create an object that contains all of our data and functionality. 9 | 10 | var command = {}; 11 | 12 | // This are the command defaults: 13 | 14 | plugin.addCommandDefaults('yourcommandname', { 15 | 'option1': 'value1', 16 | 'option2': 'value1' 17 | }); 18 | 19 | // The execute function is launched whenever this command is executed: 20 | 21 | command.execute = function($that, options){ 22 | // Put your command code here ... 23 | }; 24 | 25 | // Add local functions and variables here ... 26 | 27 | return command; 28 | 29 | }()); -------------------------------------------------------------------------------- /jquery.jkit.commands/live.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.live=function(){var a={};plugin.addCommandDefaults("live",{interval:60}),a.execute=function(a,c){void 0!==a.attr("src")&&window.setInterval(function(){b(a,c),plugin.triggerEvent("reloaded",a,c)},1e3*c.interval)};var b=function(a){if((windowhasfocus||!windowhasfocus&&plugin.settings.ignoreFocus)&&(a.jKit_inViewport()||!a.jKit_inViewport()&&plugin.settings.ignoreViewport)){var c=a.attr("src").split("?");a.attr("src",c[0]+"?t="+$.fn.jKit_getUnixtime())}};return a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/remove.js: -------------------------------------------------------------------------------- 1 | 2 | // ##### Remove Command 3 | // 4 | // The [remove command](http://jquery-jkit.com/commands/remove.html) is used to completely remove the element 5 | // from the DOM. 6 | 7 | plugin.commands.remove = (function(){ 8 | 9 | // Create an object that contains all of our data and functionality. 10 | 11 | var command = {}; 12 | 13 | // This are the command defaults: 14 | 15 | plugin.addCommandDefaults('remove', { 16 | 'delay': 0 17 | }); 18 | 19 | // The execute function is launched whenever this command is executed: 20 | 21 | command.execute = function($that, options){ 22 | 23 | $that.delay(options.delay).hide(0, function(){ 24 | $that.remove(); 25 | plugin.triggerEvent('complete', $that, options); 26 | }); 27 | 28 | }; 29 | 30 | return command; 31 | 32 | }()); -------------------------------------------------------------------------------- /jquery.jkit.commands/scroll.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.scroll=function(){var a={};return plugin.addCommandDefaults("scroll",{speed:500,dynamic:"yes",easing:"linear",offset:0}),a.execute=function(a,b){a.click(function(){if(plugin.triggerEvent("clicked",a,b),""==$(this).attr("href"))var c=0;else var c=$(a.attr("href")).offset().top;return c+=parseInt(b.offset),"yes"==b.dynamic&&(b.speed=Math.abs($(document).scrollTop()-c)/1e3*b.speed),$("html, body").animate({scrollTop:c+"px"},b.speed,b.easing,function(){plugin.triggerEvent("complete",a,b)}),!1})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/limit.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.limit=function(){var a={};return plugin.addCommandDefaults("limit",{elements:"children",count:5,animation:"none",speed:250,easing:"linear",endstring:"..."}),a.execute=function(a,b){if("children"==b.elements)a.children(":gt("+(b.count-1)+")").each(function(){$(this).jKit_effect(!1,b.animation,b.speed,b.easing)}),setTimeout(function(){plugin.triggerEvent("complete",a,b)},b.speed);else{var c=a.text().substr(0,b.count);c!=a.text()&&(c=c.substr(0,c.length-b.endstring.length)+b.endstring,a.text(c))}},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/swap.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.swap=function(){var a={};return plugin.addCommandDefaults("swap",{versions:"_off,_on",attribute:"src"}),a.execute=function(a,b){var c=plugin.settings,d=b.versions.split(c.delimiter),e=!1,f=a.attr(b.attribute),g=a.attr(b.attribute).replace(d[0],d[1]);"src"==b.attribute&&($("")[0].src=g),a.on("mouseenter click",function(){e||(a.attr(b.attribute,g),plugin.triggerEvent("active",a,b),e=!0)}).on("mouseleave click",function(){e&&(a.attr(b.attribute,f),plugin.triggerEvent("inactive",a,b),e=!1)})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/cycle.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.cycle=function(){var a={};return plugin.addCommandDefaults("cycle",{what:"class",where:"li",scope:"children",sequence:"odd,even"}),a.execute=function(a,b){var c=plugin.settings,d=b.sequence.split(c.delimiter),e=0,f=b.where;"children"==b.scope&&(f="> "+f),a.find(f).each(function(){if(void 0!=d[e]&&""!=d[e])switch(b.what){case"class":$(this).addClass(d[e]);break;case"html":$(this).html(d[e]);break;default:var a=b.what.split(".");"attr"==a[0]?$(this).attr(a[1],d[e]):"css"==a[0]&&$(this).css(a[1],d[e])}e++,e>d.length-1&&(e=0)})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/hide.js: -------------------------------------------------------------------------------- 1 | 2 | // ##### Command Template 3 | // 4 | // This is a template for commands. It should be used as a starting point to create new commands. 5 | 6 | plugin.commands.hide = (function(){ 7 | 8 | // Create an object that contains all of our data and functionality. 9 | 10 | var command = {}; 11 | 12 | // This are the command defaults: 13 | 14 | plugin.addCommandDefaults('hide', { 15 | 'delay': 0, 16 | 'speed': 500, 17 | 'animation': 'fade', 18 | 'easing': 'linear' 19 | }); 20 | 21 | // The execute function is launched whenever this command is executed: 22 | 23 | command.execute = function($that, options){ 24 | 25 | $that.jKit_effect(false, options.animation, options.speed, options.easing, options.delay, function(){ 26 | plugin.triggerEvent('complete', $that, options); 27 | }); 28 | 29 | }; 30 | 31 | return command; 32 | 33 | }()); -------------------------------------------------------------------------------- /jquery.jkit.commands/plugin.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.plugin=function(){var a={};return plugin.addCommandDefaults("plugin",{script:""}),a.execute=function(a,b){var c=plugin.settings;void 0!=c.plugins[b.script]&&(b.functioncall=c.plugins[b.script].fn,void 0!=c.plugins[b.script].option&&(b.option=c.plugins[b.script].option),b.script=c.plugins[b.script].path),$.ajaxSetup({cache:!0}),void 0!=b.script&&$.getScript(b.script,function(){void 0!=b.option?a[b.functioncall](b[b.option]):(delete b.type,delete b.script,a[b.functioncall](b)),plugin.triggerEvent("complete",a,b)}),$.ajaxSetup({cache:!1})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/show.js: -------------------------------------------------------------------------------- 1 | 2 | // ##### Show Command 3 | // 4 | // The [show command](http://jquery-jkit.com/commands/show.html) is used to reveal an element, animated or not. 5 | 6 | plugin.commands.show = (function(){ 7 | 8 | // Create an object that contains all of our data and functionality. 9 | 10 | var command = {}; 11 | 12 | // This are the command defaults: 13 | 14 | plugin.addCommandDefaults('show', { 15 | 'delay': 0, 16 | 'speed': 500, 17 | 'animation': 'fade', 18 | 'easing': 'linear' 19 | }); 20 | 21 | // The execute function is launched whenever this command is executed: 22 | 23 | command.execute = function($that, options){ 24 | 25 | $that.hide().jKit_effect(true, options.animation, options.speed, options.easing, options.delay, function(){ 26 | plugin.triggerEvent('complete', $that, options); 27 | }); 28 | 29 | }; 30 | 31 | return command; 32 | 33 | }()); -------------------------------------------------------------------------------- /jquery.jkit.commands/respond.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.respond=function(){var a={};plugin.addCommandDefaults("respond",{}),a.execute=function(a,c){if(void 0!=c.width){var d=c.width.split(",");d.sort(function(a,b){return parseInt(a)-parseInt(b)}),b(a,d),$(window).resize(function(){b(a,d)})}};var b=function(a,b){var c=a.width(),d="";for(var e in b)c>parseInt(b[e])&&(d=plugin.settings.prefix+"-respond-"+b[e]);if(void 0==a.attr("class"))var f=[];else var f=a.attr("class").split(/\s+/);a.removeClass();for(var e in f)-1==f[e].indexOf(plugin.settings.prefix+"-respond")&&a.addClass(f[e]);a.addClass(d)};return a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/encode.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.encode=function(){var a={};plugin.addCommandDefaults("encode",{format:"code",fix:"yes"}),a.execute=function(a,c){switch(c.format){case"code":var d=a.html();"yes"==c.fix&&(d=b(d)),a.html(d.replace(//g,">"));break;case"text":a.html(a.text());break;case"esc":a.html(escape(a.html()));break;case"uri":a.html(encodeURI(a.html()))}};var b=function(a){var b=a.split("\n"),c=9999;return $.each(b,function(a,b){if(""!=$.trim(b)){for(var d=-1;" "==b.charAt(d+1);)d++;d++,c>d&&(c=d)}}),$.each(b,function(a,d){b[a]=d.substr(c)}),b.join("\n")};return a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/replace.js: -------------------------------------------------------------------------------- 1 | 2 | // ##### Replace Command 3 | // 4 | // The [replace command](http://jquery-jkit.com/commands/replace.html) makes it possible to replace content 5 | // based on a regex pattern. It acts on the HTML level, so not only text is replacable! 6 | 7 | plugin.commands.replace = (function(){ 8 | 9 | // Create an object that contains all of our data and functionality. 10 | 11 | var command = {}; 12 | 13 | // This are the command defaults: 14 | 15 | plugin.addCommandDefaults('replace', { 16 | 'modifier': 'g', 17 | 'search': '', 18 | 'replacement': '' 19 | }); 20 | 21 | // The execute function is launched whenever this command is executed: 22 | 23 | command.execute = function($that, options){ 24 | 25 | var str = new RegExp(options.search, options.modifier); 26 | $that.html($that.html().replace(str,options.replacement)); 27 | 28 | }; 29 | 30 | return command; 31 | 32 | }()); -------------------------------------------------------------------------------- /jquery.jkit.commands/menu.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.menu=function(){var a={};return plugin.addCommandDefaults("menu",{autoactive:"no"}),a.execute=function(a,b){var c=plugin.settings;if("yes"==b.autoactive){var d=(""+window.location).split("#")[0].split("/");a.find("a").filter(function(){return $(this).attr("href")==d[d.length-1]}).addClass(c.activeClass)}a.find("li").hover(function(){$(this).addClass("hover"),$("ul:first",this).css("visibility","visible")},function(){$(this).removeClass("hover"),$("ul:first",this).css("visibility","hidden")}).on("click",function(){$(this).addClass("hover"),$("ul:first",this).css("visibility","visible")})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/loop.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.loop=function(){var a={};plugin.addCommandDefaults("loop",{speed1:500,speed2:500,duration1:2e3,duration2:2e3,easing1:"linear",easing2:"linear",animation:"fade"}),a.execute=function(a,c){b(a.hide(),c)};var b=function(a,c){(windowhasfocus||!windowhasfocus&&plugin.settings.ignoreFocus)&&(a.jKit_inViewport()||!a.jKit_inViewport&&plugin.settings.ignoreViewport)?(plugin.triggerEvent("show",a,c),a.jKit_effect(!0,c.animation,c.speed1,c.easing1,c.duration1,function(){plugin.triggerEvent("hide",a,c),a.jKit_effect(!1,c.animation,c.speed2,c.easing2,c.duration2,b(a,c))})):window.setTimeout(function(){b(a,c)},100)};return a}(); 11 | -------------------------------------------------------------------------------- /jkit.jquery.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jkit", 3 | "title": "jQuery jKit", 4 | "description": "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!", 5 | "keywords": [ 6 | "toolkit", 7 | "ui", 8 | "widgets" 9 | ], 10 | "version": "1.2.16", 11 | "author": { 12 | "name": "Fredi Bach", 13 | "url": "http://fredibach.ch" 14 | }, 15 | "licenses": [ 16 | { 17 | "type": "MIT", 18 | "url": "https://github.com/FrediBach/jQuery-jKit/blob/master/license.txt" 19 | } 20 | ], 21 | "bugs": "https://github.com/FrediBach/jQuery-jKit/issues", 22 | "homepage": "http://jquery-jkit.com/", 23 | "demo": "http://jquery-jkit.com/", 24 | "docs": "http://jquery-jkit.com/", 25 | "download": "https://github.com/FrediBach/jQuery-jKit/archive/master.zip", 26 | "dependencies": { 27 | "jquery": ">=1.7" 28 | } 29 | } -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Fredi Bach, 2 | http://fredibach.ch/ 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining 5 | a copy of this software and associated documentation files (the 6 | "Software"), to deal in the Software without restriction, including 7 | without limitation the rights to use, copy, modify, merge, publish, 8 | distribute, sublicense, and/or sell copies of the Software, and to 9 | permit persons to whom the Software is furnished to do so, subject to 10 | the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /jquery.jkit.commands/split.js: -------------------------------------------------------------------------------- 1 | 2 | // ##### Split Command 3 | // 4 | // The [split command](http://jquery-jkit.com/commands/split.html) can take a string, for example a comma separeted one, 5 | // and create new HTML elements out of the individual parts. This way a simple comma separated list can be transformed 6 | // into an unordered list. 7 | 8 | plugin.commands.split = (function(){ 9 | 10 | // Create an object that contains all of our data and functionality. 11 | 12 | var command = {}; 13 | 14 | // This are the command defaults: 15 | 16 | plugin.addCommandDefaults('split', { 17 | 'separator': '', 18 | 'container': 'span', 19 | 'before': '', 20 | 'after': '' 21 | }); 22 | 23 | // The execute function is launched whenever this command is executed: 24 | 25 | command.execute = function($that, options){ 26 | 27 | var parts = $that.text().split(options.separator); 28 | $that.html(''); 29 | 30 | $.each( parts, function(i,v){ 31 | $('<'+options.container+'/>').text(v).appendTo($that); 32 | }); 33 | 34 | $that.html(options.before+$that.html()+options.after); 35 | 36 | }; 37 | 38 | return command; 39 | 40 | }()); -------------------------------------------------------------------------------- /jquery.jkit.commands/background.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.background=function(){var a={};return plugin.addCommandDefaults("background",{distort:"no"}),a.execute=function(a,b){var c=plugin.settings,d=$("
",{id:c.prefix+"-background"}).css({position:"fixed",right:"0px",top:"0px",overflow:"hidden","z-index":"-1",width:$(window).width(),height:$(window).height()}).appendTo("body");d.append(a);var e=a.attr("width"),f=a.attr("height");scaleFit(d,a,e,f,b.distort),$(window).resize(function(){scaleFit(d,a,e,f,b.distort),plugin.triggerEvent("resized",a,b)})},scaleFit=function(a,b,c,d,e){var f=$(window).width(),g=$(window).height();a.css({width:f+"px",height:g+"px"});var h=0,i=0;if("no"==e){var j=c/d,k=f/g;j>k?(f=g*j,i=-1*((f-$(window).width())/2)):(g=f/j,h=-1*((g-$(window).height())/2))}b.css({position:"fixed",top:h+"px",left:i+"px",width:f+"px",height:g+"px"})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/showandhide.js: -------------------------------------------------------------------------------- 1 | 2 | // ##### Showandhide Command 3 | // 4 | // The [showandhide command](http://jquery-jkit.com/commands/showandhide.html) is used to reveal an element 5 | // and than hide it again, animated or not. 6 | 7 | plugin.commands.showandhide = (function(){ 8 | 9 | // Create an object that contains all of our data and functionality. 10 | 11 | var command = {}; 12 | 13 | // This are the command defaults: 14 | 15 | plugin.addCommandDefaults('showandhide', { 16 | 'delay': 0, 17 | 'speed': 500, 18 | 'duration': 10000, 19 | 'animation': 'fade', 20 | 'easing': 'linear' 21 | }); 22 | 23 | // The execute function is launched whenever this command is executed: 24 | 25 | command.execute = function($that, options){ 26 | 27 | $that.hide().jKit_effect(true, options.animation, options.speed, options.easing, options.delay, function(){ 28 | plugin.triggerEvent('shown', $that, options); 29 | $that.jKit_effect(false, options.animation, options.speed, options.easing, options.duration, function(){ 30 | plugin.triggerEvent('complete', $that, options); 31 | }); 32 | }); 33 | 34 | }; 35 | 36 | return command; 37 | 38 | }()); -------------------------------------------------------------------------------- /jquery.jkit.commands/parallax.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.parallax=function(){var a={};return plugin.addCommandDefaults("parallax",{strength:5,axis:"x",scope:"global",detect:"mousemove"}),a.execute=function(a,b){var c=plugin.settings,d=b.strength/10;if("scroll"==b.detect)var e=$(window);else if("global"==b.scope)var e=$(document);else var e=a;e.on(b.detect,function(e){if((windowhasfocus||!windowhasfocus&&c.ignoreFocus)&&(a.jKit_inViewport()||!a.jKit_inViewport()&&c.ignoreViewport)){var f=1;if("scroll"==b.detect)var g=$(window).scrollLeft()+$(window).width()/2,h=$(window).scrollTop()+$(window).height()/2;else var g=e.pageX,h=e.pageY;a.children().each(function(){var c=a.offset();if("x"==b.axis||"both"==b.axis){var e=-1*(g-c.left-a.width()/2)*d*f-$(this).width()/2+a.width()/2;$(this).css({left:e+"px"})}if("y"==b.axis||"both"==b.axis){var i=-1*(h-c.top-a.height()/2)*d*f-$(this).height()/2+a.height()/2;$(this).css({top:i+"px"})}f++})}})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/zoom.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.zoom=function(){var a={};return plugin.addCommandDefaults("zoom",{scale:2,speed:150,lightbox:"no"}),a.execute=function(a,b){var c=plugin.settings,d="zoom";a.parent().css("position","relative"),a.on("mouseover",function(){var e=a.position(),f=a.height(),g=a.width(),h=$("
",{"class":c.prefix+"-"+d+"-overlay"}).css({position:"absolute",height:f+"px",width:g+"px",left:e.left+"px",top:e.top+"px",overflow:"hidden","background-image":"url("+a.attr("src")+")","background-repeat":"no-repeat","background-color":"#000",opacity:0}).on("mouseout",function(){h.fadeTo(b.speed,0,function(){h.remove(),plugin.triggerEvent("zoomout",a,b)})}).mousemove(function(a){var c=$(this).offset(),d=(a.pageX-c.left)*(b.scale-1),e=(a.pageY-c.top)*(b.scale-1);h.css("background-position","-"+d+"px -"+e+"px")}).fadeTo(b.speed,1,function(){plugin.triggerEvent("zoomin",a,b)}).insertAfter(a);"yes"==b.lightbox&&plugin.executeCommand(h,"lightbox",{})})},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/ticker.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.ticker=function(){var a={};plugin.addCommandDefaults("ticker",{speed:100,delay:2e3,loop:"yes"}),a.execute=function(a,c){var d=plugin.findElementTag(a,">","max","li"),e=[];a.find(d).each(function(){e.push({href:$(this).find("a").attr("href"),target:$(this).find("a").attr("target"),text:$(this).text()})});var f=$("
");a.replaceWith(f),window.setTimeout(function(){b(f,c,e,0,0)},0)};var b=function(a,c,d,e,f){var g=!1;if((windowhasfocus||!windowhasfocus&&plugin.settings.ignoreFocus)&&(a.jKit_inViewport()||!a.jKit_inViewport()&&plugin.settings.ignoreViewport)){var h=c.speed;f++,f>d[e].text.length?(h=c.delay,e++,e>=d.length&&("yes"==c.loop&&d.length>1?e=0:g=!0),g||(setTimeout(function(){plugin.triggerEvent("showentry showentry"+(e+1),a,c)},h),f=0)):void 0!=d[e].href?a.html(''+d[e].text.substr(0,f)+""):a.html(d[e].text.substr(0,f))}g||window.setTimeout(function(){b(a,c,d,e,f)},h)};return a}(); 11 | -------------------------------------------------------------------------------- /plugins/jquery.ztinputhint-1.2.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * ztInputHint Plugin 3 | * 4 | * @version 1.2 (04/03/2010) 5 | * @requires jQuery v1.3+ 6 | * @author Zeljko Trulec 7 | * @copyright Copyright (c) 2010, Zeljko Trulec 8 | * @see https://code.google.com/p/ztinputhint/ 9 | * 10 | * Distributed under the terms of the GNU General Public License 11 | * http://www.gnu.org/licenses/gpl-3.0.html 12 | */ 13 | (function($){$.fn.ztinputhint=function(g){var h={hint:null,sourceAttrib:'title',hintClass:false};if(g&&typeof g=='object'){$.extend(h,g)}else if(g){h.hint=g}return this.each(function(){var a=$(this);if(!a.is('input:text, input:password')){return false}var b='ztInputHint_'+a.attr('name');var c='';var d=h.hint||a.attr(h.sourceAttrib);var e=h.hintClass||a.attr('class');$(c).insertBefore(a);var f=a.prev('input:first');if(d){f.attr('class',e);f.attr('size',a.attr('size'));f.attr('tabIndex',a.attr('tabIndex'));f.val(d);a.attr('autocomplete','off');f.focus(function(){$(this).hide();cont=$(this).next('input:first');cont.show();cont.focus()});a.blur(function(){if($(this).val()==''){$(this).prev('input:first').show();$(this).hide()}});if(h.iconClass&&!a.hasClass(h.iconClass)){a.addClass(h.iconClass)}a.blur()}})};$.fn.ztInputHint=$.fn.ztinputhint})(jQuery); -------------------------------------------------------------------------------- /jquery.jkit.commands/partially.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.partially=function(){var a={};return plugin.addCommandDefaults("partially",{height:200,text:"more ...",speed:250,easing:"linear",on:"mouseover",area:"",alphaon:.9,alphaoff:0}),a.execute=function(a,b){var c=plugin.settings,d=a.height();if(d>b.height){a.css("position","relative");var e=$("
").addClass(c.prefix+"-morediv").appendTo(a).html(b.text).css({width:a.outerWidth()+"px",opacity:b.alphaon});if(plugin.addKeypressEvents(a,"down"),plugin.addKeypressEvents(a,"up"),"click"==b.on||$.fn.jKit_iOS())var f="click",g="click";else var f="mouseenter",g="mouseleave";$area="morediv"==b.area?e:a,a.css({height:b.height+"px",overflow:"hidden"}),$area.on(f+" down",function(){d>a.height()&&(e.fadeTo(b.speed,b.alphaoff),a.animate({height:d+"px"},b.speed,b.easing,function(){plugin.triggerEvent("open",a,b)}))}).on(g+" up",function(){a.height()==d&&(e.fadeTo(b.speed,b.alphaon),a.animate({height:b.height+"px"},b.speed,b.easing,function(){plugin.triggerEvent("closed",a,b)}))})}},a}(); 11 | -------------------------------------------------------------------------------- /jquery.jkit.commands/tabs.min.js: -------------------------------------------------------------------------------- 1 | 2 | // jQuery Plugin: jKit 3 | // A very easy to use, cross platform jQuery UI toolkit that's still small in size, has the features you need and doesn't get in your way. 4 | // Version 1.2.16 - 10. May. 2013 5 | // http://jquery-jkit.com/ 6 | // 7 | // by Fredi Bach 8 | // http://fredibach.ch/jquery-plugins/ 9 | 10 | plugin.commands.tabs=function(){var a={};return plugin.addCommandDefaults("tabs",{active:1,animation:"none",speed:250,easing:"linear"}),a.execute=function(a,b){var c=plugin.settings,d=plugin.findElementTag(a,">","max","div"),e=plugin.findElementTag(a,"> "+d+" >",0,"h3"),f=plugin.findElementTag(a,"> "+d+" >",1,"div"),g=[];a.children(d).each(function(){g.push({title:$(this).children(e).html(),content:$(this).children(f).detach()})}),a.html("");var h=$("