background preloader

jQuery

Facebook Twitter

WebGL

Javascript loaders - Google Docs. Treesaver.js. LABjs Script Loader :: Home. DD_belatedPNG: Medicine for your IE6/PNG headache! 2011/4/8: This is no longer an actively maintained project. I apologize, I must move on with current events. This is a Javascript library that sandwiches PNG image support into IE6 without much fuss. You can use PNGs as the SRC of an <IMG/> element or as a background-image property in CSS. If you attempt the latter, you will find that, unlike with vanilla usage of AlphaImageLoader, background-position and background-repeat work as intended.

As a bonus, "fixed" elements will respond to a commonly used set of Javascript style assignments, as well as the A:hover pseudo-class. Table of Contents Long story short, this uses Microsoft's implementation of VML instead of Microsoft's AlphaImageLoader filter. The intended implementation is pretty easy: Download a copy of the DD_belatedPNG Javascript file - please do not hotlink mine, I am on a shared host. Due to popular demand, here is some documentation for how to "fix" elements on a pick-and-choose basis. (Based on the normal usage approach) Twentythings.pageflip.js - 20thingsilearned - Source code for www.20thingsilearned.com. Stylize Your Own Checkboxes | Webstuffshare.com - Worth Sharing.

Checkbox is one of the most frequently used element on the forms, plain checkbox will be nice if in the forms we made there are many checkbox or others forms element that are used, but how about we just need a single checkbox in our forms without any other forms element, a little bit horrible, i think. Another case, we need a ‘visual toggle’ that represent two input value, YES or NO, ON or OFF, TRUE or FALSE.

It means we must stylize our default and plain checkbox, now do you still remember iPhone style checkboxes? That’s it, i will explain how to create that one. The Basic and The Technique Basically, to create stylized checkbox we just need to replace default checkbox with the DIV element that have a background image. To decide which images we want to show (ON or OFF, for example) we will read the checkbox’s value. In this implementation, we will use image sprite that represent two checkbox status (checked and unchecked).

The Rest, Let’s jQuery Rock! Still too plain? GMI survey. Media_httpgigaomfiles_Ehohr.jpg.scaled1000.jpg (774×1000) "I have read your website and it is obviously that your a foggot." From: George LewisDate: Thursday 2 September 2010 6.51pmTo: David ThorneSubject: No Subject I have read your website and it is obviously that your a foggot. From: David ThorneDate: Thursday 2 September 2010 8.07pmTo: George LewisSubject: Re: No Subject Dear George, Thank you for your email. While I have no idea what a foggot is, I will assume it is a term of endearment and appreciate you taking time out from calculating launch trajectories or removing temporal lobe tumors to contact me with such. I have attached a signed photo as per your request.

From: George LewisDate: Thursday 2 September 2010 8.49pmTo: David ThorneSubject: Re: Re: No Subject I didnt ask for a photo fag. and I meant faggot you homo. im not a fan so you can shove your signed photo up your ass. From: David ThorneDate: Thursday 2 September 2010 9.17pmTo: George LewisSubject: Re: Re: Re: No Subject If you livd close by gaycunt I would be over your place with five friends tonight.

I knew we would get along well. RequireJS. jQuery API. 45 Fresh Useful JavaScript and jQuery Techniques and Tools - Sma. Advertisement Yes, this is another round-up of fresh and useful Javascript techniques, tools and resources. But don’t close the tab yet, as you might find this one very useful. In this selection we present calendars, forms, buttons, navigation, debugging, optimization and compatibility tables as well as handy resources and tools.

We also cover various jQuery-plugins that will help you extend the functionality of your website and improve user experience with ready components or coding solutions. The last section also covers a number of useful educational resources such as a compilation of useful JavaScript coding practices, a detailed comparison of JavaScript frameworks and general JavaScript programming conventions. We are looking forward to your feedback. You may be interested in the following related posts: Calendars and Timelines jDigiClock – Digital Clock (HTC Hero inspired)4 jDigiClock is a jQuery plugin inspired from HTC Hero Clock Widget. JavaScript Debugging and Validation Tools Poll. Massive Regular Expressions Toolbox | tripwire magazine. Regular expressions (“regex’s” for short) are sets of symbols and syntactic elements used to match patterns of text and they are pretty powerful.

Regular expressions have been around for a very long time (in computer industry scale) and was first introduced as part of the powerful UNIX search tool grep. The regex syntax used commonly today is compliant with Extended Regular Expressions (EREs) defined in IEEE POSIX 1003.2 (Section 2.8). EREs are supported by Apache, PHP4+, Javascript 1.3+, MS Visual Studio, MS Frontpage, most visual editors, vi, emac, the GNU family of tools (including grep, awk and sed) as well as many others. Extended Regular Expressions (EREs) will support Basic Regular Expressions (BREs are essentially a subset of EREs). The BRE syntax is considered obsolete and is only still around to preserve backward compatibility. I believe mastering at least the most basic elements of regex is essential for any programmer.

