SiteCrafting Blah Blah Blog
Mar. 31, 2008 at 11:40am
Got API?
An API reference does a method's body good...

gotAPI.com is one of the most useful online resources I've come across, primarily because it places resources spread all over the internet into one simple site. I've been using this for quite some time, and have for the most part I have taken its usefulness for granted. Then it occurred to me that I might not be the only one that could find this tool useful (I know, it was a big 'DUH!' moment). So now I will share this gem with others...
Read more
Comments (1) | Posted in ASP.NET 2.0, CSS, From the Workbench, Javascript, MS SQL Server, MySQL, PHP, Review, Software Engineering, XHTML by Nick Williams
Feb. 14, 2008 at 4:29pm
Touch the Vote
Rock it as well, if you must

This time of year you either get hooked or get sick of everything politics. That's right, it's a Presidential election season and the 24-hour news cable channels are firing out tons of info both via your TV and online. Some worthy strides in web development practices have also come about on one news site in particular that may help political junkies get their fix anytime, anywhere.
Read moreComments (0) | Posted in Coding Techniques, Javascript by Kevin Freitas
Jan. 4, 2008 at 3:21pm
Anonymous Recursion with JavaScript
A new way of solving an old problem
A nice feature of JavaScript is that functions are objects. As such, they do not need a name if they are used right away. But what if you need a short anonymous recursive function? arguments.callee becomes your new best friend.
Read moreComments (0) | Posted in Coding Techniques, Javascript by Paul Sayre
Sep. 12, 2007 at 4:52pm
AJAX & IE Caching Issues
I've been working on a project that involves using the jQuery javascript library and the Ajax methods. I've been happily using the Ajax jQuery.get() method to handle simple calls, such as a link that allows a user to view a list of words based on their selection, getting the contents of a tab when the user selects a tab, and finally getting the current weather after the person enters a new zip code, which is then saved to the database.
For the last operation, I got the JavaScript working great on Firefox and I thought it was working in Internet Explorer. However, after some testing, I noticed that the same weather data was being returned, even after a new zip code on the opposite coast was selected. Mmmm, I was rather baffled, especially since I've been using this jQuery.get() on the other functions, and encountered no problems like this.
Read moreComments (0) | Posted in From the Workbench, Javascript by Ken Foubert
Apr. 9, 2007 at 4:36pm
Printing without the Dialog
One day, one of our clients came to us with a very unusual request - they wanted to be able to print something directly from the browser, but without displaying the usual print dialog box. I don't have much time in the webdev business, but I've never heard of this kind of request, and neither had anyone else in the office.
Read more
Comments (0) | Posted in From the Workbench, Javascript, Odds 'n Ends, PHP by Dave Poole
Jan. 19, 2007 at 10:03am
Prototype Documentation
Finally...
One of the most popular javascript libraries, Prototype, has finally released a decent set of documentation. I'm really pleased, because it was a little difficult to work with not knowing what was available, and how to use all the tools.
Their website is very simple and easy to use, and will quickly become one of my most visited sites. If you haven't used Prototype, I highly reccomend taking a look at its features. It makes javascript development very fast and simple, even for complex problems. I've used it to great success. I don't know how it matches up with some other javascript libraries yet, but I'm planning on reviewing all of them.
Comments (2) | Posted in Critiques, Javascript by Dave Poole
Dec. 13, 2006 at 4:12pm
The <select> Tag and innerHTML
While I was working on a recent project, I ran into a weird bug with IE 6. I was using some AJAX to dynamically fill a <select> tag with options depending on what element was selected from the tag's parent. It worked fine, and quite seamlessly in Firefox, but broke for inexplicable reasons in IE. Read more
Comments (6) | Posted in Browser Bugs, Javascript, PHP by Dave Poole
Dec. 11, 2006 at 4:36pm
Names 1, IDs 0

I never enjoy finding quirks in something so seemingly simple when I'm coding but it certainly happens. The following is a tale of how I ran into trouble with a couple attributes that should be worlds apart.
Read moreComments (1) | Posted in Coding Techniques, Javascript by Kevin Freitas
Nov. 1, 2006 at 9:16am
Bulletproof HTML Critique
I ran across a neat article from Sitepoint via Stylegala that you all should read on how to make your HTML 'perfect'. In the world of design, the concept of perfect is non-existant. There is no solution that will work for solving every problem, and there are exceptions to every rule. This article is no different. Read the full article, and then check out my comments.
Read more
Comments (3) | Posted in Critiques, CSS, Design, Javascript, XHTML by Dave Poole