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

hotpink

  • Checkbox with link which make appear a paragraph in a form

    You can use jQuery. Target the checkbox, and when it is clicked, toggle a css class on the paragraph you want to show/hide. $('input#valorpolitica').click(function(){ $('#LOPD').toggleClass('hide-with-script'); …
    Comment by hotpink May 5 permalink
  • Static Site Generators

    @nosecreek I also want to use a static site generator for simple small business websites. I have used Jekyll, but have had a lot of problems (all my fault, for being ignorant - not Jekyll's fault). For example, getting HAML to work for layouts…
    Comment by hotpink May 4 permalink
  • Have Menu go behind content area...

    @aarongmore I understand what you want. And as you say, you will need to create an alternate layout. For now, this code will achieve what you want. Add this to your css. .aside { z-index: 100; position: relative; } .bside { …
    Comment by hotpink April 14 permalink
  • Looking for a local WordPress developer

    @vancouverwordpress Can you post a link to an example PSD?
    Comment by hotpink April 10 permalink
  • How to setup W3 Total Cache w/ Amazon CloudFront on live production site?

    I have used this plugin to create a splash screen. It is simple. Be sure to turn maintenance mode off when you are finished! http://wordpress.org/extend/plugins/wp-maintenance-mode/
    Comment by hotpink April 1 permalink
  • Learning basic

    The main problem is that the variable: sText is defined outside the "scope" of where you are calling it. When you define a variable inside of a function, it is available only within that function. Here is a fork of your codepen that demo…
    Comment by hotpink March 30 permalink
  • WordPress Change sidebar background color

    Try this .sidebar { background: #000000; padding: 0 0 36px; } In the code you currently have, "color: #000000;" sets the TEXT color to black.
    Comment by hotpink March 24 permalink
  • Best Way to Learn Ruby On Rails

    Here is a todo list. Complete it in sequence and you will know enough about Ruby on Rails to build something interesting. Learn Ruby on Rails: TryRuby.org RailsForZombies.com ruby.railstutorial.org edx.org/courses/BerkeleyX/CS169.1x/2013_March/ab…
    Comment by hotpink March 23 permalink
  • Coffeescript and rails popup only working on first object in array

    One solution would be to iterate through each product, and create a button based on the product id. Your code assigns a constant to the i variable i = $(".main-image").attr("data-productid") button = $("#single_&qu…
    Comment by hotpink March 19 permalink
  • Windows 95 Reproduction (for fun)

    I tried to rescue it from archive.org I think I got all the code, but unfortunately none of the background images. The clock works though :) The version of jQuery it is written for might not work with codepen, but here is what I recovered: http:…
    Comment by hotpink February 11 permalink
  • IE8 not showing pics, Firefox shows all - web site development

    @drudems In your 2nd example, you have some improper line break tags. The tag is a special case that does not follow the typical format. The tag has no closing tag. Try changing this To this Full example here. Also, I made a s…
    Comment by hotpink January 19 permalink
  • CSS transition slide animation effect help

    I put together an example. I am using jQuery to initialize the animation. Though I think this could be done in pure CSS. The main thing you can learn from my example is... When you set a property to "transition" with CSS, changes to that…
    Comment by hotpink January 16 permalink
  • Expand

    Hi This tutorial might help you. http://css.maxdesign.com.au/listutorial/horizontal_master.htm If you provide a demo on Codepen, or a link to your site people can help you with more specifics. http://codepen.io/pen/ Or if you already have somethi…
    Comment by hotpink January 15 permalink
  • iPhone built entirely with CSS.

    @Jarolin That's cool. It is very clean.
    Comment by hotpink January 15 permalink
  • Output value of nested arrays?

    @chrisburton I wanted to learn more about PHP arrays so I played with your example code. Maybe you will find it useful. http://phpfiddle.org/main/code/9gz-f2n
    Comment by hotpink January 14 permalink
  • FooTable issues displaying image in

    One thing I noticed in line 62 is that you have some php tags nested within php tags. That could be a source of problems. Another thing I see, in the same place is the use of echo within an echo. Off the top of my head I don't know if that wil…
    Comment by hotpink January 10 permalink
  • Page Layout Improvements

    @goalieman34 To remove the unwanted space between entries, you need to remove the 18px bottom margin on the .journal-entry element. To preserve the spacing between the dates, you need to preserve that same 18px in some way. One way is to set a top…
    Comment by hotpink January 10 permalink
  • Whats that website called?

    justbuildwebsites.com There is no need to be sorry :)
    Comment by hotpink January 10 permalink
  • CSS Sticky Footer Problem

    As @jurotek pointed out, the use of a top margin on the header is causing the footer to be pushed down. A full rewrite would probably be a cleaner approach, however I think your current code can work. Change from #header { margin-top: 30px; …
    Comment by hotpink January 9 permalink
  • CSS Sticky Footer Problem

    Edit: I understand what you mean now. The content in the footer extends the full width of the window, while the rest of the page is constrained to 960px. This code should help. .footer_content { width: 960px; margin: 0 auto; }
    Comment by hotpink January 9 permalink
  • Does a CSS Solution Exist for Unlinked Elements?

    I came up with this http://jsfiddle.net/YBtAY/
    Comment by hotpink January 9 permalink
  • how to convert float to this

    This can be reduced to a single operation by passing a 2nd argument to the round() function. $x = 12.548544444; $x = round($x, 2); The "2" tells it to round two places past the decimal. http://php.net/manual/en/function.round.php
    Comment by hotpink January 9 permalink
  • Help with PHP Login

    Something I noticed in your example code... This comment has "login_success.php" // Register $myusername, $mypassword and redirect to file "login_success.php" But this line has "success_login.php" header('…
    Comment by hotpink January 8 permalink
  • I need help with a complicated little animation?

    Your post reminded me of a tutorial I read a few months ago. It may be of help. End Result http://www.addyosmani.com/resources/sprites/demo.html Full Tutorial: jQuery & CSS Sprite Animation Explained In Under 5 Minutes http://addyosmani.com/bl…
    Comment by hotpink January 8 permalink
  • Reverse PHP Increment

    Maybe set the counter to the highest number, and count down. I took a peek at the Kirby API cheat sheet I came up with this. http://getkirby.com/content/02-docs/kirby-cheatsheet.pdf
    Comment by hotpink January 7 permalink
  • VPS recommendations

    If you want to work with an unmanaged solution... Amazon offers new customers a year of free service for one micro instance. http://aws.amazon.com/free/ I am currently hosting a couple of low traffic wordpress sites. No problems so far, up 147 da…
    Comment by hotpink January 6 permalink
  • Weird loading problem in Chrome

    In the Chrome Dev Tools Console I see the following error. Maybe this is related to the problem. Resource interpreted as Image but transferred with MIME type text/html: "http://mfevents.co.uk.s156312.gridserver.com/index.php". jquery-1.7.…
    Comment by hotpink December 2012 permalink
  • Jquery hover problem

    I figured it out :) New CSS #intro { z-index: 1; } .boxonly { z-index: 0; } Also, I am getting an error on the page Failed to load resource http://127.0.0.1:8080/s/css/IPLmRLYR6AL9inGgn9VkI9+qb1s/jameskape.com/21408.css
    Comment by hotpink December 2012 permalink
  • SASS: Compass adding slash infront of images directory when creating sprites

    Just an idea. In config.rb try this... images_dir = "./images"
    Comment by hotpink December 2012 permalink
  • Get single elements out of Twitter Bootstrap

    Customize Bootstrap You can choose only the components you want. If you only want part of the CSS, I think you will have to chop that up yourself.
    Comment by hotpink December 2012 permalink