Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
jQuery client-side form validation for the Radiant CMS mailer extension.
Requires jQuery 1.2.6+
Each required field needs a class of "required" assigned to the input tag.
0
1575
posted 17 years ago by bcalloway
Sometimes I want a complete path to a file in the current working directory to make error messages clearer. The URL has alternate approaches.
0
1658
posted 17 years ago by jimfred
-s 86x60 Defines the dimension of the thumbnail
-ss 4 Generate a thumbnail from position 00:00:04 (4 seconds)
0
1290
posted 17 years ago by smoover
Me trying to not be a noob in python.
Yes, I know my noob is probably showing.
0
1231
posted 17 years ago by jakswa
Learn how to retrieve a specific url's total number of Diggs using JQuery, ASP and the Digg API.
2
3097
posted 17 years ago by neal_grosskopf
You can use this as a starting point when integrating XStandard in your CMS.
There are 3 licensing options for XStandard: free Lite Version, Open Source CMS Partner License & Pro Version. (btw: XStandard produces 100% valid markup against XHTML 1.1...
1
1635
posted 17 years ago by iroybot
Load jQuery into WordPress generated pages, the wp_enqueue_script function can be used in plugins as well. OR Add and load a new script that depends on jQuery (this will also cause it to load jQuery into the page as well).
2
1504
posted 17 years ago by selfmadepsyche
This is the custom layout template i use for the CleanCSS website, very handy!
0
1542
posted 17 years ago by 1man
Use this when you want to serve a domain from the document root of another domain on the same box. Along with this config, you will want to replace the httpdocs directory with a symlink to the other domains doc root. (Don't forget to change ownership...
1
1386
posted 17 years ago by zachharkey
this function tells you whether or not the passed value is in the passed array
1
1704
posted 17 years ago by jlvallelonga
this funciton returns an XMLHttpRequest object for use in ajax pages
1
1735
posted 17 years ago by jlvallelonga
get_the_author_email outputs the post author’s email and the “80†is the size of the avatar image in pixels & it has to be in the loop!
0
2195
posted 17 years ago by selfmadepsyche
Here's a simple one liner you can use to syntax check all php files in your working directory.
0
1301
posted 17 years ago by endorfin