This is a simple method of showing and hiding form elements based on the user’s selection. It’s based on this article with a couple of very minor changes. (Dare I say, improvements?) I’m going to assume you’ve already included the JQuery library so I won’t cover that here. I want to go straight to the code. (View the example page here.) Read the rest of this entry »
Display Form Fields Based on Selection Using JQuery
March 14th, 2010Similar Posts
- Display Form Fields Based on Selection Using JQuery
- Why Use Blueprint and the 960 Grid System in the Baseline Theme?
- Simple Security in CakePHP
- Blueprint CSS Tutorial File
- Blueprint Optional Fancy-Type Plugin
CakePHP: Containable Behavior is Your Friend
February 18th, 2010When it comes to optimizing your CakePHP queries, you need to abandon Recursive and adopt Containable.
In the example below I have the following models:
- Patient
- Specimen
- Result
- ResultType
The associations in the model are:
- Result
- belongsTo
- ResultType
- hasMany
- Result
- hasMany
- Patient
- hasMany
- Result
- Specimen
- hasMany
- Specimen
- belongsTo
- Patient
- hasMany
- Result
- belongsTo
- ResultType
- belongsTo
Similar Posts
- CakePHP: Containable Behavior is Your Friend
- Use Functions from Other Controllers While Maintaining MVC Architecture in CakePHP
- Getting Blueprint CSS & JavaScript Libraries Into Your CakePHP Layout
- Roll Your Own CakePHP Components
- Introducing the Baseline Development Wordpress Theme
Baseline Theme Version 1.0.1
February 16th, 2010There is a new version of the Baseline Theme. In the last few days of tinkering with it and modifying it for use with this website, I noticed a small bug. The Blueprint IE reset was acting funny in conjunction with the IE8 JavaScript. I chose to make IE8.js the default with the option of including Blueprint’s reset instead. Read the rest of this entry »
Similar Posts
- Baseline Theme Version 1.0.1
- Introducing the Baseline Development Wordpress Theme
- Incorporating Blueprint CSS Into Your New Wordpress Theme
- Getting Blueprint CSS & JavaScript Libraries Into Your CakePHP Layout
- Blueprint CSS Readme File
Blueprint Optional Fancy-Type Plugin
February 15th, 2010The Baseline Development Wordpress Theme has Blueprint plugged in already. There are some optional Blueprint plugins you can take advantage of. We’ll take a look at the fancy-type plug-in. Read the rest of this entry »
Similar Posts
- Blueprint Optional Fancy-Type Plugin
- Why Use Blueprint and the 960 Grid System in the Baseline Theme?
- Blueprint CSS Tutorial File
- Blueprint: Taking a Close Look at grid.css
- Blueprint CSS Readme File
Why Use Blueprint and the 960 Grid System in the Baseline Theme?
February 14th, 2010An Inventory of Blueprint’s Style Resets and Useful Classes
A friend contacted me about using the Baseline Wordpress theme, but asked why I included both Blueprint and the 960 Grid System. The short answer is that Blueprint has a number of browser resets that I like to take advantage of and 960 GS offers greater flexibility in terms of the width of columns and their gutter widths. Especially if you want to adhere to the Golden Ratio for design. 960 pixels divides very neatly into 3.
Let’s take a look at what Blueprint does to reset some things to establish a cross-browser baseline. Read the rest of this entry »
Similar Posts
- Why Use Blueprint and the 960 Grid System in the Baseline Theme?
- Blueprint Optional Fancy-Type Plugin
- Blueprint: Taking a Close Look at grid.css
- Blueprint CSS Tutorial File
- When Using a Grid Layout CSS Framework, Do the Math
Introducing the Baseline Development Wordpress Theme
February 8th, 2010I’ve come up with some habits that I’ve developed from building themes for Wordpress over the years. One, is to start with a nearly blank style sheet. I also like to hook in several JavaScript libraries and CSS frameworks from the start to take advantage of things like JQuery, Blueprint’s CSS reset and Superfish menus. Read the rest of this entry »
Similar Posts
- Introducing the Baseline Development Wordpress Theme
- Incorporating Blueprint CSS Into Your New Wordpress Theme
- Baseline Theme Version 1.0.1
- Getting Blueprint CSS & JavaScript Libraries Into Your CakePHP Layout
- Blueprint CSS Readme File
Using Mind Mapping Software to Develop Data Models
January 8th, 2010I’ve been using mind mapping software recently to work out data models, with some success. The Mindmeister example below is a simple database of a few related tables. Read the rest of this entry »
Similar Posts
- Using Mind Mapping Software to Develop Data Models
- Use Functions from Other Controllers While Maintaining MVC Architecture in CakePHP
- CakePHP: Containable Behavior is Your Friend
- Simple Security in CakePHP
- Using Social Networking Sites for Research
Blueprint: Taking a Close Look at grid.css
November 9th, 2009About Blueprint
Blueprint is a CSS framework, which aims to cut down on your development time. It gives you a solid foundation to build your project on top of, with an easy-to-use grid, sensible typography, useful plugins, and even a stylesheet for printing.
.container
/* A container should group all your columns. */
.container {
width: 950px;
margin: 0 auto;
}
Similar Posts
- Blueprint: Taking a Close Look at grid.css
- When Using a Grid Layout CSS Framework, Do the Math
- Blueprint CSS Tutorial File
- Why Use Blueprint and the 960 Grid System in the Baseline Theme?
- Blueprint Optional Fancy-Type Plugin
Michael Shermer’s TED Talk: Why People Believe Weird Things
November 9th, 2009
Posted via email from Truetone
Similar Posts
- Michael Shermer’s TED Talk: Why People Believe Weird Things
- What You See Might Not Be Real
- Awesome
- Via http://shop.neatorama.com/
- 50 Years of Space Exploration
Change Into…
November 2nd, 2009
Posted via email from Truetone
