Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
As simple as it can be. An PHP minifier. All the credits go to his author, Kit MacAllister
0
610
posted 13 years ago by thefricky
Calculating Compound Interest. Real time [Compound Interest Calculator](http://ncalculators.com/interest/compound-interest-calculator.htm "Real time result")
0
351
posted 13 years ago by vinotht
A simple way to style a link using a CSS sprite. On hover, the image is moved upwards by the image height to reveal the rollover image.
0
581
posted 13 years ago by studioevoque
When creating a WordPress based website for a client, you may need to make sure that he can’t switch themes. This is what I’m going to show you in today’s recipe.
0
583
posted 13 years ago by jamiebrwr
This snippet will help you to use the mother category, the ones with parent => 0, as your classes ready to be stylezed in your CSS!
0
714
posted 13 years ago by Pr0v4
This is the new way of creating rounded corners. No images, just 2 lines of code [includes mozilla
fix] The two integers are used to set the radius. If they are equal, you can just put it down once.
0
689
posted 13 years ago by StefanHagen
1) name the file something like "template-pods-export.php"
2) create a new Pods Page & choose the newly created template
3) goto your worpress URL/export
4) enter filename.csv & pod name you want to export.
5) Submit.
6) Away Laughing
0
1359
posted 13 years ago by stewartduffy
Note that this approach DOESN'T maintain the image's aspect ratio. For a pure CSS technique that does that you need a CSS3 approach.
0
652
posted 13 years ago by f6design
Small image- and content slider with menu generation and auto-rotator.
The auto-rotator stops, when menu is clicked. Text of the menu is taken from the title-tag of the image(can easily be changed!). Minified size < 1kb.
Call it with
$('.someCla...
0
532
posted 13 years ago by madc