Archive for category Programming
CSS Selector Shell Shows You Stuff
Posted by John in CSS, Programming on January 22nd, 2009
The CSS Selector Shell gives you a nice way to find out how the browser that you're using interpets the CSS given. The shell is a browser-based tool for testing what CSS becomes in different browsers. This could seriously be a big help for debugging problems between browsers, especially when looking at inherited styles. (Found ...
From the Department of Badly Chosen Defaults
Posted by John in CSS, Programming on January 7th, 2009
Note that all the other browsers use bicubic interpolation for scaling by default, because that’s the only thing that make sense, but IE requires a non-standard CSS extension. So, pictures on this site should be a little smoother for those of you determined to use Internet Explorer. From the Department of Badly Chosen Defaults - Joel ...
24-bit PNG support AND rounded corners.
Posted by John in JavaScript, Programming on January 6th, 2009
24-bit PNG Support For all of us that have to deal with the massive pain that is Internet Explorer 6 - there is now finally a way to get 24-bit Alpha-Transparent PNGs to work in IE6. And all it takes is a few lines of code, ideally you'd insert these in between some conditional comments. ...
arguments: A JavaScript Oddity
Posted by John in JavaScript, Programming on November 12th, 2008
arguments is the name of a local, array-like object available inside every function. It’s quirky, often ignored, but the source of much programming wizardry; all the major JavaScript libraries tap into the power of the arguments object. It’s something every JavaScript programmer should become familiar with. Inside any function you can access it through the variable: ...
7 Places to Find the Code You Need
Posted by John in Programming, Shared on November 4th, 2008
A recent thread on SitePoint’s forums discussed how best to learn from other people’s code. For many people learning by example is the optimal way to pick up a new programming language, idea, or technique. But finding that ideal piece of code to look at and learn from isn’t always easy. That’s where code search ...
JavaScript Will Save Us All
Posted by John in CSS, HTML, JavaScript, Programming on October 23rd, 2008
A while back, I woke up one morning thinking, John Resig’s got some great CSS3 support in jQuery but it’s all forced into JS statements. I should ask him if he could set things up like Dean Edwards‘ IE7 script so that the JS scans the author’s CSS, finds the advanced selectors, does any necessary ...
Techy Treasures #1: Feelin’ Empty
Posted by John in JavaScript, Programming on October 17th, 2008
Techy Treasures is a new, regular feature where we’ll be publishing tips, tricks and code snippets for web developers. These are not blue-sky bubbles, they’re solid, proven ideas that you can use in the wild with confidence. SitePoint Blogs » Techy Treasures #1: Feelin’ Empty. I know I'll be adding stuff from here to my code library!
Recent Comments