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

SgtLegend

  • Nested div question

    The only way I have ever known how to do it (mainly because I don't like horizontal content that scrolls) is by have the parent container use a set width with an inner container that is the width of the elements within it in which case is 600px…
    Comment by SgtLegend December 2012 permalink
  • Resize CSS problem

    Simply add vertical-align: top to the #input_contact selector and it will re-size the element from the top not the middle. I updated your pen that includes the above and it fixes the transition. http://codepen.io/ChrisUpjohn/pen/gyhIF
    Comment by SgtLegend December 2012 permalink
  • Advanced Custom Fields displaying 'Array' instead of showing image

    @croydon86 yeh it's a shame they don't include this on the documentation (unless I missed it) but it truly is a great plug-in and add-on. This is a standard method of using images within WordPress, pre-wrapping an image with an HTML …
    Comment by SgtLegend December 2012 permalink
  • How do I create a vertical Twitter Follow button with count?

    Twitter have the option to do this, read the information in the following URL below. https://dev.twitter.com/docs/tweet-button#position-count
    Comment by SgtLegend December 2012 permalink
  • deployment like beanstalkapp by using github

    I'm not familiar with git-deploy but by the look of it you can apply a hook to do that but would require it to be setup via your server to run every x about of minutes.
    Comment by SgtLegend December 2012 permalink
  • Backup solutions after deployment

    What type of server are you using as if you run dedicated server there are plenty of services you can use to run automated cron jobs for daily, hourly and on the minute backups but of course they aren't all free, also another key factor is how …
    Comment by SgtLegend December 2012 permalink
  • deployment like beanstalkapp by using github

    Have a read about git-deploy https://github.com/git-deploy/git-deploy
    Comment by SgtLegend December 2012 permalink
  • Html5 problem IE9

    There is just s small issue left in IE after the reset all fields are totally blank while other browsers showing the placeholder text instead. When I click in one of those totally blank fields in IE the placeholder text is shown again You could…
    Comment by SgtLegend December 2012 permalink
  • Understanding Retina

    Anyone know how to do this with tiled background images? Is the image your using something like 1x50 as an example? If you could supply a link as all you would need to do is re-design the image @2x the width and height then save the file using…
    Comment by SgtLegend December 2012 permalink
  • Html5 problem IE9

    Why not just use the standard reset method that all browsers have built into them? function resetform() { formid.get(0).reset(); emailsend = false; }
    Comment by SgtLegend December 2012 permalink
  • JSONP Cross Browser Issues

    I just tried your example link and it worked perfect for me, what browsers are you testing in?
    Comment by SgtLegend November 2012 permalink
  • Help me learn JS and JQ

    If you learn jQuery then you will be learning JavaScript as that all jQuery is.
    Comment by SgtLegend November 2012 permalink
  • Assigning a Foreach loop...

    You can use the join() function which accepts a separator then an array. $haveyouever = join(', ', $haveyouever);
    Comment by SgtLegend November 2012 permalink
  • responsive site not responding

    The first thing to always make sure you have when building for responsive design is the viewport meta tag in your tag otherwise media queries generally won't work on mobile devices.
    Comment by SgtLegend November 2012 permalink
  • Hiding Panels in URL with AnythingSlider

    Simply add a property called hashTags into your setup code like the below example and it will turn this feature off. $('#mySlider').anythingSlider({hashTags : false});
    Comment by SgtLegend November 2012 permalink
  • Wrapper div confusion

    I don't see the use of wrapper in the above HTML anywhere, if you could post a screenshot or a link to your site as its extremely hard to debug code without something to look at.
    Comment by SgtLegend November 2012 permalink
  • Wordpress php include issue.

    Where is your news.php file located in your theme?
    Comment by SgtLegend October 2012 permalink
  • Tuts+ Premium or Team Treehouse?

    I'm currently using both, why? The simple reason is because Team Treehouse has tutorials that don't exist on Tuts+ yet such as iOS development, responsive design and some other topics for my personal preference, sure the price may be high…
    Comment by SgtLegend October 2012 permalink
  • Position problem

    I never use the left, right, bottom and top with position: relative as you don't need to, simply using either padding or a margin is sufficient.
    Comment by SgtLegend October 2012 permalink
  • -webkit-transform: scale() not scaling larger than 1.0

    If you want custom input fields then transforms aren't the way to go, you would be much better of creating custom images and using a small snippet of JavaScript which will allow you to create a much more consistent look and feel between all bro…
    Comment by SgtLegend October 2012 permalink
  • Forum engine ? (phpbb, bbpress, vanilla)

    I have found bbPress to be the easiest to work with since it integrates nicely with the WordPress user sessions, you can also get a very extensive plugin to manage permissions which has native support for bbPress.
    Comment by SgtLegend October 2012 permalink
  • Issue with smooth scroll position

    What is the issue you are having as it seems to be working fine for me.
    Comment by SgtLegend October 2012 permalink
  • Twitter Profile

    Simply go into the design settings for your account and you will see a new section for a header banner, Twitter have a nice little description that also lets you know the size to use which I recommend you follow.
    Comment by SgtLegend October 2012 permalink
  • css file too big?

    40kb/s is nothing, I have worked on a couple of projects where it can get up to 70kb/s due to the size of the site but the load time is insignificant for a vast majority of users on the web.
    Comment by SgtLegend September 2012 permalink
  • jQuery Object to HTML?

    If your building the HTML elements with jQuery then you can still use the above code in my previous post but instead pass in the object and jQuery will know what to do with it. var myObj = $(''); myObj.appendTo('body'); Ignore…
    Comment by SgtLegend September 2012 permalink
  • jQuery Object to HTML?

    You can simply use the append methods jQuery comes with. $('.findme').appendTo('body');
    Comment by SgtLegend September 2012 permalink
  • anything slider not linking to js files

    This is what I'm getting in the error console when I visit your site. GET http://bugasalt.com/anythingslider/css/anythingslider.css 404 (Not Found) slidertestpage.php:15 GET http://bugasalt.com/anythingslider/js/jquery.anythingslider.js 404 (N…
    Comment by SgtLegend September 2012 permalink
  • JQuery Filter

    There are a few different plugins but Quicksand is my favourite thus far. http://razorjack.net/quicksand/
    Comment by SgtLegend September 2012 permalink
  • how to customize the jquery validate plugin error messages

    Do you mean the small errors that appear next to the input fields when you hit the submit button? You can read about the messages property at the following link http://docs.jquery.com/Plugins/Validation/validate#toptions
    Comment by SgtLegend September 2012 permalink
  • lesscss and regular css

    The .less file your building should always be compiled for the site to load on a live server, using something like NodeJS or the JavaScript compiler is something I consider to be bad practice as only your desktop should ever have to be the source of…
    Comment by SgtLegend September 2012 permalink