Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Handy little snippet i found in 'jquery enlightenment' for caching certain selected files. Could be useful for larger files later on in a site.
1
1512
posted 15 years ago by 1man
If you have your wordpress subpages organized by parent pages... and you dont want the parent pages "clickable" this will fix you right up...
0
921
posted 15 years ago by mdesilets
Shows the sub pages of a parent page, and also the parent page as a link.
1
1111
posted 15 years ago by davebowker
If you wish to set an ASyncPostBackTrigger in ScriptManager for AJAX.NET, using ASyncPostBackTrigger="xxx" causes Firefox, Chrome, Safari, etc. to timeout on partial page postback, using this javascript to set the ASyncPostBackTrigger (instead of the...
0
1213
posted 15 years ago by cardiffblogger
If you want to force someone to download a file instead of opening it in their browser, use this code.
1
1426
posted 15 years ago by jrobinsonc
Esto setea todas las opciones menos *Indexes* que es la que permite que los ficheros y directorios sean mostrados cuando no hay un *index.html* en un directorio.
0
771
posted 15 years ago by jrobinsonc
Simple plugin to demonstrate how the 'this' keyword is used. Plugin also allows chaining via the 'return'
0
1357
posted 15 years ago by 1man
Con esto puedes tener control de las imagenes que fueron cargadas y las que no.
0
971
posted 15 years ago by jrobinsonc
This report looks at the most recent Tweet from each person in your friends list and keeps track of which client they're using. It then prints out a report showing how many people use each client, with the most popular at the bottom.
Code is writt...
0
899
posted 15 years ago by prwood
Since :first-child and :last-child aren't compatible with all modern browsers I thought I'd post this snippet. It make automating the class creation easier too instead of having to remember when typing up your HTML or creating logic in your programm...
3
1188
posted 15 years ago by smoothdzion
Example in 'jQuery enlightenment'
Simple way to jump smoothly down the page without the use of a plugin.
3
1254
posted 15 years ago by 1man
Create an excerpt from the main copy, removing any image or other HTML tag markup so it will be clean. In this case the length is 160 characters, change that number to change the length of the excerpt
0
783
posted 15 years ago by cessnajumpin
What it does: clears & submits exposed filters form via AJAX (if enabled, otherwise normal page refresh).
This is for Views 2.x. It works with the 'remember me' option.
You need to create a custom module. E.g. custom/custom.module and custom/cu...
1
1746
posted 15 years ago by morningtime