DM Blog 2013January 14, 2013 Mon, 14 Jan 2013 19:08:29 -0500 ✻ Toronto, Ontario (43.6703047604371;-79.39150454232788) by Daniel Menjivar BlogI've changed my blog's design several times over the years but I hadn't noticed that it's always been in December/January every year. This time, I decided to rewrite everything from the ground up – here are a couple features that I added...
Show or Hide a Sidebar on iPad Based on OrientationMarch 15, 2012 Thu, 15 Mar 2012 15:33:48 -0400 ✻ Toronto, Ontario (43.6703047604371;-79.39150454232788) by Daniel Menjivar BlogIf you look at this site on an iPad, the sidebar is shown or hidden based on the device's orientation. There's two parts to making this work...
Animating Rotation With jQueryFebruary 21, 2012 Tue, 21 Feb 2012 16:15:49 -0500 ✻ Toronto, Ontario (43.6703047604371;-79.39150454232788) by Daniel Menjivar BlogAll I wanted to do was start with an image centered on the page and then move it to its final position while shrinking it and rotating it. The only problem was the rotation part...
WordPress Tag Cloud with Post CountsSeptember 30, 2011 Fri, 30 Sep 2011 11:42:38 -0400 ✻ Toronto, Ontario (43.6703047604371;-79.39150454232788) by Daniel Menjivar BlogOne of the things that has annoyed me about WordPress for a long time is the inability to display a post count next to each tag in a tag cloud. Here's the code I came up with to accomplish this.
How to Use Tweet EntitiesAugust 24, 2011 Wed, 24 Aug 2011 16:25:32 -0400 ✻ Toronto, Ontario (43.6703047604371;-79.39150454232788) by Daniel Menjivar BlogOn my sites, I'm using the URL entities to display long URLs in a shorter, more visually appealing way; hashtag entities to make hashtags clickable links; user_mention entities to make usernames clickable links; and media entities to display any linked photos right on the page...
HTML5 History APIAugust 4, 2011 Thu, 04 Aug 2011 12:04:39 -0400 ✻ Toronto, Ontario (43.6703047604371;-79.39150454232788) by Daniel Menjivar BlogWhen re-designing my music site, I wanted to make sure that visitors could bookmark and share the original URL of the page without any appended #hashes. This was perfect for HTML5's History API.
Not Just a Special...July 6, 2011 Wed, 06 Jul 2011 09:43:32 -0400 ✻ BB Super Store (43.686036550431304;-79.31203299140168) by Daniel Menjivar BlogThere's a small convenience store on the Danforth with this sign in front that always makes me laugh every time I walk past it on my way to the subway.
Date and Time Types in MySQLJune 9, 2011 Thu, 09 Jun 2011 16:54:24 -0400 ✻ Toronto, Ontario (43.6703047604371;-79.39150454232788) by Daniel Menjivar BlogI'm going to get into the various date and time types in MySQL with an explanation of when to use each one, as well as an extensive discussion on timezones.
Blue is Better Than GreenMay 1, 2011 Sun, 01 May 2011 20:34:32 -0400 ✻ Toronto, Ontario (43.6703047604371;-79.39150454232788) by Daniel Menjivar BlogI recently updated the design of my blog and made some minor changes here and there. The most noticeable difference is that I changed the background color from green to blue.
Basil Thai KitchenMarch 27, 2011 Sun, 27 Mar 2011 17:48:36 -0400 ✻ Basil Thai Kitchen (43.68719443555414;-79.30702795533048) by Daniel Menjivar ReviewsMichelle and I reluctantly decided to try out Basil Thai Kitchen and discovered a diamond in the rough...