Javascript port of PHP's ParseURL
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
*/
15
A small recursive php function to determine the size of a directory by adding all it's contents together and returning them as an integer.
16
A simple AJAX class. The code for the class is provided as well as example HTML and PHP code for usage.
10
A small example demonstrating inheritance in Javascript, complete with calling base class constructors and methods. For the more detailed description, visit http://www.adampresley.com.
11
check if your browser/javascript supports Ajax.
For this we can use prototype's getTransport method.
For this we can use prototype's getTransport method.
22
Get computed Width of an HTML Element
15
Get computed Height of an HTML Element
-10
This function will add all the elements in an array and return total(sum)
10
This will convert the time from number of seconds to HH:MM format









