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

JamesMD

  • Trying to make an animated dice roller! Suggestion!?

    You could use sprites, using HTML5 canvas and Mr. Doobs three.js. Then you can draw up 3D elements of each face of the dice (or in three.js, apply to a cube polygon) How you control the dice is entirely up to you.
    Comment by JamesMD January 6 permalink
  • wordpress theme change

    Having some trouble with inserting code... Use this little tool to encode. :) On topic, however. Check your index.php in the themes directory and try locate it from there. Depending on how the themes structure is setup, it could be that o…
    Comment by JamesMD January 5 permalink
  • Jquery is not loading on page load in Jquery mobile framework?

    Is jQuery.js in your code the first dependency loading? For example, Are they written in that order?
    Comment by JamesMD January 4 permalink
  • Opacity in I.E. Support

    Use this on the CSS class you're trying to achieve opacity with: filter: alpha(opacity = 40); This is a IE's version of opacity. 40 is the percentage of opacity. This is equivalent to opacity:0.4; PS, no need to pre-tag your text :P
    Comment by JamesMD January 3 permalink
  • plugin problems

    Probably something to do with the way your CSS formats the "input" class throughout your entire site. If the "input" class is styled globally (Using "input {" instead of ".class input {" or "input.class …
    Comment by JamesMD January 3 permalink
  • Which is the "best" boilerplate?

    @john_2_878 , you do realize the spam you're constantly posting will have a lovely repercussion? Damn spammers. @andy_unleash, very nifty little trick right there!
    Comment by JamesMD January 3 permalink
  • How to make a floated image act responsively?

    I know it's out of scope, and you want to learn which is good, but look at the thread too. You'll learn a lot from the frameworks provided in there if you look them up. All are responsive so it's a good learning curve if you want to p…
    Comment by JamesMD January 1 permalink
  • How to make a floated image act responsively?

    Beat me too it. :P Done practically the same thing, except using columns. Basically by using percentages, when the browser beings to re size, it will respond to that exact percentage by the width of the browser at the time. @David_Leitch 's res…
    Comment by JamesMD January 1 permalink
  • border bottom?

    @wragen - No worries buddy. We all do it, no matter how many times we go at a slice of code. We miss something somewhere - in fact I'm prone to mistakes like these a lot when not writing in Dreamweaver, You become deluded easily by their "…
    Comment by JamesMD January 1 permalink
  • Full page image with 100px header

    You mean like this? Just marked up some quick stuff -- Overlay is optional to defeat harsh background color with content over top (unless you fill a div with white space) PS, to achieve what you're asking for, you would need Javascript to cove…
    Comment by JamesMD January 1 permalink
  • Strange nameserver problem

    Both look the same to me, have you cleared any stored cache?
    Comment by JamesMD January 1 permalink
  • Any free tools for cross-browser and mobile testing?

    BrowserStack -- not free, but you do get a free set amount of time to use it's full capability when you sign up at first -- nothing is required as far as just registering :) It has everything, from Mobile emulation of most standard phones to ev…
    Comment by JamesMD January 1 permalink
  • A Guide To Using CodePen - Help Us Help You.

    Plus it's the sneaky tricks, like using Zen/Emmet when typing out any HTML that does it for me in the trouser department. This. It makes the site a coding tool for almost everything. It's like the revolution on interactive online edit…
    Comment by JamesMD January 1 permalink
  • border bottom?

    Give the buy/pdf buttons a class or ID tag and this will apply any SCSS/CSS to that specific button. @andy_unleash is right, you're applying the properties to every "a" element in your document (you have an "a" style that is…
    Comment by JamesMD January 1 permalink
  • A Guide To Using CodePen - Help Us Help You.

    Awesome little guide. I noticed a lot of people posting here without references to their actual problem, which does prove to be difficult to resolve if it contains a fair bit of code. I'm still using JS Fiddle, although I would happily convert …
    Comment by JamesMD January 1 permalink
  • jQuery Moving Tabs !

    I see you have jQuery 1.3.2 linked directly above the code, but you also have jQuery 1.6.2 as your dependency for other plugins and functions on the site. There's no need for the extra jQuery link. The plugin you're using works with 1.8.2,…
    Comment by JamesMD January 1 permalink
  • Which is the "best" boilerplate?

    @jurotek 's answer is probably the best. Start with the basics and build up from that to your design. There are other options such as Bootstrap by Twitter which includes LESS, a ton of jQuery functions and responsive design, or you could go f…
    Comment by JamesMD January 1 permalink
  • Can't get this simple script to work.

    Still not working, but thanks for that! It helped a lot! http://jsfiddle.net/FxKFG/21/
    Comment by JamesMD January 1 permalink
  • border bottom?

    How are you implementing this via HTML? Use CodePen to show an example.
    Comment by JamesMD January 1 permalink
  • Container expands in a new page

    @stesani - thanks for the clear up on confusion! :) I understand now. You mean the elements are indenting from the left? I don't see the container expanding -- the dd attribute puts an automatic pixel margin to the left. It's being display…
    Comment by JamesMD January 1 permalink
  • Container expands in a new page

    Hmm. Seems bizarre it would work on one but not the other. Is this exactly how you're using the second page, or are you adding images/more text etc? I would personally position the left menu div elements before the container element like so. S…
    Comment by JamesMD December 2012 permalink
  • Container expands in a new page

    First things first -- even the simple and obvious fix things! Have you linked your CSS files correctly in the second HTML file? I advise taking "text-align:center;" away from the body element and apply it where necessary too. Create at Pen…
    Comment by JamesMD December 2012 permalink
  • Can't get this simple script to work.

    Whoops. Edited link in case anyone noticed the "Working" version wasn't actually working! Ha!
    Comment by JamesMD December 2012 permalink
  • Google Maps store locator library for api v3 - fusion tables?

    I know it's not what you're quite looking for, but here's a really easy way to add as many points necessary by just using Google's API in Javascript. You can easily get the co-ordinates from the web too. http://jsfiddle.net/XAeT…
    Comment by JamesMD December 2012 permalink