Tutorials Page 224
Create a JavaScript Confirmation Box
Javascript confirmation boxes aren't used nearly as often as they used to be, mostly due to more advanced usages of JavaScript and modal boxes, but they are still helpful. Whenever I create administrative functionality for my customers, I always use a JavaScript confirmation box before...
CSS3 and Your Browser
CSS3 has been in the works for quite a while but the "A grade" browsers have been slow to implement many of the new selectors. How is your current browser vendor doing? Use the CSS Selector test suite to find out!CSS...
Override Vista and XP’s Themed Buttons and Scrollbars Using a META Tag
The first thing I do to any fresh Windows XP or Vista install is change the theme to old-school "Windows Classic" theme. Square gray boxes, in my opinion, are much better than the awful "rounded", colored bars. The XP and Vista theme settings also...
Merry Christmas!
Merry Christmas to everyone! Get stuffed, fake-smile about that awful computer shirt your clever in-law got you, and drink far too much eggnog! Happy holidays!
Aggravation of a Blogger
I enjoy blogging quite a bit. Blogging lets me pass on some of the knowledge I've accrued over the past years as well as allows me to get feedback on my ideas from readers. I've probably learned more in the last four months of...
Weekend Links – Good Web Design, CSS Working Group, Body ID, IE8 Acid2, DOMAssistant 2.5, Google Analytics, Wii Opera SDK
9 Essential Principals For Good Web DesignPSDTuts has authored an article every Web Designer should read.http://psdtuts.com/designing-tutorials/9-essential-principles-for-good-web-design/CSS Unworking GroupAndy Clarke's not happy with the CSS Working Group and has called for them to be disbanded.http://www.stuffandnonsense.co.uk/malarkey/more/css_unworking_group/ID Your Body For Greater CSS Control...
Basic PHP File Handling — Create, Open, Read, Write, Append, Close, and Delete
I don't do a great deal of file handling in my PHP code -- most of my customers don't have a need for it or there's no room for file creation in the already tight budget. On the rare occasion that I do need to...
Return Random Records in MySQL
The ability to return random records from a MySQL table is invaluable. Returning random records is helpful when: featuring items without showing favoritism to one testing different result sets in your PHP looking to display specific items in a non-specific order The great part about selecting random records from...
Create a JavaScript Refresh Link
Until the advent of AJAX, to view an updated version of a page, you'd have to refresh the page. A page refresh link still has its place today for website that update frequently but don't offer AJAX or META refresh capabilities. The Code There you have it!
PHP Shorthand If / Else Examples
In looking at my Google Analytics statistics, I see a lot of visitors searching for PHP shorthand if/else (ternary) information. I've gone through my code library and picked out some examples of ternary operator usage. Basic True / False Declaration Conditional Welcome Message Conditional Items Message Conditional Error Reporting...