David Walsh on NetTuts: Create a Twitter-Like “Load More” Widget
My latest article post for NetTuts has been published. From the intro:
Both Twitter and the Apple App Store use a brilliant technique for loading more information; you click the link and fresh items magically appear on the screen. This tutorial teaches you to use AJAX, CSS, JavaScript, JSON, PHP, and HTML to create that magic. This tutorial will also feature both jQuery and MooTools versions of the script.
It was fun creating the widget using both MooTools and jQuery JavaScript. Be sure to check it out!
![Convert XML to JSON with JavaScript]()
If you follow me on Twitter, you know that I've been working on a super top secret mobile application using Appcelerator Titanium. The experience has been great: using JavaScript to create easy to write, easy to test, native mobile apps has been fun. My...
![Vibration API]()
Many of the new APIs provided to us by browser vendors are more targeted toward the mobile user than the desktop user. One of those simple APIs the Vibration API. The Vibration API allows developers to direct the device, using JavaScript, to vibrate in...
![CSS content and attr]()
CSS is becoming more and more powerful but in the sense that it allows us to do the little things easily. There have been larger features added like transitions, animations, and transforms, but one feature that goes under the radar is generated content. You saw a...
![MooTools PulseFade Plugin]()
I was recently driven to create a MooTools plugin that would take an element and fade it to a min from a max for a given number of times. Here's the result of my Moo-foolery.
The MooTools JavaScript
Options of the class include:
min: (defaults to .5) the...
i’ve been there in nettuts and i saw your tuts. Your such a brilliant man! thanks keep on shinning!
Nice to see you on nettuts !
Great article btw. Can’t wait to try this out :)
p.s: Is it possible that you forgot the normal css3 border-radius property on #posts-container ? Or maybe it was your intention to use specific webkit and mozilla properties ?
Add to #load-more its parent radius (
-webkit-border-radius:10px; -moz-border-radius:10px;) (css border inherit with border-color change will not work properly as it will require more changes & more code).I’m always lazy reading such large articles, especially from nettus, but I suppose you explain it nice…
wow, don’t you ever sleep? where do you get the time for 2 nice tutorials per day? Thanks this was interesting…
Great tutorial… One more like this
” Twitter like more button ”
http://9lessons.blogspot.com/2009/04/twitter-like-more-button-with-jquery.html
Oh this is very great! Nice and clean!
Really enjoyed your article David, your skills continue to impress.
Hi, brilliant tutorial, I’m newbie with php & mysql but this type and quality of article push me to learn more.
Can you please show us how we can implement this in wordpress.
Great article … but would love to see it fully implemented in wordpress.
Now I’ve been trying for quite some time to implement this into my WordPress installation, but I’ve failed.
Then I saw a link to someone who customized it to work with WordPress SQL functions, but that didn’t work either.
So I would love to see a really thorough tutorial and/or description of how to implement this into WordPress. Maybe even how to make it into a easy plugin.
I believe a lot of people are looking for this functionality in WordPress – would be great!