Member since 07/09/2010

4 snippets

1648 profile views

3 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

StevenW721's Recent SnippetsTagged javascript

« Prev 1 Next »
Calculates the amount of time since the date specified with yr, mon, and day. The parameter "countunit" can be "years", "months", or "days" and is the duration between the specified day and today in the selected denomination. The "decimals" parameter...
0 534 posted 10 years ago by StevenW721
Adds a method to the jQuery Validation plugin ( to return false if the field equals a specified string
0 1227 posted 10 years ago by StevenW721
Short and sweet, add the following two lines where you want to trigger a javascript function. Just change the javascript denoted in the code by "javascriptFunction()" with whatever you want to call. Also jsut in case make sure you have the allowScrip...
1 504 posted 12 years ago by StevenW721
Sometimes iframes are unavoidable, and in those cases you usually don't want it to be apparent there is one. This will find the height of the iframed contents and resize the iframe accordingly, making it appear to be part of the page. Almost positive...
2 558 posted 12 years ago by StevenW721
« Prev 1 Next »