Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
An example which illustrates the ways of extending a class by class methods.
0
1640
posted 15 years ago by Shamaoke
http://www.vbdotnetheaven.com/UploadFile/thiagu304/passdata12262006073406AM/passdata.aspx
0
1389
posted 15 years ago by hairajeshk
Parsing an RSS date/time value (as a string) into a date/time object in ColdFusion.
And more additional text.
0
3901
posted 15 years ago by parkerkrhoyt
This will remove all non-ascii characters / special characters from a string.
1
2724
posted 15 years ago by daipratt
*String template (String template, Object data)*
Usage:
template('Hello <b>${name}!</b> (not ${name}?)', { name: 'Gandalf' })
Result: Hello <b>Gandalf!</b> (not Gandalf?)
0
1380
posted 15 years ago by emdin
Redesigned Tumblr Theme based on [Office](http://safe.tumblr.com/theme/4040581/0# "Office") by [Alex Penny](http://alexpenny.com/ "Alex Penny")
Change log:
# Desember 31, 2010
+ added <a href="http://code.google.com/p/twitterjs/">TwitterJS</a>...
0
1595
posted 15 years ago by firewalker06
All credit for this class goes to Mark Walters (www.yourpalmark.com)
This class needs to be put in the package structure "com/yourpalmark/utils"
0
1691
posted 15 years ago by adrianparr
No entiendo xq no procesa esta formulario...? si en lugar de hacer un ajax.post hacemos un div_id.setInnerFBML(formdata); No printa en ajaxMessage nada, lo deja en blanco.
1
1217
posted 15 years ago by estadoactivo
Instead of writing the link in the HTML, just write the email address inside any tag you want (p, spam, div...) with the class "email", and put "[at]" instead "@". This script replace the "[at]" and create the link outside the spam robot sight
1
1831
posted 15 years ago by thefricky
Further below in the code are the default style declarations that can be overridden in custom css. To create custom classes that will be available in the rich text editors, follow the example below:
.ms-rteElement-appleRed {
color:red;
-ms...
0
2233
posted 15 years ago by rumremix
This is simple but saves time to copy-paste. This example has three columns (.boxcol) within the box. But the columns can be removed for single-column box.
0
1681
posted 15 years ago by rumremix