Welcome To Snipplr


Everyone's Recent Snippets



1 ... 200 201 202 203 204 ... 554
$('li.current_sub').prevAll("li.par_cat:first"); Tested it with your markup: $('li.current_sub').prevAll("li.par_cat:first").text("woohoo"); will fill up the closest previous li.par_cat with "woohoo".
1 1043 posted 14 years ago by lamebollock
Instead of directly edit your TEMPLATE\_CONTEXT\_PROCESSORS, import it in your app's settings.py and just append what you need. (credits: denysonique and all #django channel community)
0 1069 posted 14 years ago by caruso_g
This script fetches the current playing song of user XY
1 938 posted 14 years ago by Sn0opy
0 1062 posted 14 years ago by metoikos
0 902 posted 14 years ago by kyrathaba
0 905 posted 14 years ago by kyrathaba
0 858 posted 14 years ago by kyrathaba
Archive manager doesn't handle some RAR files and 7zip files out of the box, you need to run this command in order to make it work with this kind of files.
0 911 posted 14 years ago by aelien
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 864 posted 14 years ago by Moonsheeld
In Webkit, when a general (x ~ y) or adjacent sibling selector (x + y) is combined with a dynamic pseudo class such as :hover, :focus, :checked, etc., the function breaks. This code snippet fixes it.
0 1005 posted 14 years ago by classicc
0 966 posted 14 years ago by ertbor
Simple jQuery script to load additional content when you near the bottom of the page, same sorta thing Twitter does (although I originally programed it for a different use). Only thing of remark is the fact that it stores the current highest loaded v...
4 1554 posted 14 years ago by FatFolderDesigner
HTML para Absolutamente Noobs. Post Completo: http://kanis.com.br/ Primeira video aula da série de 10 episódios.
0 1029 posted 14 years ago by leandrokanis
Credits to 'Simon' (http://doctype.com/css-font-stack-use-myriad-pro)
1 955 posted 14 years ago by tonatiuh
'container' => ' ' -- removes the container div
1 1024 posted 14 years ago by adambundy
0 829 posted 14 years ago by silentpro
0 870 posted 14 years ago by i0ni
You may need to change the IDs around.
2 1075 posted 14 years ago by joshvermaire
I thought this was pretty elegant code and wanted to share it with anyone who found it useful.
0 908 posted 14 years ago by mattneary
0 737 posted 14 years ago by lexpresso
0 657 posted 14 years ago by anhonestboy
Field1 + Field2 + Field3 should create 1 entry for each unique row in the DB. In an employee table, this would be FirstName + LastName + EmployeeNumber
1 836 posted 14 years ago by ezerick
0 864 posted 14 years ago by MarkusToe
as you run chown -R user:group dir
0 1439 posted 14 years ago by silviud
this will display the size of a directory as if you run du -sb dir
0 2979 posted 14 years ago by silviud
Returns a circle filled with textfields with your text. fully customizable. See the actionscript comments for usage
2 882 posted 14 years ago by withinmedianl
1 ... 200 201 202 203 204 ... 554