background preloader


FooTable is a jQuery plugin that aims to make HTML tables on smaller devices look awesome - No matter how many columns of data you may have in them. What Does It Do? FooTable transforms your HTML tables into expandable responsive tables. It hides certain columns of data at different resolutions (we call these breakpoints). So simple! Demos Download Get the source from Github , or you can download it direct. Config via Data Attributes One of the main goals of FooTable was to make it completely configurable via data attributes inside the table. <table class="footable"><thead><tr><th data-class="expand"> First Name </th><th> Last Name </th><th data-hide="phone,tablet"> Job Title </th><th data-hide="phone,tablet"> DOB </th><th data-hide="phone"> Status </th></tr></thead> So you can immediately see that certain columns will be hidden on phones and tablets. Breakpoints We work with the concepts of “breakpoints”, which are different device widths we care about. Usage Extensible Plugin Framework Thanks Related:  Material

KeyboardJS Demo - "Build your app, I'll handle the keys." Press some keys... A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts. It can be used as both a standalone library or an AMD module (see RequireJS for details). KeyboardJS can support any locale, however out of the box it just comes with the US locale (for now). If you create a new locale please consider sending me a pull request or submit it to the issue tracker so I can add it to the library. KeyboardJS.on Usage KeyboardJS.on(keyCombo, onDownCallback, onUpCallback); Binds any key or key combo. Both the onUpCallback and the onUpCallback are passed three arguments. Returned clear() - Removes the key or key combo binding. on() - Allows you to bind to the keyup and keydown event of the given combo. KeyboardJS.activeKeys KeyboardJS.activeKeys(); Returns an array of active keys by name. Returns an array of key names that are currently being pressed. KeyboardJS.clear KeyboardJS.clear(keyCombo); Removes all bindings with the given key combo. keyCombo

HTML5 Multiplayer Game Development | AppWarp HTML5 Multiplayer SDK We are excited to introduce our javascript SDK for AppWarp. This will allow developers to quickly build engaging real-time multiplayer HTML5 games and apps. Our javascript SDK uses websocket technology for fast asynchronous communication with other clients through the cloud. This is better as it does away with the inconvenient AJAX polling paradigm and doesn’t require any browser plugin to be installed. The Chat App Walkthrough We will create a simple realtime chat application, `The Chat App`, by integrating with AppWarp. Screenshots Jungle Chaos 18 Most Popular jQuery Plugins of November 2012 Developers never stops making incredible jQuery plugins every now and then. This roundup lists some of the best plugins of November 2012. 1. A jQuery plugin for transforming select inputs into drop-down lists with some simple expanding effects. 2. This library allows you to create editable elements on your page. 3. Garlic.js allows you to automatically persist your forms' text field values locally, until the form is submitted. 4. A calendar plugin for creating flexible calendars. 5. An experimental plugin to automatically group thumbnails using a pile effect. 6. A fully responsive and lightweight jQuery date input picker 7. jHERE With jHERE, you can easily add interactive maps to your website. 8. Using a PHP file, Responsive Img creates new images on the fly the first time they're needed and puts them on your server. 9. FooTable transforms your HTML tables into expandable responsive tables, No matter how many columns of data you may have in them. 10. 11. 12. 13. jPanelMenu 14. 15. 18.

Tiny Scrollbar: A lightweight jQuery plugin Nonsense The chart shows how much lessons young people took in sports during 1999 sorted by sport and gender. The most popular sport for boys was football with 67 lessons. Girls do not seem to like football that much they only took 18 lessons. Swimming was the most popular sport for girls with 52 lessons. boys also took an interest in swimming and took 47 lessons. Boys took 59 lessons and girls 50 lessons in cycling. The diagram shows the evolution of the horse over a period of 40 million years. The table shows where students got there money from over a ten year period in the United Kingdom. These days sporting champions are more motivated by fame and money. The diagram shows the process of how to do a research.

Grid-A-Licious Back in mid 2008, I created a jQuery plugin. I named it Grid-A-Licious and described it as, "Divs are placed in chronological order with a special grid" because I had no clue how to explain it better. I used this script a lot and designed many sites with it during 2008. At first, people were very skeptic and confused on how to read the grid, and thought this kind of layout belonged in real papers. This reaction slowly faded away once the layout became more and more popular when different developers and designers started to create their own script's interpretation of the floating grid layout effect. In Dec 2008, I decided to wrap the script into a Wordpress theme and release it as a christmas gift to the world. Today this floating grid layout effect is heavily used around the net and there are tons of different variations of the script to download and use. So, why am I continuing developing this? If this is something you’ve been looking for, go ahead and download the plugin and use it.

