Treehouse

Tutorials Page 97

  • Peppy and MooTools

    This post has been updated after more tinkering and testing. A while back James Donaghue boasted his new selector engine Peppy. Lets say for giggles that we wanted to use MooTools and Peppy together. Here's how I got things to work. The JavaScript I have no...

  • Mailbag Q & A II Answers

    A few weeks back I asked that users submit questions for another mailbag post. I got some good questions so here we go. When will you drop IE6 support? This is a topic that's been buzzing around the internet quite a bit. I wont drop IE6...

  • Confessions of an Eccentric Web Developer IV

    My confessions are good for everyone. I get to be candid and get things off of my chest...you get to react and tell me how wrong (or right......but usually wrong) I am. Round 4: fight! I think the fact that I have over 3,000...

  • Poll:  What’s Your Preferred Browser?

    A developer's preferred browser is almost as sacred as a developer's text editor of choice. Getting to know a browser allows the developer to program more efficiently, find resources more quickly, and enjoy the web more than the average user. I'd like to know...

  • AJAX Page Loads Using MooTools Fx.Explode

    Note: All credit for Fx.Explode goes to Jan Kassens. One of the awesome pieces of code in MooTools Core Developer Jan Kassens' sandbox is his Fx.Explode functionality. When you click on any of the designated Fx.Explode elements, the elements "explode" off of the...

  • ydkjs-2.png
  • Animated AJAX Record Deletion Using MooTools

    I'm a huge fan of WordPress' method of individual article deletion. You click the delete link, the menu item animates red, and the item disappears. Here's how to achieve that functionality with MooTools JavaScript. The PHP - Content & Header The following snippet goes at the...

  • MooTools ContextMenu Plugin

    ContextMenu is a highly customizable, compact context menu script written with CSS, XHTML, and the MooTools JavaScript framework. ContextMenu allows you to offer stylish, functional context menus on your website. The XHTML Menu Use a list of menu items with one link per item. The...

  • Implementing jQuery-Like Event Syntax in MooTools

    If you take a peek inside the MooTools core Element/Events source code, you'll see the following collection of events: As you probably know, in order to add an event, you need to code something similar to: In jQuery you code something like: I don't prefer that syntax but if...

  • Media Temple Hosting
  • Linkify Your Twitter Feed

    So, you want to display your Twitter status on your blog? No problem, use the API. But, what if you want to display links in your status like twitter.com itself does? No problem, use regular expressions. Here is a function that will turn all HTTP URLs, Twitter @usernames,...

  • google.load():  Utilize Google’s AJAX Libraries API

    The problem: loads of websites around the internet using the exact same JavaScript file. The file is a whopping 100KB in size. Since this same file resides on each website's server, the file is downloaded and cached for each individual website. Lots...