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

Michael_bonds

  • Help with re-hiding the element after it has appeared

    If you are using jQuery, you can also simple use the following: $('someSelector').on('click', function() { $(this).toggle(duration); }); Make sure to replace someSelector with an actual css selector, and duration with an act…
    Comment by Michael_bonds August 2012 permalink
  • jquery help

    In order for what you want to accomplish, you will need to follow what TheDoc has written. From what you have shown us though, it looks like you could use a quick tip on JavaScript methods. jQuery uses what is called method chaining. This is wha…
    Comment by Michael_bonds August 2012 permalink
  • Why does this not work?

    Was this fixed? The link you provided shows an empty folder..
    Comment by Michael_bonds August 2012 permalink
  • Responsive Theme Not Adapting to iPhone 4

    Probably has to do with the retina display of the new iOS devices. Here is an article to get you started with responsive css for retina devices: http://www.hanselman.com/blog/SupportingHighdpiPixeldenseRetinaDisplaysLikeIPhonesOrTheIPad3WithCSSOrI…
    Comment by Michael_bonds August 2012 permalink
  • Adding a right align button to a drop down menu

    Which one are you trying to align to the right? Either way though, you would just need give which ever one you want to align right, a css property of float: right. You can do this by adding a class to that list item or use a css3 technique like nt…
    Comment by Michael_bonds August 2012 permalink
  • Javascript to change text within a div as a Jquery slideshow changes

    Well, I am not sure how much JavaScript or jQuery you know, but what you want to do is quite simple. I will give you a hint... When you click the next or previous buttons, the list items on the right get a class of "active" when it's …
    Comment by Michael_bonds August 2012 permalink
  • From this style to this style?

    Hi GregStevens, Here is a pretty straightforward way of accomplishing your task. http://jsfiddle.net/BmXNe/14/ What you need to do is remove the other class when a new theme is clicked.
    Comment by Michael_bonds August 2012 permalink
  • help with logic

    I'm happy this was fixed!
    Comment by Michael_bonds June 2012 permalink
  • help with logic

    it looks like there are some list items that are actually set to display none, so the wrong list item is getting the your nth-child rule. You may want to find out why this is happening, and then your problem should be fixed. PS: I looked at your s…
    Comment by Michael_bonds June 2012 permalink
  • help with logic

    Would you be able to put this up on some where like jsfiddle?
    Comment by Michael_bonds June 2012 permalink
  • help with logic

    are your images being floated, or are they displayed inline? If they are displayed inline, you may notice that you have space between each image that is applied by using display: inline; floating would eliminate this problem. Unless of course ther…
    Comment by Michael_bonds June 2012 permalink
  • header not full width (it must) Please

    You have a div with the id of header1 which has width: 100%; You have another div within that one that has an id of just header which has width: 960px; Maybe that fixed width is your problem? -Mike
    Comment by Michael_bonds June 2012 permalink
  • help with logic

    Thats actually a rather tricky question. I found that when you work with weird widths and heights, most often you will find that something might not line up properly. One approach that I take is to get the total width of the container minus total w…
    Comment by Michael_bonds June 2012 permalink
  • Syntax Error

    Try to put the closing parenthesis after the second to last curly brace. Also looks like you might have an extra comma with in the array that is being returned. I hope that helped! -Mike
    Comment by Michael_bonds June 2012 permalink
  • is there a recommended nesting limit on css

    Actually, when writing SASS (or scss), your sass will actually be compiled. So performance will not be an issue. So, lets sat you wrote some sass similar to the following: #someWrapper { width: 960px; bockground-color: #333; p { fo…
    Comment by Michael_bonds June 2012 permalink
  • Centering box

    Hi, mevaser. I took a look at some of your css, and I have found most of the problems. First off, you should know that centering content within a container that has been absolutely positioned is of course possible. The link below will demonstrate …
    Comment by Michael_bonds June 2012 permalink
  • Opacity of Parent and Child

    Hi, Manojsethi. This is actually a pretty easy task once you figure it out. I know this because I once had the same issue! Also does not require any trickery or hacks. What you are probably trying to do is something along the lines of this: #some…
    Comment by Michael_bonds June 2012 permalink
  • nth child issues

    Hi, iagainsti. It looks like your problem is here: @media screen and (max-width: 980px) { section.board-wrapper div:nth-child(3n+0) { margin-right: 4%; } } It also looks like that the following is overriding your nth-child(even) selector:…
    Comment by Michael_bonds June 2012 permalink
  • Starting out w/ JS

    Hi, erickson_sce . Like one of the previous commenters suggested, http://www.codecademy.com/ really is a great resource if you are new to JavaScript! jQuery is a great JavaScript Library, but if you are in any way like me when I started, you will w…
    Comment by Michael_bonds June 2012 permalink
  • How to remove bullets in IE8?

    Hi dzulfriday. What a lot of people here have suggested should work. It is possible that you have written your css the right way, but have also declared a global list-style-type some where below #top-ad li list-style-type. I would make sure that thi…
    Comment by Michael_bonds June 2012 permalink
  • Wrapper div won't expand to the sidebar height?

    Hi Nashira, I haven't gone through all the comments here, and I only quickly went over your css. A quick and reliable fix to your issue would be to apply overflow: hidden; to the css of your wrapper div. This will fix your problem. Another fix …
    Comment by Michael_bonds June 2012 permalink