Profile
Achievement
alvincrespo's Recent Snippets
- All /
« Prev 1 Next »
Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.
0
756
posted 13 years ago by alvincrespo
This is essentially how to detect an outside click for a dialog box on a website, using HTML/CSS/Javascript/JQuery.
Essentially you need to understand event propagation how it works throughout the DOM with JQuery, to make this as simple as possib...
0
778
posted 13 years ago by alvincrespo
Working on creating a 'days ago' script. I know some already exist, but I just want to know how to do it myself. I'm also incorporating leap year functionality and some utility functions that could be used on other projects.
2
1038
posted 14 years ago by alvincrespo
This is the file reference class ive been using for one of my projects
2
1174
posted 14 years ago by alvincrespo
Here is a template button class, ive been using for my projects. Cheers!
0
1022
posted 14 years ago by alvincrespo
Based on the following references:
http://not-equal.blogspot.com/2006/08/upload-file-as3-php.html
http://www.thedanosphere.com/?p=76
I created a simple file manager class that I will be extending in the near future for an AIR App I...
0
929
posted 14 years ago by alvincrespo
These are essential javascript techniques every javascriptr must know. I will be adding more to this list, let me know what you'd like to see. Thanks!
0
660
posted 14 years ago by alvincrespo
These are important object oriented principles (OOP) that one must understand in PHP to create dynamic web applications. I hope you find this useful in understanding inheritance.
0
674
posted 14 years ago by alvincrespo
This is a dynamic label generator for a project I'm working on. (Source files coming soon)
0
718
posted 14 years ago by alvincrespo
This is the beginning of my retrieval of twitter status class...just something im playing with right now. It retrieves the xml, saves it on your server, then you can either use javascript or php to traverse the xml tree.
0
828
posted 14 years ago by alvincrespo
Just thought id put up a version of my form validation class. It will be expanded in the future but I thought Id let everyone have a look.
# Update 0.1 #
* Create Error List Function
* Validate Email Address Function
* Valida...
0
970
posted 14 years ago by alvincrespo
This is a simple example of OOP in Javascript, based off the highly popular Javascript "The Definitive Guide" book by David Flanagan. I will be expanding this example in the future, let me know what you'd like to see. Thanks!
Note: You must have...
0
894
posted 14 years ago by alvincrespo
Just a simple snippet on how to reverse a string using a for loop.
0
743
posted 14 years ago by alvincrespo
This is a sound manager class for a small project I've been working on for the past two days. Nothing really major or new, but just some simple functionality including play/stop/forward/previous functions that may help prove useful to someone. If you...
1
924
posted 14 years ago by alvincrespo