Building a Simple CSS Selector Engine - NetTuts+
Project File | Video File | 118 Mb
Genre: Video Training
Reuploaded
Recently, I thought I d try my hand at creating a simple CSS selector engine. You know what I m talking about: it s the kind of thing you use in most javascript libraries, where you pass in a CSS selector to find the elements you want to work with. Today, I ll show you how to create a really simple one!
What we are going to be building today is in no way something you d use on a live site. It will not have all the great features you re used to using in the real selector engines, but it will give you a small taste of how complicated something like Sizzle or NWMatcher can be. And who knows? Maybe you ll pick up a few javascript tips and tricks on the way.
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.