tutorials
My knowledge-sharing playground, which mostly contains PHP & JavaScript related stuff.
While playing around with some jQuery effects, I ended up building a mosaic transition effect between two photos, and I decided to wrap it up in a tutorial and share it with you. Have a look at the demo to check what we will end up building. There is another version of the effect as well.
Read more →
Scrolling down to view a complete list of photos can be very annoying, but on the other hand, some people doesn’t like slideshows and prefer the scrolling solution. There is a way to keep everyone happy: Just give them the option to switch between the two views easily. I’m going to show you one way to build such a solution.
Read more →
Let’s say that you’ve in the process of writing a new e-book and you want to give the opportunity to your blog readers to submit their details in a form so they can receive a notification when the e-book is ready. You need a plugin. Ok, there are a few mailing list plugins out there that you can use quickly, but the point of this article is to show you how you can build such a plugin from scratch so you can modify it in any way you want, etc. You get the idea, so let’s start.
Read more →
Recently, I had to use jQuery UI’s Autocomplete widget. Its use is straightforward when you have a static datasource. When the datasource is larger though (from a few thousand to several million records) and you need to feed the Autocomplete widget with a remote dataset (provided in the example by a php script which queries a database) this are becoming a bit more complex because the documentation is a little vague on the matter and it lacks of a proper example.
Read more →
I’ll explain a simple way to create an automatic image rotator using jQuery. First have a look at the demo page (opens in a new tab) to understand what we’re trying to accomplish. You can also [download id=”5″ format=”1″].
Read more →