The Wicked Good Gallery grew from an idea mentioned at http://w3schools.com/forum and discussions with the people at http://lilyclaireart.com.
The challenge was to build a gallery application that would allow site visitors to view and purchase artwork… more »
Psuedo 'Slide Show' - Displaying and Hiding divs
This is a nice example of the setInterval function of javascript.
Key features:
Divs can be added without modifying the code
Div naming scheme (div#) reduces collisions with other page content
setInterval drives the process
Tested with IE7 and… more »
Debugging AJAX
Use the transport mechanism to send debug information. For example, if you're sending back an array of data, add a new element (or several), and put in the SQL query so you can see exactly what's being executed.
Store the returned data in global variab… more »
Let Go of Logic and "It Should"
Sometimes, code doesn't do what it is supposed to, or what you expect. This is particularly common with open source code you didn't write.
You can't change the basic code architecture or data structures.
Key techniques to adapt and recover with ja… more »
IE, objects, and commas
Using objects with javascript, under IE requires attention to commas.
If you have an AJAX application that won't load, and the error message is difficult to match up with the code, or not descriptive, one of the best things to check is the objects for… more »
:: Next >>