JOAOSANTACRUZ.COM

Preload Images

Preload images using javascript, allows to load images before display any page content. This code should be in the begining of the page.

know more...

Toggle div's height

Toggle div's height using jquery slide function, this can be used to menu animation or as content organiser.

know more...

Roud corners purely css

SELECT * FROM DocCab C, DocLinhas L WHERE C.NumDoc=L.NumDoc AND DataDoc='22-01-2010'

know more...

Change image color to transparent using GD library

Change image color to transparent using GD library. The base color and the offset are the incoming parameters.

know more...

Runtime Color to Transparent Image Conversion

This function converts a given color(parameter) to tranparent, creating a new image with "transp_" prefix, all in runtime using PHP. Image runtime conversion from color to tranparent. Runtime conversion color to transparent PHP.

know more...

Sleep Function

Creates a Javascript Sleep Function

know more...

Run php script using crontab

Run php scrpt using crontab

know more...

Yesterday date

Get's Yesterdays date

know more...

Minus one month date

Minus one month date

know more...

Remove all .svn folders in a directory tree

Remove all .svn folders in a directory tree

know more...