treehouse : what would you like to learn today?
Web Design Web Development iOS Development

WCMiller

  • Best up to date Web programming books?

    To the JavaScript rec list, I'd like to add JavaScript: The Definitive Guide by David Flanagan, once you've got at least a beginner's grasp of JS. Eloquent JavaScript is also worth a look, imho.
    Comment by WCMiller March 2012 permalink
  • jQuery - Target Active Tab Link?

    When you load the page, you could get whatever hash you may have, and use that to put the class on the appropriate item. It would look something like this: var hash = window.location.hash; if(hash){ $('a[href="' + hash + '&q…
    Comment by WCMiller February 2012 permalink
  • how to display last 5 posts from specific tag in index

    Looks a little tricky to do from scratch. Would this plugin do what you're after?
    Comment by WCMiller November 2011 permalink
  • What are you thoughts on Responsive Web Design

    @TheDoc : Seconded. I'm really interested in what I'm seeing from these guys.
    Comment by WCMiller November 2011 permalink
  • Music

    Adding my $0.02, I'd like to say "don't do it" as well. Having autoplay audio is an instant tab killer for me, unless I absolutely have to use the site. Having the option might be nice, like Robskiwarrior said, but don't mak…
    Comment by WCMiller November 2011 permalink
  • What are you thoughts on Responsive Web Design

    I'm starting to look into it, and have begun fiddling around with some designs. I like the idea of being able to design for multiple set widths (320, 480, 768, 1024) instead of the older focus on fluid design; I mean, I like making things pixel…
    Comment by WCMiller November 2011 permalink
  • how to display first and second post differently than other posts

    Pretty much. However, if you're going to use if statements, you'll need to make the "if" before ($counter == 2) into an "else if", otherwise you'll have the first post show up twice: once as a "first post&quo…
    Comment by WCMiller November 2011 permalink
  • how to display first and second post differently than other posts

    you could declare an iterator variable (say $iter) right before you start the loop, and iterate it after each pass, then use it to test if it's the first or second pass through the loop Here's a pseudo-code example: $iter = 0; if (have_po…
    Comment by WCMiller November 2011 permalink
  • please critique

    Initial Impressions: I like the grey/white monochrome look, very classyHowever, I think the more playful font choice clashes with that classiness. I'd suggest something more "serious", or change to something a little more colorful (ma…
    Comment by WCMiller November 2011 permalink
  • fixed navigation bar = trouble

    "p.s. is it true that fixed position doesn't work in IE?" Quirksmode says that only IE6 doesn't support position:fixed, though IE7 has a bit of a bug. Just curious, why is the #nav given "display: inline;"? I would th…
    Comment by WCMiller November 2011 permalink
  • Thoughts on a little proof-of-concept page I put together?

    Okay, I think I know where the issue is. I'll have to tweak it a bit before I go "live" with it. Thanks again. *Edit: I've fixed the issues I think are appearing. Now all the sections should appear, even in IE. The only issue is…
    Comment by WCMiller November 2011 permalink
  • Thoughts on a little proof-of-concept page I put together?

    Thanks! How does it degrade? Does all the content still show up?
    Comment by WCMiller November 2011 permalink
  • Proble with acordion and ajax

    Looking at the source of your page, I'm not seeing anything on it that looks like the code you've posted. I saw something called l10.js, a couple of scripts that look like the work with Simple Lightbox, and two versions of jQuery (1.6.4 ca…
    Comment by WCMiller November 2011 permalink
  • How to make a the size of the users screen.

    If you don't mind, what is the purpose of doing so. I can think of a couple techniques that might be worth using, but I'd rather know what you're trying to accomplish so I can see if they would do you any good.
    Comment by WCMiller November 2011 permalink
  • Corporate site redesign

    First impressons: the design is pretty nice, overall. The isometric illustration is a nice touch, though I'm not sure how many people will click the red button. The only minor design criticisms I have are with some of the spacing. First, the il…
    Comment by WCMiller November 2011 permalink
  • Need help with understanding placehold.it

    The basic schema is: http://placehold.it/Width(xHeight)[/bgcolor(/textcolor)][&text=textgoeshere] The pieces in brackets are optional parameters, and the parts in parentheses are optional subparameters. Here are a couple examples of query strin…
    Comment by WCMiller November 2011 permalink
  • TypeKit vs Google Web Fonts

    I use Google Fonts due to the freeness, but if I were to be building a big, very professional site, I'd probably go with Typekit. One thing that I've admired about it is the variety of filters they have, especially their properties. If you…
    Comment by WCMiller November 2011 permalink
  • how to build a slide down page content?

    It looks like just a simple jquery accordion effect, and disabling js shows that it is done via scripting. Without it, the content is all extended (nice bit o' progressive enhancement there). Google brings up a number of good tutorials on crea…
    Comment by WCMiller November 2011 permalink
  • using localStorage to store css

    I'm not sure that that would work. As I understand it, localStorage only stores strings of data. I think parsing and unparsing the CSS or JavaScript would be a real hassle, and you might be better off just using the HTTP cache. You also might …
    Comment by WCMiller November 2011 permalink
  • Load different header file if IPAD views website using PHP includes?

    David Walsh has an article on iPad detection, and shows how to do it in PHP quite simply. Once you've got whether iPad is supported into a boolean, you can just use an if/else statement to load the different headers.
    Comment by WCMiller October 2011 permalink
  • IE8 and earlier doesn't center section

    Oops. Never mind then. Not sure how I missed that.
    Comment by WCMiller October 2011 permalink
  • Coda for Windows?

    Just so you know, Notepad++ does have an FTP plugin that lets you open files that are on a server edit, and then save, sending the edited version of the file back up to the server.
    Comment by WCMiller October 2011 permalink
  • Difference between rgb and hex

    Ultimately, no, they're just two ways of specifying the same thing. They just do it slightly differently. Here's a rough equivalent: If you have the hex code "#0088FF". This breaks down into: Red: 00, Green: 88, Blue: FF. The equ…
    Comment by WCMiller October 2011 permalink
  • IE8 and earlier doesn't center section

    For support for earlier IE (IE7 and below, if I'm not mistaken) you should probably include the HTML5 shiv. Those IE versions won't recognize the elements by themselves, but the shiv will make them do so. It's quick and easy to includ…
    Comment by WCMiller October 2011 permalink
  • Netbeans is the nuts

    I too am a recent convert to Netbeans from Notepad++. I still use it for basic HTML/CSS stuff, but do all of my PHP in Netbeans now. No going back. It's not as dramatic as the jump from regular Notepad to Notepad++, but still, there's quit…
    Comment by WCMiller April 2011 permalink
  • Hover Glowing Effects?

    alternatively, they could be using CSS3 transitions. It might not work as widely, but it could be a nice bit of progressive enhancement.
    Comment by WCMiller March 2011 permalink
  • My first whack at a jQuery plugin

    I agree that the noise pattern needs the most work. The patterniness is rather hit and miss, due to the random nature of the noise generation. Sometimes is very patterny, sometimes it looks pretty good, and I'm not sure how to mitigate it. Any …
    Comment by WCMiller March 2011 permalink
  • Hover Glowing Effects?

    my guess is they use the text-shadow property with the :hover attribute. I'd imagine code along the lines ofa.glow:hover { text-shadow: 0 0 4px #8888FF; } would work, assuming your anchors had a class of "glow".
    Comment by WCMiller March 2011 permalink
  • Which php editor do you recommend for windows?

    I also use notepad++, and love it. I'm thinking about trying Aptana and Eclipse in future, but right now npp is meeting all my needs wonderfully. If you do decide to go with it, then be sure to look into the plugins. There are a ton, and they c…
    Comment by WCMiller December 2010 permalink
  • floating images on an irregular grid.

    Not a perfect match, but would http://desandro.com/resources/jquery-masonry/ serve for what you're after?
    Comment by WCMiller December 2010 permalink