Aug
21
http://www.smashingmagazine.com/2008/08/18/7-principles-of-clean-and-optimized-css-code/
This is another post from SmachingMagazine. The principles are a pretty good standard ruleset.
#1 (shorthand CSS) is key. I opt for the least amount of whitespace as I can as some of the CSS files I write for larger sites still have a few hundred lines. This is without the IE 6 hacks, which are […]
Aug
1
PHP: If (equal to AND not equal) - eliminate form spam without using a captcha
Filed Under Cool Code Snippits | Leave a Comment
Just learned a great function of PHP thats already made my forms a lot better. A while back I wrote an article about eliminating form spam without captchas by using css to hide a text input box for bots to fill in. By giving the input box a legit sounding name like “email” the bots […]
Jul
31
For one of my soon to be released projects I was asked to create a footer background image that was stuck to the bottom of the website or broswer window. Finding a cross browser css footer was a pain, and inplementing it took some trial and error with the numbers but it worked!
Thanks going to:
http://ryanfait.com/sticky-footer/
For […]
Jul
30
My First Javascript Application
Filed Under Cool Code Snippits, General Web Info, Coding and Database, Uncategorized | Leave a Comment
I wrote my first javascript application last night. I know it’s not very complex, its actually just a form handler. All the same though, I had wanted to write the handler in php, but that was not going to work as it would require the page to reload.
After I figured out I was using the […]
May
27
Flash preloader has delayed visibility or flash preloader is not visible until most of the video is loaded already.
Filed Under Cool Code Snippits | Leave a Comment
Problem: Flash preloader has delayed visibility or flash preloader is not visible until most of the video is loaded already.
Solution: You have too many things loading on frame 1. The only thing that should be in the first frame should be your preloader. All code and other content should start on frame 2. This guarantees […]
Apr
16
Praise for IKEA and a review of page turning flash software
Filed Under Cool Code Snippits | 2 Comments
.
In the process of researching another article I stumbled on a very clean and functional page turning script being used by IKEA to show their mammoth catalog. Wow! A clean interface and new functionality? ZMags, the company that provides the script and backend content controls, did an amazing job with this.
It provides a whole list […]