A quick glance at the Selectors API indicates to me that I am not alone in my desire to retrieve DOM elements with CSS selector syntax.
Programming
-
DOM Selectors API
-
Better Javascript
Javascript needs to grow. The Javascript libraries such as Prototype and JQuery should barely exist. Before you say anything, let me refine the statement. Firstly, I am not discrediting them because they are very usefully libraries. Why should they barely exist? Much of their functionality, as I believe, should be provided […]
-
Add A Class Randomly From a Set
I was recently asked by a friend for information about how to have a random background image. Well not completely random, the background image should be from a set of images. My idea: add a class, randomly from a set, to the body (or another element) with Javascript. I could just change the style […]
-
PHP Upload File Permissions On AFS
A common problem (as a quick search shows) when creating a file upload script in PHP is the permissions on the destination directory. The PHP engine must have permissions to write a file to the destination directory. For Linux and Unix file system, the standard way is to use CHMOD; but, the method is different […]
-
Pointer With Lipstick
I forget which one of my professors said it but I still think it holds true, “a reference is just a cross dressing pointer.”
-
Package Troubleshooting
A simply learned lesson in using Java packages causing the errors out the wa-zoo when trying to run the program.
-
Count Binary
A cartoon to teach you to count with your toes and fingers in binary.
-
First Run With Pear
At my job, I have recently been between projects. I have recently discovered PEAR which the concept of a library of PHP classes is something that I have wanted. I wanted to install these classes on the school’s server. Since I cannot add packages to the main repository I took to following the directions on […]
-
API Design
What makes a good design for an Application Programming Interface.