Gild/bootstrap-tour Musical Keyboard - JS Dynamic Audio Synth So you really want to get into details? Well, first of all, creating waveform is simple enough (it's just a sine wave, and we have a Math.sin() function in JS!), and all of the information you need about packing Waveform Audio data and creating the dataURI can be found here, with much thanks to sk89q. I'm going to assume a basic understanding of Javascript in this brief walkthrough, don't hesitate to e-mail me if you have any questions or concerns! Unfortunately, all you get out of creating a sine wave is an extremely bland (and to be blunt, annoying) flat tone. Real musical instruments create full, lively notes. Well, thank the University of Salford - Manchester for this lovely page. Step 1. Alright, so you copy-and-pasted the code from sk89q's page above and you have your sine wave based on the frequency of note you want to produce. var v = volume * Math.sin((2 * Math.PI) * (i / sampleRate) * frequency); One period is every two sets of vertical dotted lines. So what can we do? Step 2.

Tooltipster - The jQuery Tooltip Plugin Styling your tooltips with a custom look ⇑ Tooltipster makes it very easy to go from one of the packaged themes and customize a few properties of your choice. To do so, we recommend that you create a so-called "secondary theme" which will override some properties of a packaged theme. Create a new css file and include it in your page. For your secondary theme to be applied, provide an array of themes instead of just one. Changing the size of the arrow might be the only challenging customization but it's doable! Updating a tooltip's content ⇑ It's easy as pie to update a tooltip's content - whether it's open or closed. $('#myelement').tooltipster('content', 'My new content'); // or when you have the instance of the tooltip: instance.content('My new content'); Tooltipster plays a subtle animation when the content changes. Using AJAX to generate your tooltip content ⇑ One great use for this is to grab dynamic content for your tooltips via AJAX. Forcing or disabling sides ⇑ Predefined behaviors

jScrollPane - cross browser styleable scrollbars with jQuery and CSS jScrollPane is a cross-browser jQuery plugin by Kelvin Luck which converts a browser's default scrollbars (on elements with a relevant overflow property) into an HTML structure which can be easily skinned with CSS. jScrollPane is designed to be flexible but very easy to use. After you have downloaded and included the relevant files in the head of your document all you need to to is call one javascript function to initialise the scrollpane. How to use It is very simple to use jScrollPane. Then you just need to initialise jScrollPane on document.ready (using a selector which will find the content you want to apply jScrollPane to): $(function() { $('.scroll-pane').jScrollPane(); }); There are plenty of different ways to use jScrollPane - either passing in different settings when you initialise it or by using the API. Download You can always find the latest code for jScrollPane on its github page. The particular files that you need are: Simple examples/ tests Themes Support History Credits Donate

HTML5 Image uploader with Jcrop HTML5 Image uploader with Jcrop We have received several inquiries for the last time from our readers with a question – how to upload photos to website. I think that this is an interesting question, and, I decided to lift the veil of this question. But, I think that the basic file upload is a bit boring thing, so, I decided to add an important feature – Cropping. It is the very time to test our demo and download the sources: Live Demo download in package Step 1. Our first step is html markup. first, we have to put styles and scripts in the HEAD section: And now, in the BODY section we can put our form: I hope that all is clear at this step – this is usual upload form, with hidden and visible fields, once we have selected an image, we will see second step (crop). Step 2. Now, I would like to give you CSS styles to stylize our form: css/main.css Step 3. Our next step – is javascript. js/script.js Step 4. In this step – we have to accept (and upload) our result photo. upload.php Conclusion

jQuery Joyride Feature Tour Plugin - ZURB Playground - Create jQuery Feature Tours in a Breeze Setting up Joyride is simple, just attach the needed files, drop in your markup and choose your settings. Joyride is extremely flexible and lets you take control of how people interact with your tour. We programmed it to be cross-browser compatible with modern browsers and even used some fancy CSS to avoid images. Now let’s see just how easy it is to take your first ride without getting the fuzz involved. New in Version 2 There have been many significant performance improvements in Joyride 2, along with a myriad of new features. It works on every screen size! Step 1 Pack Your Bags You’ll definitely need the Joyride kit in order to do this, so make sure you download it. /* Attach the Joyride CSS file */ <link rel=" stylesheet" type="text/css" href="jquery.joyride-2.0.css"> /* jQuery needs to be attached */ <script src="jquery-1.8.2.min.js"></script> /* Then attach the Joyride plugin */ <script src="jquery.joyride-2.0.js"></script> Step 2 Step 3 Step 4 Step 5

8 Best html css framework for 2014 There has been some really good html/css frameworks being released in recent times. They make designing much easier with the tools they provide. Some frameworks even has a few templates which can be modify and fasten our design speed. This list today represents what I think will be popular and useful html css3 frameworks for 2014. My predictions are based on how popular they currently are and how useful most users find them to be. If you have more to add to this list, please put them in the comments for the rest of the community to know. Onward to the list: #1: Zurb’s html css Foundation Framework Foundation framework is one of the more popular choices in 2013 for design folks. Advertisement #2: Semantic UI framework A new comer to the html css framework group is SemanticUI. #3: Bootstrap html css frontend framework Another super popular frontend framework is Bootstrap. #4: Html css framework for mobile – Rachet #5: Gumby Gumby uses Sass as its CSS preprocessor. #7: Clank mobile framework

Garlic.Js and Sisyphus.Js: These jQuery Plugins Store Form Values With HTML5 LocalStorage Nov 16 2012 The problem is as old as forms on the web are. The longer the form, the bigger the problem, potentially. Garlic.js and Sisyphus.js: Save The Content Of Your Form To LocalStorage If you run an ecommerce site you are aware of the problem. This effect is not limited to shoppers, of course. Garlic.js and Sisyphus.js, two relatively fresh plugins for jQuery promise to be the solution. The operating principle of both plugins is identical. Basic usage is simple with both plugins. Garlic.js: The data attribute has to be attached to each form you want to have the values stored by Garlic. Sisyphus.js works using a function call, not the data attribute kind: As you easily recognize, Sisyphus lets you specify multiple forms in one single function call. Sisyphus offers more options for customization than Garlic does. Don’t be too quick to dismiss Garlic for Sisyphus though. Related Links: Homepage