Treehouse

Tutorials Page 95

  • Implement MooTools Element.getSiblings()

    Update: I've added the "match" option to the getSiblings() method. While browsing through the open tickets at the MooTools LightHouse, I found this little gem proposed by SixtyMonkey: The above code grabs all sibling elements (the collection of alike elements minus the "found" one.) Do...

  • MooTools TwitterGitter Plugin

    Everyone loves Twitter. Everyone loves MooTools. That's why everyone should love TwitterGitter, a MooTools plugin that retrieves a user's recent tweets and allows the user to format them however the user would like. TwitterGitter allows the user to choose the number of...

  • Animated AJAX Record Deletion Using jQuery

    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 jQuery JavaScript. The PHP - Content & Header The following snippet goes at the...

  • jQuery topLink Plugin

    Last week I released a snippet of code for MooTools that allowed you to fade in and out a "to the top" link on any page. Here's how to implement that functionality using jQuery. The XHTML A simple link. The CSS A little CSS for position and style. The jQuery...

  • Backup Your Database into an XML File Using PHP

    Backing up data is extremely important. Most of the time the database is the most important piece of the puzzle. Imagine losing all of the data in your database -- it would be tragic. Here's a PHP snippet that outputs your database as...

  • ydkjs-5.png
  • MooTools Tip:  Adding Events During Element Creation

    One mistake I've made in the past with my MooTools elements is adding events to them after I've created and injected them into the page. An example of this would be: What you may not know is that you can add these events during the element...

  • “Top” Watermark Using MooTools

    Whenever you have a long page worth of content, you generally want to add a "top" anchor link at the bottom of the page so that your user doesn't have to scroll forever to get to the top. The only problem with this method is...

  • Sizzle and Peppy Selector Engines in MooTools

    A few weeks back I touched on how you could implement the Peppy and Sizzle selector engines in MooTools. Both posts showed how to remove the default Moo engine from use and instead make each respective selector engine the one and only....

  • Media Temple Hosting
  • Create Snook-Style Navigation Using MooTools

    Jonathan Snook debuted a great tutorial last September detailing how you can use an image and a few jQuery techniques to create a slick mouseover effect. I revisited his article and ported its two most impressive effects to MooTools. The Images These are the same...

  • Book Review:  PHP5 CMS Framework Development

    In the interest in full disclosure, I was sent this book by a fellow DZone Zone Leader in hopes that I would review it. I’m reviewing this book, however, in the interest of my audience. PHP5 CMS Framework Development Written By Martin Brampton Published By Packt Publishing Publisher Summary: This book takes...