Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Cut-and-paste the following into your functions.php file (inside of your theme folder).
Change the Name-goes-here to whatever you want.
0
2188
posted 15 years ago by redconservatory
I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
0
3323
posted 15 years ago by luizlopes
Envia un mensaje a los amigos desde method send de facebook graph
0
1744
posted 15 years ago by serialk89
The html5.js and must be inserted in the head element (this is because IE needs to know about the element before it comes to render them - so it can't sit in the footer of the page, i.e. below the elements in question).
0
2907
posted 15 years ago by blantonious
The email type will pop up a tool tip if an invalid email address structure is not entered.
0
1821
posted 15 years ago by blantonious
The type is no longer needed in script and link tags in HTML5
0
1846
posted 15 years ago by blantonious
Make you able to use a variable to retrieve an key in a JSON object
0
1379
posted 15 years ago by catchatpas
You can keep your old version
<html> but in HTML5 you can shorten it.
0
1632
posted 15 years ago by blantonious
[from the author's website]
I wrote this to better understand the relationship between RGB colors. Running it will generate a fairly large HTML file with all sorts of color transitions on it so you can see what is happening as colors are tweaked in...
0
2160
posted 15 years ago by magicrebirth
This small javascript hides the table that holds statistical counters on hotdog.hu profile pages [footer part].
0
1528
posted 15 years ago by Oroborus9
This context manager restores the value of the current working directory (cwd) after the enclosed code block completes or raises an exception. If a directory name is supplied to the context manager then the cwd is changed prior to running the code b...
0
1973
posted 15 years ago by ches