Func
JS is a new kind of JavaScript library which packs great pre-written functions for you to use, from a function which easily and quickly allows you to display text on screen, to another which enables you to access the Local/Session Storage which HTML 5 brought out with ease.
This documentation app is to be used for reference and will be constantly updated with content as time goes on. To check that FuncJS is loaded properly and working in your webpage, within
another Script tag, enter this:
if(window.funcJS) {
//FuncJS is loaded and working fine
alert("I'm working!");
} else {
//FuncJS is not loaded or not loaded properly
alert("I'm not working!");
}
If you want to be able to use FuncJS on your own webpages, it's
strongly recommended that you import it from the Internet, rather than from a local source. This ensures that you have any new updates to the file made available to you straight away.
There are
two versions of FuncJS made available: a minified (compressed) and an uncompressed version. It's recommended that you use the minified version of FuncJS on your webpages if you're wanting to just use the functions, without actually checking the source, thus reducing page loading times.
Import FuncJS in your HTML documents like this:
<html>
<head>
<script type="text/javascript" src="http://funcjs.webege.com/funcJS-min.js"></script>
<!-- To use the uncompressed version of FuncJS, simply remove the "-min" from the source link-->
</head>
</html>
If you're using the "<!DOCTYPE html>" declaration on your HTML document(s) indicating a HTML 5 document, you don't need to specify the type attribute in the script tag. FuncJS will work just fine!
Every function-specific page in this documentation site has at least one example within it. Please note that demo's will not show the FuncJS library being imported to the page via a "script" tag, but you should make sure that it is if you're trying the demo's for yourself.
For the up-to-date information regarding FuncJS and it's development, please follow @
FuncJS.