About Me
I live in Philadelphia, Pa. and specialize in web design but have many other interests. This blog is my notes on design & life as I see it.Categories
- Around the Internet (11)
- Code Samples (4)
- CSS (1)
- Design Talk (19)
- Notes on Life (7)
- Restaurant Reviews (1)
- Robotics News (2)
- The Bad (6)
-
Recent Posts
Tags
advertising an event apart arrested development campaign clothes code conference CSS documentary event infomercial javascript jquery khaki logo design microsoft miss daisy music new zealand book council odd oregon philadelphia premiere robotics san francisco seminar SIIA team 341 television ad train mountain trains typography ui university of pennsylvania UPS user experience ux video visual effects web design where books come to life white whiteboard whyy wordpressArchives
Portfolio Links
Blogroll
Friends
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 best practices, code, CSS, html, javascript, websites
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
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
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