Better CSS Part 3: ids vs. classes

This is a touchy subject. Whether you should use the id attribute or the class attribute in your HTML to style things with CSS. One thing is certain, XHTML standards say that ids must be unique. If you have multiple ids that are the same, then you need to refer to them with classes instead. With that out of the way, it seems clear to me that the majority of your styling is going to be done using classes.
(more…)

JQTouch – Tap Event Handling for Browsers and Mobile Devices

JQTouch is an awesome platform when it comes to making a mobile optimized website. One problem that I run into a lot is that I develop on my PC, and it’s extremely cumbersome to debug and test on my mobile device during the development process. Instead, I use my PC browser to do most of my debugging and testing, then I just test out major revisions on my cell phone.

(more…)

JQTouch DynamicHeight Extension

This is an extension for JQTouch (a framework built on top of JQuery) that allows you to build mobile optimized websites. This extension arose out of the need to have a dynamic min-height setting rather than relying on the static min-height settings in the jqtouch.css file. This allows for greater cross-browser compatability when aligning items to the bottom of a page or on background elements.

Better CSS Part 2: The Role of CSS

Most of my styling practices center around the role of CSS. CSS was developed so that you could easily and quickly change how a website looks without needing to edit your HTML files. With that in mind, the first order of business is first code your HTML in a way that isn’t married to CSS.
(more…)

JQTouch Advanced Ajax Links

As I’ve been working with the JQTouch links, I’ve noticed that they don’t do a very good job with ajax links. It appears that those links will only work if they are nested in a <li> element. I have a button that sits at the bottom of my home screen that I want to have it load a dynamic page each time it’s clicked via ajax. I was able to do it with a relatively simple bit of code that I will credit Gonzalo Floria with at Google Code for JQTouch.
(more…)

JQTouch Link Behaviors

JQTouch is a great platform for developing mobile optimized websites, especially if you’re already familiar with JQuery. While developing on the platform I found it hard to find some resources and tutorials, so that’s what I’m hoping to provide you with here.

(more…)

Interesting Night At Othello

For my birthday Courtney got us tickets to see Othello in the Space Theater at the Denver Center of Performing Arts. The Space Theater is one of my favorites because it’s so small. She paid $18 for each ticket and we were only three rows from the stage. It’s just nice to be so close to the actors and doesn’t have the detached feel of the bigger theaters.

(more…)

PHP 5.3.2 and PHPMyAdmin

I installed PHP 5.3.2 on my development machine yesterday and had a hard time trying to get PHPMyAdmin to work. I could get to the login screen, but after logging in it just left me at a blank white screen. Nothing in the errors logs. I ended up having to roll back to PHP 5.2. If anyone else has experienced this or can give me some help, I’d appreciate it!