Advertisement Regex – Getting started Matching a username. 198. jQuery goodness « Boagworld. Classic shows: The estimated time to read this article is 8 minutes Subscribe to these quick tips using iTunes or RSS | Download AudioDownload Audio Download this show Launch our podcast player News Quick tips for better design We all need design tips whether we are a designer, developer or website owner. Enter “Make your design pop” a great little guide to small changes that make a big difference. The post consists of 8 tips that will allow you to quickly improve pretty much any design. Layout on a gridDefy image boundariesAdd whitespace However, the whole list is worth a read. One other thing they could have included is ‘add some depth.’ How web designers frustrate clients I am in the middle of writing a post about how frustrated web designers get with our clients and how to overcome the problem.

I was therefore interested to see a post that looks at what frustrates clients about web designers. According to this post the 5 most frustrating comments a designer can make are: Back to top By Matt Bee. 75+ Top jQuery Plugins to improve Your HTML Forms&|&tripwire mag. jQuery makes it easier and simpler to provide your users with high quality, dynamic, good looking and intuitive input forms. This post lists some of the best available in different categories; “Form Element Visual Enhancements”, “Form Element Data Validation and Manipulation”, “Form Tool tips”, “Calendars and date pickers”, “jQuery hot key plugins” etc. Drop a comment if you know a good plugin that should be added to the list! Please remember to support tripwire magazine and share the article if you like it! Advertisement Form Element Visual Enhancements jQuery plugin: ‘autoResize’ This is an animating ‘autoResize’ jQuery plugin adjusting the text field height as needed.

Uniform Introducing Uniform, a plugin for jQuery that lets you style select, radio, and checkboxes however you desire. Turn any webform into a powerful wizard with jQuery (FormToWizard plugin) This detailed tutorial will show you how to turn long webform into a wizard with “steps left” information. Baby Steps Jeditable Highlight. Geocoding - How to calculate the bounding box for a given lat/lng location. Week 12: 20 Fantastic Web Interfaces. Posted by Daniel in Design, Design Interfaces, Featured on May 28th, 2010 with 2 Comments Week 12 of our Web Interface showcase is here! What a week it has been, the work being produced each week is getting better and better.

We are now also going to be also featuring new work on ThemeForest which we are excited about! We have some fresh work created by some very talented web designers and are honoured to feature them here on nenuno. The twelfth week of our web interface showcase is from the 22nd to the 28th May 2010. Please note that clicking on the screenshot below will take you to the full sized version and also some designers are featured more then once. The Capsule: Save the World by samborek Mobile Layout – Collabo by h1xndesign & termi1992 Prosto – Business WordPress by olegnax Project Hyde – For Sale by AndasoloARTS League design agency by guitarsimo80 bright portfolio by misht Ambitious redesign by Leniv3c Mad.Music by AndasoloARTS E-llusion studio design by mkaramitev Qube by Pixelcloth.

How to detect screen size and apply a CSS style | jQuery | ilove. Sometimes we need to format the content differently according to the screen resolution of the user. One of the ways to do this is to simply detect the screen width using the screen.width property and change the stylesheet. In this tutorial we’re going to see how to do that using jQuery. Before we begin, that a look at what we will be building Detecting screen size with jQuery demo Loading… The first step is to load our base stylesheets, the jQuery library and our javascript.

We’re going to test if the user screen size is less than 1024 x 768 and if it is, we’ll change the stylesheet. The changing style Define the same style in two different sheets. And for detect1024.css: Detecting screen width We’re going to add a JavaScript alert so the execution will pause until we click OK and we get to see the former style. As a selector, we look for the link element with a rel attribute with a value of stylesheet. That’s it. You might want to check these related posts: Jquery Change Height based on Browser Size/Resize - Stack Overfl. How to hide and show initial content, depending on whether JavaS. Many people ask me how I choose to address an situation where all content in a web should be available without JavaScript, but certain parts hidden if JavaScript is enabled. It’s a pretty common scenario where, for instance, part of a tree navigation or different blocks in the web page are hidden for JavaScript-enabled web browsers, thus letting the end user toggle them.

However, if the end user doesn’t have JavaScript enabled or if it fails for any reason, you would want that toggled content to be visible immediately. Using noscript? Just use the noscript element, I guess you’re thinking. While that definitely works to some degree, there are some issues with it. To begin with, content within the noscript element will only be visible to user with JavaScript disabled. Second, noscript only tells you if JavaScript is enabled or not in the web browser; not if it actually works. In my pragmatic mind, this pretty much renders noscript useless, if you want to be a 100% sure. Not really. The code. Weekend Posts & Videos For jQuery Developers (4/1/2011) Hey guys. It’s been a great week for jQuery and with the 1.5 milestone now out, I wanted to share some useful links, articles and videos to help you get the most of this release (and jQuery in general). Some of the stuff I’ll be personally checking out this weekend is a more in-depth look at deferreds (new to 1.5) as well as some of the great talks from last year’s jQCon which were just released.

Please feel free to retweet this post for your colleagues if you find it useful (and have an awesome weekend!). jQuery 1.5 Articles, Resources and Videos Using Deferreds with jQuery 1.5 – a great in-depth article by Eric Hynds with jsFiddle examples: . Also remember to take a look at Julian (jaubourg)’s comments below the post as they contain further demos of deferreds in action .

How can you use jQuery Deferreds? Boris Moore’s jQuery Script loader that uses the new 1.5 dfds features Recommended Articles.