SitePoint's DHTML & CSS Blog: Stylish Scripting |
Easy Vector Graphics with the Raphaël JavaScript Library Date: 09/03/2008
Raphaël is a small JavaScript library that allows you to create and manipulate vector graphics in your web pages. It's amazingly simple to use and is cross-browser compatible, as Andrew demonstrates in this short demo.

|
Using JSON for Language-independent Configuration Files Date: 08/21/2008
The growing availability of JSON parsing in server-side frameworks elevates the usefulness of JavaScript beyond client-side programming, to providing base syntax for a generalized data interchange format. Well duh.
But a not-immediately-obvious advantage of this is the ability to have language-independent configuration files for Ajax development.
In a nutshell — a JavaScript object-literal can be parsed as [...]

|
ECMAScript Harmony: New Life for JavaScript Date: 08/19/2008
One by one, the core standards that define the Web are getting a new lease on life. First, the W3C rebooted its development of HTML by abandoning its single-minded focus on XHTML and embracing HTML 5. Now, at a meeting in Oslo, JavaScript has a shot at being saved too.

|
Blockquote: Then and Now Date: 08/11/2008
As “The Ultimate HTML Reference” author Ian Lloyd puts it, “blockquote has been around a long time, but it hasn’t aged a day.” Let Kevin show you how to make use of a largely-forgotten attribute to add a little more meaning to your blockquotes.

|
Mining the SitePoint CSS Reference Date: 08/05/2008
Having served as the Technical Editor on The Ultimate CSS Reference, Andrew Tetlaw has taken the opportunity to dive into the book and pull out a handful of little-known facts about CSS.

|
Custom Web Fonts: Pick Your Poison Date: 07/29/2008
Back in 1998, CSS2 proposed an approach for allowing custom fonts to be displayed on the Web—the @font-face at-rule. 10 years later, we're still grappling with licensing issues, browser support and clashes in philosophies relating to font piracy. Kevin gives us the state of play.

|
Regex Matching Attribute Selectors Date: 07/28/2008
Wouldn't it be handy if you could use regular expressions in CSS to match classes or ids in your HTML code? It would make style sheets enormously powerful, more portable, and would consume less code.

|
JavaScript Event Delegation is Easier than You Think Date: 07/22/2008
If you’re into adding a little JavaScript interactivity to your web pages, you may have heard of JavaScript event delegation and thought it was one of those convoluted design patterns that only hardcore JavaScript programmers worry about. You’d be wrong.

|
CSS Theme Week… And That’s All Folks! Date: 06/27/2008
We conclude our first ever CSS-themed week with a classic article that collates the most important CSS positioning properties.
Nigel Peck’s article CSS Positioning Properties At-A-Glance Guide was first published back in 2003, but five years later still stands strong as a compact summary of the basics of CSS positioning (although we updated a few points [...]

|
CSS Animation: The Ultimate Web Design Easter Egg Date: 06/25/2008
Our third tutorial for CSS Theme Week went live today — a new article titled Warning: This Secret CSS Technique Could Surprise You!.
Read previous articles from CSS Theme Week:
Monday: Nifty Navigation Tricks Using CSS
Tuesday: Breaking Out of the Box With CSS Layouts
Today’s article was written by our own Alex Walker, a man with an unhealthy [...]

|
| Back |