Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a bit of jQuery within a PHP function that you can dump into your Thesis custom_functions.php file to hide comments upon page load and add a link to show them.
2
945
posted 16 years ago by kristarella
This is a basic shell for PayPal IPN.
It is by no means a complete solution, but it should provide a good starting point for anyone that wants to work out IPN.
Or it can be used as is to do basic IPN.
2
995
posted 16 years ago by xtheonex
Allows you to toggle visibility of the iPhone status bar at the top of the screen that shows the carrier information, network status and time
6
1277
posted 16 years ago by steve918
Instead of simply adding a list of things at the end of the array, you can also pass in a hash and change the question marks to actual named replacements. This can help you keep the order of your arguments straight.
1
902
posted 16 years ago by sohooo
This is modified from code found here: http://www.meadinkent.co.uk/XLexport-text1.htm and here: http://www.meadinkent.co.uk/XLexport-text2.htm
0
1052
posted 16 years ago by BlueCockatoo
In the content property, the first number is the number of seconds until the refresh, the URL is where the redirect will go.
2
1235
posted 16 years ago by chippper
A simple form with rounded corners, and hopefully not too much markup. You'll need some kind of graphic for the corners of course - I used 20px corners for this.
It's a bit rough, would love to know what some other people think.
1
1211
posted 16 years ago by superdeluxesam
A tutorial showing you how to give your images some style using only CSS rather than using Photoshop to give images a border/frame.
1
1283
posted 16 years ago by neal_grosskopf
One other thing to note, is that the php generated css file can make use of query parameters, for instance:
<link rel="stylesheet" href="base.css.php?type=alternate" type="text/css" >
in your PHP file you can use the variable:
if ($_GE...
2
1478
posted 16 years ago by dbug13
iPhone uses [LDML standard](http://unicode.org/reports/tr35/tr35-4.html#DateFormatPatterns)
for date formatting
8
1547
posted 16 years ago by steve918
Create theme override file: `upload_attachments.tpl.php` in your theme directory.
[CSS styles](http://snipplr.com/view/11848)
2
1169
posted 16 years ago by zachharkey