Add scrollbar to a Table
21
A quick and simple function to dump a variable (array, object, string, int, etc) out into -formatted output for a web browser.
If the variable is an array or an object, you can have it returned into the another variable for later processing (i.e., through templates or e-mail). Due to lack of free time, if the variable is not an array or an object, it will ignore the $return value and print directly to output.
Future revisions will add the above mentioned functionality.
If the variable is an array or an object, you can have it returned into the another variable for later processing (i.e., through templates or e-mail). Due to lack of free time, if the variable is not an array or an object, it will ignore the $return value and print directly to output.
Future revisions will add the above mentioned functionality.
12
This function is useful in helping to deter spam bots by obfuscating things such as e-mail addresses and URLs that are displayed on a web page. While it's not 100% fool proof, it does offer some protection.
Example:
$email = html_entitize('foo@baz.org');
/*
Outputs foo@baz.com
*/
Example:
$email = html_entitize('foo@baz.org');
/*
Outputs foo@baz.com
*/
22
Get computed Width of an HTML Element
15
Get computed Height of an HTML Element
11
Restrict input to alphanumeric and uppercase
9
Put a break in a tooltip (limited chars)
15
Not really a hack, but rather a workaround for layout problems with IE.
Conditional
Conditional
11
This function will run all functions that are to be executed one by one on page load with specified/added orde
8
Add rows into a table dynamically using js,DOM
31
a simple css way to add shadow to tables and Divs









