Treehouse

Tutorials Page 97

  • Submit Button Enabling

    "Enabling" you ask? Yes. We all know how to disable the submit upon form submission and the reasons for doing so, but what about re-enabling the submit button after an allotted amount of time. After all, what if the user presses the "stop"...

  • MooTools Font-Size Scroller with Cookie Save

    Providing users as many preferences as possible always puts a smile on the user's face. One of those important preferences is font size. I can see fine but the next guy may have difficulty with the font size I choose. That's why...

  • CSS Fixed Positioning

    When you want to keep an element in the same spot in the viewport no matter where on the page the user is, CSS's fixed-positioning functionality is what you need. The CSS .element{ position:fixed; top:2%; right:2%; } Above we set our element 2% from both the top and right...

  • Design Feedback & Feature Requests

    Hello! I'd like to share some screenshots of the upcoming redesign with you and (hopefully) solicit some feedback. I'm not going into detail yet as to why I've made the changes I did, but I would like to get your thoughts. The screenies: Homepage...

  • 2008 Year in Review

    My first full year has come and gone and I'd like to review a bit about the year. The Year in Numbers 350 Posts 676,378 Visits 1,319,045 Pageviews 2,825 RSS Feed Subscribers 2 Designs New Sites Script & Style - Script and Style, the front-end developer's link sharing website, gained great momentum that carries...

  • ydkjs-4.png
  • Read PDF and Word DOC Files Using PHP

    One of my customers has an insane amount of PDF and Microsoft Word DOC files on their website. It's core to their online services so it's not as though they're garbage files up on the server. My customer wanted their website's search engine (Sphider)...

  • Web Predictions For 2009

    A new year usually brings hope of better things. It also bring expectations and wonder. Here are my (unfounded) web predictions for 2009. 1. A JavaScript Framework Will Fall I believe that a JavaScript framework will fall in 2009. I really wouldn't be shocked...

  • Blog Goals for 2009

    My blog grew substantially during 2008. I gained thousands more RSS subscribers, my MooTools skills took a giant leap, and I even branched out in jQuery a little bit. That said, I feel like the blog just beginning. I've outlined some goals for...

  • Media Temple Hosting
  • Poll:  What is Your Preferred JavaScript Framework?

    As different as the JavaScript frameworks can be, they all do just about the same thing. Still, a developer's choice of JavaScript framework is a very personal decision. When choosing a framework, a developer must consider: component modularity file size community support code efficiency project needs (on a...

  • Create an Is.Gd URL Using PHP

    Is.Gd is a URL-shortening service much like TinyURL. Using PHP's cURL library, you can create shortened URLs on the fly with ease. The PHP //gets the data from a URL function get_isgd_url($url) { //get content $ch = curl_init(); $timeout = 5; curl_setopt($ch,CURLOPT_URL,'http://is.gd/api.php?longurl='.$url);...