Tagged under ‘jQuery’

My problem with JavaScript libraries

Published by patrick on 08 Apr 2009 01:18 -0700. 3 Comments. Tags:

I have a problem with JavaScript libraries. My problem is this: I feel that, in a way, they begin to replace actual JavaScript for new web developers. Let’s say I teach a person to use jQuery. I teach him to use the various functions, and how to use plugins. Then, I see him working on a project one day and see this code:

<script type="text/javascript">
$(function() {
$("#hide").hide();
$("#show").show();
}
</script>

That’s right, he’s importing 20kb of pure JavaScript awesomeness for… two lines of code that could have just as easily been done using raw JavaScript:...

continue reading...

IE6 users, jQuery is awesome

Published by patrick on 28 Nov 2008 16:45 -0800. 4 Comments. Tags:

When I made this site design, one of my decisions was to use semi-transparent PNGs, fully knowing that IE6 does not support it natively. Well, IE6 users rejoice, because jQuery has a plugin called PNG Fix that fixes these semi-transparent PNGs in IE6.

 1
Top ↑