O'Reilly

Tutorials Page 97

  • Get the Intro: PHP Paragraph Regular Expression

    Recently I was playing around with WordPress' wp_posts table. I wanted to grab the basic information about my posts (ID, title, content, slug) and build a quick summary list of them. One problem I ran into was creating a content "intro." Luckily a...

  • Poll:  Should Browsers Implement Lazy Loading?

    Lazy loading is the process of delaying the load of a resource until it's needed.  Image a webpage that's 2,000 pixels high (lots of scrolling).  Why should the images toward the bottom of the page load if the user clicks the first link way up at...

  • Dress Up Your Select Elements with FauxSelect

    I received an email from Ben Delaney a few weeks back about an interesting MooTools script he had written. His script was called FauxSelect and took a list of elements (UL / LI) and transformed it into a beautiful Mac-like SELECT element....

  • What If:  Twitter Started Charging $5/Month

    As you probably know, I'm a fairly frequent Twitterer (@davidwalshblog). I tweet about programming, life, sports, and even reply to my friend's dog's tweets. I promote MooTools via @mootools, promote Script & Style via @scriptandstyle, and follow

  • Detect an AJAX Request in PHP

    I like using the same PHP script for both AJAX and non-AJAX content requests. Using one script just makes everything easier because it's only one file to update/edit and it's one more cache-able request. One way to try detect an AJAX request (as opposed...

  • O'Reilly Velocity Conference
    Save 20% with discount code AFF20
  • What If:  TinyURL Sold to a Porn Company

    Disclaimer: TinyURL has never been rumored to be sold, especially to a smut website. I use TinyURL in the title because it's the most well-known URL-shortener on the internet. It's used by Twitter and, to my knowledge, it was the first service of its...

  • Degradable SELECT onChange

    Whenever I go to Google Analytics I notice a slight flicker in the dropdown list area. I see a button appear for the shortest amount of time and the poof! Gone. What that tells me is that Google is making their site function...

  • Support MooTools on Twitter via Twibbon!

    Just a secret between you and I: MooTools is the best JavaScript framework out there. I mean it. It's compact, reliable, flexible, and as free as the air (not Adobe) you and I breathe (except persons on oxygen tanks -- I assume...

  • Media Temple Hosting
  • New MooTools Plugin:  ElementFilter

    My new MooTools plugin, ElementFilter, provides a great way for you to allow users to search through the text of any mix of elements. Simply provide a text input box and ElementFilter does the rest of the work. The XHTML I've used a list for this example...

  • Digg-Style Dynamic Share Widget Using MooTools

    I've always seen Digg as a very progressive website. Digg uses experimental, ajaxified methods for comments and mission-critical functions. One nice touch Digg has added to their website is their hover share widget. Here's how to implement that functionality on your site...