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

Johnnyb

  • Best platform for user messaging/inboxes

    Thanks guys. If you don't mind me asking, what is it in particular that is a pain when working with BuddyPress? On paper it sounds promising, but obviously I don't want to get too far down that road if it's just going to cause me a …
    Comment by Johnnyb May 4 permalink
  • Best platform for user messaging/inboxes

    Cheers Will, I'll check it out. Sounds like a good fit. Just curious, have you used it before yourself? Still open to other options if anyone else has suggestions!
    Comment by Johnnyb May 2 permalink
  • Website redesign feedback/critique

    A couple of quick suggestions: Make the contact form larger. It's the only thing on the page and I'm guessing that most inquiries are going to be longer than 20-30 words. You may or may not agree with this point, but if you're look…
    Comment by Johnnyb May 2 permalink
  • how to play flv in html5

    As HTML5 video doesn't support the FLV file format then if you want to play an FLV then the only options you have are Flash based: 1) Use an online FLV player and embed that into your HTML. 2) Create your own FLV player in Flash. 3) Convert th…
    Comment by Johnnyb December 2012 permalink
  • Making images appear

    For accessibility purposes you'll want to use a button for the image you're clicking rather than just adding a cursor like Christopher did, as you can't tab to and activate an image using the keyboard. Also, ideally you should be hid…
    Comment by Johnnyb September 2012 permalink
  • CSS-Tricks new theme

    That's a pretty cool banner. @SgtLegend Chris Coyier actually tweeted the link to that video yesterday, I think he just wanted to give everyone a sneak peek.
    Comment by Johnnyb August 2012 permalink
  • From this style to this style?

    Best way to do it is to just add a class to the body and use CSS to change the style: http://jsfiddle.net/qRds9/2/
    Comment by Johnnyb August 2012 permalink
  • .swf to HTML5

    Try this https://www.google.com/doubleclick/studio/swiffy/
    Comment by Johnnyb July 2012 permalink
  • Improving my WordPress Workflow?

    I get what you're saying realph. I've run into the same problem and what I usually do is just export the remote database and import into it into my local setup. Then once I've made any changes I need I'll just export it from my l…
    Comment by Johnnyb July 2012 permalink
  • CSS Sprites in a UL

    In this situation I usually just use an empty span tag before the strong tag and apply the sprite background image to that instead. It would result in a small amount of unsemantic markup, but in my opinion it's worth it to save yourself 8+ HTT…
    Comment by Johnnyb July 2012 permalink
  • 1 WordPress site with multiple domain spellings?

    Hey guys, thanks so much for the help. @Senff, you're my hero. What you suggested is what we ended up doing. The internal linking isn't really a big deal so long as they can access any page in the site via any of the domains (eg, mysite.c…
    Comment by Johnnyb July 2012 permalink
  • 1 WordPress site with multiple domain spellings?

    Hey @Senff, thanks for the reply. That's definitely what they have set up currently, but can it be set up that way with Wordpress? I was under the impression that you could only install WP to a single domain name. I installed it to mysite.com a…
    Comment by Johnnyb July 2012 permalink
  • 1 WordPress site with multiple domain spellings?

    Haha yeah. The thing it that this is an established financial investment company, their existing site uses 4 different domains. They are very concerned about SEO and they are currently listed in google using the various domains.. mysite.com, my-s…
    Comment by Johnnyb July 2012 permalink
  • Loading...

    Hey Cameron, Can you link to your site so I can take a look? John
    Comment by Johnnyb June 2012 permalink
  • jQuery UI drag and drop scrolling problem

    Anyone got any ideas or able to point me in the right direction? Any help would be really appreciated!
    Comment by Johnnyb June 2012 permalink
  • Loading...

    No worries, here's an example of it working for you: http://jsfiddle.net/jXGnT/2/
    Comment by Johnnyb June 2012 permalink
  • Loading...

    Hey Cameron, You could just trigger the fadeIn via a callback function on the fadeOut: $(window).load(function() { $('#loader').fadeOut(2000, function(){ $('body').fadeIn(2000); }); }); The fadeIn will run only when t…
    Comment by Johnnyb June 2012 permalink
  • Sorry one last question...

    #stockticker { position: absolute; top: 0px; right: 0px; } Change 'right' to 'left' and change the top value to whatever you like. #topNav { position: relative; height: 0px; text-align: right; margin: 0; margin-bottom: -25px; } …
    Comment by Johnnyb May 2012 permalink
  • LinkedIn

    I would agree that it's more useful in certain circles than in others. However, if you're looking for a job or for freelance clients/connections then it's a very useful resource. I get several freelance/contract inquiries every mont…
    Comment by Johnnyb May 2012 permalink
  • CSS best practice, lots of classes or larger class definitions

    This is one of the reasons preprocessors are gaining popularity. You can use a minimal number of classes but not end up with a huge CSS file. But if you're not able to use one then I'd just be sensible about the number of classes used, li…
    Comment by Johnnyb May 2012 permalink
  • How can i simplify my ugly jQuery? (code included lol)

    Couldn't you just grab the ID from whatever button's clicked like so... $('.navigation a').click(function(e) { e.preventDefault(); var $self = $(this); // some code here to hide the page if it is open... $('…
    Comment by Johnnyb May 2012 permalink
  • What do you do with freelance projects that you don't have time for or don't want to do?

    Hey thanks everyone for the ideas. I know a few people locally but none of them I consider accomplished enough to take on these projects. @Schmotty, I'll keep you in mind in future - can you message me some details on your skillset? @Christo…
    Comment by Johnnyb May 2012 permalink
  • Lets Learn SASS together.

    Here's a few LESS ones I just copied and pasted from a recent project: .box-shadow (@x: 0, @y: 0, @blur: 1px, @color: #000) { box-shadow: @x @y @blur @color; -moz-box-shadow: @x @y @blur @color; -webkit-box-shadow: @x @y @blur @color; } .tr…
    Comment by Johnnyb May 2012 permalink
  • A full Critique please!

    Hey Matt. Firstly, hats off for trying something different. Here's a few observations... - I know you're using impress.js but it looks a bit too much like a slideshow presentation. My personal opinion is that it would look sweeter if e…
    Comment by Johnnyb May 2012 permalink
  • fallback picture for flash not showing

    Hey Spago, The best way to do is to put a preloader in your Flash file. I haven't used Flash in a little while, but you essentially put a loading animation on the first frame with a 'stop();' function, and everything else on frame 2…
    Comment by Johnnyb May 2012 permalink
  • fitvids.js not sizing frame correctly in wordpress page, defaults to page size not iframe size

    Well you have this on your iframe: .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } So it's width is 100% of the width o…
    Comment by Johnnyb May 2012 permalink
  • Targeting certain words dynamically with CSS?

    Hey kdubya, Yeah CSS won't be able to do this, but here's an example for you using JS: http://johndoesdesign.com/blog/2012/jquery/targeting-a-specific-word-using-javascript-and-jquery/
    Comment by Johnnyb May 2012 permalink
  • Respond/Modernizr

    No probs, glad I could help mate. Don't really know the ins and outs of why it won't work, probably something to do with the WordPress file structure. I had the same problem when using LESS on a WP site, and ended up just using the LESS …
    Comment by Johnnyb April 2012 permalink
  • Respond/Modernizr

    Hey Mike, As you're using WordPress have you tried using the respond.js WP plugin instead of just the jquery plugin? http://wordpress.org/extend/plugins/respondjs/
    Comment by Johnnyb April 2012 permalink
  • @font-face

    I've used both typekit and google fonts. The thing I dislike about a lot of these font services is that once you start using it then you're reliant upon it. If I have 20 websites all using typekit fonts for example and then typekit decide…
    Comment by Johnnyb April 2012 permalink