Realtime table rows search – jQuery plugin Posted in: Tutorials, jQuery Comments (0)

I’ve started to code a little table rows search snippet in jQuery, and it ended up being a plugin :) So, little snippet explanation, and plugin documentation waiting on you in full article.

Continue reading

Thumbnail generation functions in PHP Posted in: PHP, Tutorials Comments (1)

First, lets take a look on what problem will this tutorial solve, so you can decide if you want to read more :)

We will write 2 functions for creating thumbnails from random image (png, jpg, gif). First function will take thumbnail width and height set by you, and cut the “most important” part from the image (I’m assuming, that you are creating thumbnails of websites, so center top is the area I’m talking about) according to thumbnail ratio, and resize it into your thumbnail in exact size that you’ve set. Second function will take max thumbnail width and height set by you, and resize the image so it will fit your max values, but with preserving its original resolution ratio.

Continue reading

Simple animated toggle with jQuery Posted in: Tutorials, Webdesign, jQuery Comments (1)

We all know about jQuery. Powerful and very popular JavaScript framework with many useful and great plugins. But the variety of plugins has created one bad behavior among webdevelopers. When they need to create some effect, or function, they are often looking for solution in plugins, instead of trying to do that on their own. This simple search for simplified coding is creating mess in code, and forcing you to compromises in your layout, styling, or even website design. In this tutorial, we will create few lines of code, that can replace very popular plugin called Animated Collapsible DIV, or most of the plugins creating tabs.

Continue reading