background preloader

Web Dev

Facebook Twitter

Downloading resources in HTML5: a[download] Chrome now supports the HTML spec's new download attribute to a elements.

Downloading resources in HTML5: a[download]

When used, this attribute signifies that the resource it points to should be downloaded by the browser rather than navigating to it. From Downloading Resources: The download attribute, if present, indicates that the author intends the hyperlink to be used for downloading a resource. The attribute may have a value; the value, if any, specifies the default filename that the author recommends for use in labeling the resource in a local file system.

There are no restrictions on allowed values, but authors are cautioned that most file systems have limitations with regard to what punctuation is supported in file names, and user agents are likely to adjust file names accordingly. For example, clicking the following link downloads the .png as "MyGoogleLogo.png" instead of navigating to its href value: download me.

CSS

JavaScript. Wufoo · Online Form Builder. Edit this Fiddle - jsFiddle - Online Editor for the Web (JavaScript, MooTools, jQuery, Prototype, YUI, Glow and Dojo, HTML, CSS) Quick Guide to implement webfonts via @font-face. Introduction The @font-face feature from CSS3 allows us to use custom typefaces on the web in an accessible, manipulable, and scalable way.

Quick Guide to implement webfonts via @font-face

But, you might say, "Why would we use @font-face if we have Cufon, sIFR, and using text in images? " The Semantic Grid System: Page Layout For Tomorrow - Smashing Magazine. Advertisement CSS grid frameworks can make your life easier, but they’re not without their faults.

The Semantic Grid System: Page Layout For Tomorrow - Smashing Magazine

Fortunately for us, modern techniques offer a new approach to constructing page layouts. But before getting to the solution, we must first understand the three seemingly insurmountable flaws currently affecting CSS grids. Problems Problem #1: They’re Not Semantic. Twitter Bootstrap. The Node Beginner Book » A comprehensive Node.js tutorial. Create a new Fiddle - jsFiddle - Online Editor for the Web (JavaScript, MooTools, jQuery, Prototype, YUI, Glow and Dojo, HTML, CSS)

Get Lat Lon - find the latitude and longitude of a point on a map.

Mobile

Web Standards Update for Visual Studio 2010 SP1 - Visual Web Developer Team Blog. We are pleased to announce the first Web Standards Update for Visual Studio SP1.

Web Standards Update for Visual Studio 2010 SP1 - Visual Web Developer Team Blog

It updates the HTML5 intellisense and validation to reflect the latest W3C specifications and fixes some bugs bugs in the current SP1 support for HTML5. Also JavaScript intellisense it updated to reflect many of the new browser capabilities such as Geolocation and DOM storage. Finally, this update adds comprehensive CSS3 intellisense and validation based on the latest specifications from W3C. As the HTML5 and CSS3 specifications mature we will make updates available accordingly to ensure that ASP.NET web developers always have the latest standards to work with.

This is at the same time an invitation to report any bugs or features you would like to see in future updates. This release has been made possible by the hard work of some of our team members in their spare time and isn’t an official Microsoft release. Now let’s take a look at some of the features. Book of Speed. Microjs: Fantastic Micro-Frameworks and Micro-Libraries for Fun and Profit!

