background preloader

Webappdevresources

Facebook Twitter

Jh labs » Blog Archive » jQuery: Fade Out, Change Content, Fade. In the Woods - 15 CSS Tricks That Must be Learned. As web designers and developers, we have all come to learn many css tricks and techniques that help us achieve our layout goals. The list of these techniques is an ever expanding one, however, there are certain tricks that are essential to achieve your goal. Today, we will review 20 excellent css techniques to keep in mind when developing your theme. 1. Absolute positioning inside a relative positioned element. Putting an absolutely positioned element inside a relatively positioned element will result in the position being calculated on its nearest positioned ancestor. This is an excellent technique for getting an element to “stick” in a certain spot where you need it, for instance, a header badge. Read more about positioning: 2. Z-index can be somewhat of a mystery to developers. Read more about z-index: 3.

Using margin auto in a theme is a fantastic way to get an element centered on the screen without worrying about the users screen size. Read more about margin auto: 4. 5. 6. 7. 8. 9. 10. jQuery: The Write Less, Do More, JavaScript Library. Edit-in-place with contentEditable property. 10 Best jQuery Plugins for working with Tables | AjaxLine. TableSorter tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.

It has many useful features Colorize Colorize is a jQuery plugin to add background color to alternate HTML table rows, highlight a row/column on mouse over, and colorize a row/column when you click your mouse button over it. You can colorize as many table rows or columns as you want. A repeat mouse click reverts the row/column to the original background color. tableRowCheckboxToggle This plugin generically adds the toggle function to any table rows you specify based on the css class names. TablePagination TablePagination is a plugin so that you can auto add a pagination element to the bottom of a html table. JQTreeTable This plugin takes a plain HTML table and transform it in a table with a tree inside it. jQuery table2csv jQuery Table Display SearchTable. 70 New, Useful AJAX And JavaScript Techniques | Developer's.

Advertisement As the Web grows and becomes more dynamic, more and more websites have user-generated content and tools that greatly improve the user experience in terms of usability and accessibility. Interactive solutions for lightboxes, form validation, navigation, upload, auto-complete, image cropping, slideshows, tool tips, sliders and tables are being developed that use nifty JavaScript and AJAX scripts. When using these, developers have to carefully consider many subtle techniques to help users get things done.

In this article, we present 70 new and useful JavaScript and AJAX techniques, all of which are of the highest quality and are more or less easy to configure. You will also find some very useful but better known techniques to use on almost any project you work on. jQuery, MooTools, Prototype and script.aculo.us are used in these examples, so every taste gets its due. 1. Timeframe A click-and-drag timeframe, with a function for defining ranges. 2. 3. 4. 5. 6. 7. 8. 9. 10. Proto! 15 Excellent jQuery Navigation Techniques and Solutions | Web De. 87 shares 18 Seriously Helpful Cheat Sheets for Easier Coding A few weeks ago, I showed you the best cheat sheets for web designers.

Following that post, many of you showed interest in having cheat sheets to help you write code. That is no surprise since the skill set of many web designers today go beyond visual design. Read More 93 shares 11 Excellent Solutions for Creating Tooltips Tooltips in web design are becoming more and more commonplace. jQuery and JavaScript Coding: Examples and Best Practices | How- Advertisement When used correctly, jQuery can help you make your website more interactive, interesting and exciting. This article will share some best practices and examples for using the popular Javascript framework to create unobtrusive, accessible DOM scripting effects.

The article will explore what constitutes best practices with regard to Javascript and, furthermore, why jQuery is a good choice of a framework to implement best practices. 1. Why jQuery? jQuery is ideal because it can create impressive animations and interactions. jQuery is simple to understand and easy to use, which means the learning curve is small, while the possibilities are (almost) infinite. Javascript and Best Practices Javascript has long been the subject of many heated debates about whether it is possible to use it while still adhering to best practices regarding accessibility and standards compliance.

Obviously there are cases where a Javascript solution is not the best option. Unobtrusive DOM Scripting 2. ... 45+ New jQuery Techniques For Good User Experience | Developer&# 30 Days of Mootools 1.2 Tutorials - Day 1 - Intro to the Library. Wmd - The Wysiwym Markdown Editor. Custom Search API - Google Code. 10 Quick Tips for an Easier CSS Life. As with most things, a logical and structured approach is the best way to go. Therefore I have put together 10 quick tips (in no special order) to help make your CSS coding as pain-free as possible. 1. Keep it Simple This may sound obvious but if you find yourself using complicated coding to achieve your design then you should think again about whether the feature you need is really necessary or if you’re just thinking about your design and not your visitors.

Too often designers get caught up in their own design and go to great lengths to produce a certain visual effect only to find later on that visitors find it either irritating or unusable. Complex code is usually the result of muddled thinking. While good visual design is necessary to attract visitors you must still have good content and a usable and accessible site. 2. This is an important point as I too often see hacks employed to fix things that aren’t really broken in the first place. 3. 4. 5. 6. 7. 8. 9. 10. Be Sociable, Share! Sorting HTML Tables with Javascript and QuickSort. This tutorial walks through the creation and installation of an object-oriented JavaScript implementation of the QuickSort algorithm. This script is an extendable, unobtrusive, and cross-browser compatible way of enhancing almost any type of tabular data.

Working Demo Resources Implementation Code Documentation Making your tables sortable 1. 2. 3. Function init() { var Table1Sorter = new TSorter; Table1Sorter.init('TARGET_TABLE_ID_VALUE'); } window.onload = init; That's it! Extending the script But what if your table has HTML inside its' <td> tags as in the example ? Table with a column of links First, we add an attribute to the target <th> cell which will tell our script that this column is filled with links. 1. <th abbr="link_column" >Column 2 - Link Column</th> Secondly, add a new case to the setGet function in TSorter_1.js 2.

Upload the scripts and refresh your page. How about multiple tables on the same page? Sometimes you have two data tables on the same page . Making multiple tables sortable.