Tools Blog Learn Quizzes Smile API Log In / Sign Up
Tools Blog Learn Quizzes Smile API Log In / Sign Up
We have updated our privacy policy to let you know that we use cookies to personalise content and ads. We also use cookies to analyse our traffic and we share information about your use of our site and application with our advertising and analytics partners. By using this website or our application you agree to our use of cookies. Learn more about the way this website uses cookies or remove this message.

4 different ways of changing the appearance of multiple matched elements with JavaScript or jQuery - Demo and Performance Benchmark

Difficulty: 25 / 50
the right tool for each job

Recently I have been doing some front-end development for one of my California based clients. Among other things, I had to apply a few performance tweaks to the existing code and I thought it would be a good idea to write an article on the topic. When coding there is no single solution to solve all problems it's more a matter of choosing the right tool for the right job.

The client had over one hundred product containers on the same page and he wanted to change the appearance of all containers except the one the visitor was hovering on.

Read Full Article...

is_null vs empty vs isset... One lesson all PHP coders should learn

Difficulty: 25 / 50
empty tin can

PHP has a lot of ways of dealing with variable checking. There are functions that check each type like is_array, is_object or is_bool and there are functions that can be used to check multiple conditions at once. Today we will be dealing with the differences between is_null(), empty() and isset(). First let's explain what each one does.

Read Full Article...

Simple Ajax Upload with Drag and Drop

Difficulty: 50 / 50
stacked files

Today I will show you how to develop an Ajax upload script that works with drag and drop. For this project I am using plain JavaScript and I have no fallback mechanism for browsers that don't support these features... so you will have to deal with that yourselves.

Read Full Article...

3 useful MySQL tricks for every web developer

Difficulty: 35 / 50
mysql dolphin

This article was originally written in 2010. This is an updated version on how to do simple Ajax requests using jQuery

Ajax is a very nice tool for web developers. It helps you interact with the visitor without reloading the page. Searching the internet you will find various Ajax code samples that are simply too complicated and some are too specific. I added some comments that will better explain what the code does and how it can be tweaked.

Read Full Article...

How to save your PSD paths or shapes as SVG files

Difficulty: 10 / 50
coloured pencils

SVG or scalable vector graphic files are the new standard for displaying icons or logos in web design.

For those of you who don't know an SVG is basically an XML file that contains coordinates for the different paths and shapes your images have.

A big advantage for using SVG's is that they display perfectly when scaling and they look exquisite on retina displays.

Read Full Article...

4 5 6 7 8 9 10 11 12 13 14