High quality patterns for your next web project. Teach your clients about the mysteries of the web. Color Contrast Checker. You are here: Home > Resources > Color Contrast Checker Contrast Ratio: 8.59:1 Normal Text WCAG AA: Pass WCAG AAA: Pass Sample: I am normal text Large Text WCAG AA: Pass WCAG AAA: Pass Sample: I am large text Explanation Simply select or enter a foreground and background color in RGB hexadecimal format (e.g., #fd3 or #f7da39).

Color Contrast Checker

WCAG 2.0 level AA requires a contrast ratio of 4.5:1 for normal text and 3:1 for large text (14 point and bold or larger, or 18 point or larger). Colour Contrast Check - snook.ca. Humans TXT: We Are People, Not Machines. Add IE 9 Pinned Sites, Dynamic Jump Lists & Notifications to MVC Razor Views-Rachel Appel. If you have an MVC application, why not spice it up by adding in IE 9's Pinned Site features?

Add IE 9 Pinned Sites, Dynamic Jump Lists & Notifications to MVC Razor Views-Rachel Appel

Pinned sites are an excellent way to keep links to your site handy as well as provide notifications and interact with the users. Adding pinned site capabilities to your app is also very easy to do, so it's low effort, high reward. Add pinned sites to partial views. Pinned sites work because of a set of <meta> tags that IE 9 recognizes to produce an integration point with the desktop - the pinned site. The <meta> tags that need to be added as page markup should be in a single location, making it easier to maintain by keeping in tune with DRY principles (yes, DRY works with markup too!).

The first several <meta> tags set the overall pinned site properties such as the startup URL, window size, and custom navigation button coloring, that will run when once a user pins the site. Rendering the partial view containing pinned site elements. Adding jump list items dynamically to the pinned site. Internet Explorer Learning - Pinned Sites. Mobile UI Patterns › Activity Feeds. The Lightbox Clones Matrix. A Conditional Loader For Your Polyfills!

The MediaLoot HTML5 Compendium. Let's face it, it's difficult to keep up with all of the new coding languages.

The MediaLoot HTML5 Compendium

Despite that difficulty, and the fact that some of these standards aren't even finalized, there's still a lot of pressure for designers to start using HTML5. The purpose of this compendium is to make it easier for everyone by providing an up-to-date reference on the new features and uses of HTML5. The W3C specs for HTML5 and CSS3 are also incredibly long and practically unreadable, not to mention unfinished - so it’s easy to see why a lot of designers choose to hold off on taking the effort to learn the new languages, however it’s really not that hard to start using both languages today, there doesn’t need to be a lot of pressure either because the beauty of adopting early is that you can work your way into it slowly and the only thing you actually need to know if you’re already using XHTML/HTML4 and CSS2 is what’s new and how can it benefit you.

Tag Reference Browser Compatibility in Depth Cheat Sheets Semantics. URL Design — Warpspire. December 28, 2010 You should take time to design your URL structure.

URL Design — Warpspire

If there’s one thing I hope you remember after reading this article it’s to take time to design your URL structure. Don’t leave it up to your framework. Don’t leave it up to chance. Think about it and craft an experience.

WordPress

Browser compatibility. HTML5 Boilerplate - A rock-solid default for HTML5 awesome. 10 Free Online Books for Web Designers. There’s a never ending supply of information out there for us web designers.

10 Free Online Books for Web Designers

If there’s something we need to learn, we can find it in one form or another. Sometimes it may be on a blog or it could be in a book. While you may have to shell our some money for a good web design book, there are a number of them out that have online versions that are totally free. Here are 10 you should find very useful. Google, Typekit Join Up to Improve Web Fonts. Google has announced a new Font API and a collection of free, open source fonts anyone can use in their site designs for free.

Google, Typekit Join Up to Improve Web Fonts

The Google Font API allows you to embed any of the new Google fonts on your website using CSS. The fonts themselves are quite nice, with a range of script, serif, sans-serif and monospace typefaces. 960 Grid System. 40 Fantastic Pricing Tables for Your Inspiration. When selling a product or service online, a pricing plan is a not simply a portal the user has to click through to purchase their item. It allows you, as the merchant, do drive you’re deal home, and provide alternative deals that will secure you further purchases.

It follows then, that the pricing plan’s on your website shouldn’t be neglected, and should offer the most important information to the end-user, in an intuitive easy-to-use way. Below are 40 fantastic examples of pricing tables / plans that show how successful companies are engaging their users in their pricing plans, from simple tables, to feature lists, to make your own plan tools.

Each example briefly examines the pricing plan, so you can see for yourself what it is doing. One Hub. Modernizr.