Category Archives: Code Samples

MIX10: Jason Weber’s High-Performance Best Practices for Web Sites

During a long car trip to Buffalo, NY I decided to enrich myself by watching a few videos having to do with the field of web design. Here are my notes on Jason Weber’s presentation on High-Performance Best Practices for … Continue reading

Posted in Code Samples, Design Talk | Tagged , , , , , | Leave a comment

Disable Submit Button Until Checkbox is Checked

Here’s an interesting tidbit of code I worked out today for a client website: $(document).ready(function() { $(‘input.button’).attr(‘disabled’, true); $(‘input.button’).attr(‘value’, ‘Please accept our terms to submit’); $(‘.accept input’).bind(‘click’, function() { if ($(‘.accept input’).is(‘:checked’) == true) { $(‘input.button’).removeAttr(‘disabled’); $(‘input.button’).attr(‘value’, ‘Send Memory’); } … Continue reading

Posted in Code Samples | Tagged , , , | Leave a comment

Clearfix Method

The eternal question for beginning web designers often is, “How do I get my background image/color to fill all the way down the page when I float two divs next to each other?” Enter “clearfix.” I first learned about the … Continue reading

Posted in CSS, Code Samples | Tagged , , , | Leave a comment

The Basics

A large part of this blog is to be a helpful resource for me as a web designer and front-end programmer. How so? Because every time I wrangle an entire day of anguish over a silly coding problem I intend … Continue reading

Posted in Code Samples | Tagged , , , | Leave a comment