background preloader

jKit - jQuery based UI Toolkit - Index

jKit - jQuery based UI Toolkit - Index

jQuery – Dynamically Adding Form Elements @ Charlie Griefer You know the situation. You have a form with ‘x’ number of text inputs. Eventually, you realize ‘x’ may not be enough for all users. But in the interest of keeping the page clean, you don’t want to arbitrarily continue to add these elements. What you really want to do is show a minimal amount initially, and then give the user the option of adding as many more (within reason) as that particular user might need. Why create any DOM elements that aren’t going to be used? First, you’ll want to see it in action. Let’s take a look at the code first, and then break it down. The Markup Let’s look at what’s going on, starting with the form itself: Very straightforward markup. Next up is another div that holds 2 button elements, each with a unique id attribute. That’s it for our markup. jQuery – The First Step Moving to the jQuery code itself. At it’s most basic, jQuery adheres to the principle of “find something, do something”. jQuery – Adding a New Form Element Again, we’re using method chaining.

Select2 Gets or sets the selection. If the value parameter is not specified, the id attribute of the currently selected element is returned. If the value parameter is specified it will become the current selection. val method invoked on a single-select with an unset value will return "", while a val method invoked on an empty multi-select will return []. Example: alert("Selected value is: "+$("#e8").select2("val")); $("#e8").select2("val", "CA"); Notice that in order to use this method you must define the initSelection function in the options so Select2 knows how to transform the id of the object you pass in val() to the full object it needs to render selection. Gets or sets the selection. data method invoked on a single-select with an unset value will return null, while a data method invoked on an empty multi-select will return []. Reverts changes to DOM done by Select2. Opens the dropdown. Closes the dropdown. Notifies Select2 that a drag and drop sorting operation has started. change val added object

Presenting Your Web Mockups With Added 3D Flair In this tutorial I'm going to show you how to take your flat design (as in two dimensional, not flat as in the current design trend) and add some life by mocking it up on a 3D plane in perspective. The purpose of this is to present your design in a more dynamic way, giving it more depth and visual appeal. It can be a very effective way to present visuals to clients. There are a couple of ways to achieve this effect, such as using Photoshop's own 3D tools and creating 3D layers. I am, however, more comfortable using proper 3D software such as 3ds Max as it offers much more control over the camera, allowing you to rotate around the 3D plane with greater control over the lighting and shading. Initially it may look more complicated, but when you've done this once you'll later be able to mock your work up in a matter of minutes. The principles demonstrated here are application agnostic; you'll be able to apply them to any 3D software out there. 1. Step 1 Open up your 3D application. Step 2 2.

Zebra_Form, a jQuery augmented PHP library for creating and validating HTML forms Get the latest updates on this PHP library via RSS Zebra_Form is a PHP library that simplifies the process of creating and validating HTML forms. Its object-oriented structure promotes rapid HTML forms development and encourages developers to write clean and easily maintainable code. It frees the developers from the repetitive task of writing the code for validating forms by offering powerful built-in client-side and server-side validation. Zebra_Form has integrated cross-site scripting (XSS) prevention mechanism that automatically strips out potentially malicious code from the submitted data, and also features protection against cross-site request forgery (CSRF) attacks. It also prevents automated SPAM posts, out of the box and without relying on CAPTCHA by using honeypots. Forms layout can be generated either automatically or manually – using templates. The client-side validation is done using jQuery 1.5.2+ Features review Requirements jQuery 1.5.2+ Installation How to use Live demos The HTML

200+ Best Ajax with jQuery Tutorials with Example and Demo Facebook Like System with Jquery, MySQL and PHP Facebook like system is one of the best implementation in social network systems, may be in future based on like data Facebook going to launch semantic search engine. In this post I have explained how to implement like/unlike system database design and web implementation with PHP and jquery. CRUD with PHP and jQuery for a Better User Experience We already have a PHP CRUD tutorial in this blog and now we are going to add some AJAX functions to it with the help of jQuery. This tutorial will only focus on creating, reading, updating and deleting records from a MySQL database with the help of PDO and jQuery. Mini AJAX File Upload Form with jQuery In this tutorial we are going to create an AJAX file upload form, that will let visitors upload files from their browsers with drag/drop or by selecting them individually. jQuery Async : Plugin to Animate buttons when an asynchronous process Voting System Youtube Style With jQuery & PHP Features:

