Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 86 87 88 89 90 ... 553
i don't know if this is amazing or scary
0 1277 posted 13 years ago by ederfortunatO
cross-browser solution
0 1968 posted 13 years ago by a1ias
Awesome shortcut.
0 1423 posted 13 years ago by kidmizere
I dont remember the author this code.
1 1463 posted 13 years ago by tcelestino
Navigating the DOM in jQuery is incredibly simple and thats to phpQuery you can do the same in php. Below are some examples of how it's used, the key change bing that instead of $() you use pq(), and instead of a . you used ->. Theres alot more detai...
0 1746 posted 13 years ago by FatFolderDesigner
Hides the button based on scroll position, fades in and out as necessary and upon click smoothly scrolls back to the top.
0 1416 posted 13 years ago by thewickedchemist
Originally from: http://webdesignerwall.com/tutorials/css-elastic-videos
0 2442 posted 13 years ago by thewickedchemist
Well known fix for ugly webfonts...
0 1378 posted 13 years ago by thewickedchemist
0 1088 posted 13 years ago by shufflepath
0 2499 posted 13 years ago by shufflepath
0 1246 posted 13 years ago by shufflepath
Php check for the top of the hour
0 1319 posted 13 years ago by poot26
Javascript/jQuery to check for the time
0 1390 posted 13 years ago by poot26
Php conditionals to echo proper audio tags
0 1625 posted 13 years ago by poot26
Html5 audio tag
0 1176 posted 13 years ago by poot26
Html5 Skeleton
0 1403 posted 13 years ago by poot26
This sorts a multi-dimensional array by one of the values in the array. Sorts in Desc order (most recent date first).
0 1598 posted 13 years ago by bitsculptor
Some FB apps are longer than the 800px default FB limit and most are designed to 520px. When your content is longer than the 800px default a verticle scroll bars appears and if you have a hard-coded width in your CSS of 520px this forces a horizontal...
0 1559 posted 13 years ago by the_construct
This snippet gets the value of the selected dropdown
0 2519 posted 13 years ago by jjmu15
Sets the permissions for all folders to 755, and for all files 644. Useful for SUPHP configurations which required this specific permission setup.
0 1698 posted 13 years ago by axertion
Show and hide content based on whether or not a user has clicked the 'Like' button of an app.
0 1391 posted 13 years ago by the_construct
Convert a form submit button code to a hyperlink code and hide the form
0 2307 posted 13 years ago by pavlosvos
Usage: <a href="http://www.whaterver-your-site-is-called.com/" rel="external">Some other site</a>
0 2769 posted 13 years ago by Krummelz
in order to avoid the .zip madness when creating a new module, you can make it available in the backend by firing a simple SQL in your DB. (mod_media is the name of the folder that holds it)
0 1385 posted 13 years ago by iroybot
A simple python password generator...
0 1382 posted 13 years ago by p1p1092
1 ... 86 87 88 89 90 ... 553