Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1138
posted 14 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
706
posted 14 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
1085
posted 14 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
1398
posted 14 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
1135
posted 14 years ago by rumremix
Add two new shortcodes to create Shopp product/category links in an easy way.
**USAGE:**
The following shortcodes will now be available along your posts, pages and text widgets
[productlink id='' text=''] (Text is optional, if omitted the p...
0
703
posted 14 years ago by zreedeecom
I'm not well versed in international address formatting, but this seems to work for most cases. Critiques are welcome!
0
898
posted 14 years ago by iloveitaly
run this from plugins/emotions and copy/paste the output to emotions.htm
0
1075
posted 14 years ago by hamsterbacke82
A blank search in wordpress returns all the posts, which could be taken as duplicate content if that got indexed.
0
904
posted 14 years ago by baires
refreshes Chrome + Safari without bringing them into focus. If Chrome is hidden, then no refresh occurs.
2
1024
posted 14 years ago by iloveitaly
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0
1143
posted 14 years ago by vagrantradio
Say you wanted to create a shortcode like this: [youtube id="991WcoEPwb8"]
And instead of manually creating the HTML yourself, you wanted to use YouTube’s oEmbed provider to get the HTML. While that’s easy to do using WordPress’ existing fun...
3
856
posted 14 years ago by sdxxx
Drupal 5.
Simply print <code>$uc\_cart\_shopping\_block</code> where ever you want.
0
763
posted 14 years ago by resting
This is a test case to show that, with a bit more work and a tiny bit more code, CSS traingles can be used for breadcrumb navigation in Internet Explorer 8.
1
1449
posted 14 years ago by Kerrick