iCheck - Des checkbox et radio boutons design avec jQuery iCheck est un plugin jQuery permettant de donner du style à vos input checkbox et input radio, à la fois sur desktop et mobile. Vous vous arrachez les cheveux à la vue des belles checkbox du Webdesign fourni par votre graphiste ? Pas de panique, iCheck est là pour vous! Il s'agit d'un plugin jQuery permettant de personnaliser graphiquement vos checkbox et radios avec un ensemble de thèmes et couleurs: 6 thèmes et skins sont proposés par défaut, on retrouve même un skin Flat UI pour les fans de la nouvelle tendance webdesign. Les checkbox et radios peuvent être présentés sous forme de ligne. Chaque état des boutons est correctement designé. Côté utilisation, c'est très simple: 1. 2. 3. Vous n'avez qu'à appeler le plugin jQuery avec l'une des options disponibles: 01. 03. handle: '', 05. checkboxClass: 'icheckbox', 07. radioClass: 'iradio', 09. checkedClass: 'checked', 11. disabledClass: 'disabled', 13. hoverClass: 'hover', 15. focusClass: 'focus', 17. activeClass: 'active', 19. labelHover: true, Sympa non ?

jquery Tutorials with CSS BlueprintUI: jQuery Responsive Modal with CSS3 BlueprintUI Responsive Modal is a super simple fully featured jQuery modal plugin with more than 30 CSS3 powered animation possibilities and 7 home made themes to use it. Features: Responsive Design – The layout adpats to the viewing environment. CSS3 Animation – 31 funny and really smooth animations. Themeable – 7 provided themes and simple api to create more. 3D Scaling – If the browser support 3D, you can add a super smooth scaling effect to the overlay. Display Product Information on a Hover over Thumbnails using jQuery Product List - This could be your portfolio list, product list, image list, etc. Blueprint : Tooltip Menu with CSS3 & JavaScript This is a simple tooltip menu that will show a tooltip submenu when hovering over an item. Menufication : jQuery Responsive Fly-Out Menu with CSS3 Navigation is one of the most important aspects of a website. Features: Utilizes CSS3-tranforms for optimal and native-like performance. jQuery HoverMenu

50 Amazing jQuery Plugins That You Should Start Using Right Now jQuery has a wonderful community of programmers that create incredible things. However, it may become difficult to sift through everything that is released and find the gems that are absolute must-haves. This is why, in this post, you will find a collection of 50 new jQuery plugins and JavaScript libraries that, when applied with good measure, can make your sites a joy to use. The plugins are organized into categories for easier browsing. Enjoy! Dialogs The browser's built-in dialogs are easy to use but are ugly and non-customizable. 1. Alertify (github) is small library for presenting beautiful dialog windows and notifications. alertify.alert("Message"); alertify.confirm("Message", function (e) { if (e) { } else { } }); 2. jQuery Avgrund jQuery Avgrund (github) is another cool dialog solution. Forms Forms are tedious and boring. 3. iCheck iCheck (github) is a jQuery plugin that enhances your form controls. 4. 5. jQuery File Upload 6. 7. jQuery Knob 8. $('.datepicker').pickadate(); 9. 10. 11.

jQuery jQuery UI jQuery Mobile | jQuery Mobile scrollorama Disclaimer: This is an experimental, just-for-fun sort of project and hasn’t been thoroughly tested. Design and build your site, dividing your content into blocks. Embed scrollorama.js after jQuery and initialize the plugin, passing the blocks class selector as a parameter. Target an element and animate its properties. The animation parameters you can use are: Hook into the onBlockChange event. scrollorama.onBlockChange(function() { alert('You just scrolled to block#'+scrollorama.blockIndex); }); Note: If you are not using the pinning feature, it is recommended you disable it.

Related: