Welcome To Snipplr


Everyone's Recent Snippets



1 ... 438 439 440 441 442 ... 554
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 1069 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 1087 posted 16 years ago by xtheonex
Display simple alert box
6 2417 posted 16 years ago by steve918
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 1434 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 1066 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 1149 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 1479 posted 16 years ago by chippper
0 1284 posted 16 years ago by ping_ch
3 1420 posted 16 years ago by ping_ch
Some nice base aliases, still need to go through them
2 1363 posted 16 years ago by narkisr
0 798 posted 16 years ago by teddyzetterlund
A very easy to use script for validating your forms.
2 1149 posted 16 years ago by sarfraznawaz2005
1 1274 posted 16 years ago by iroybot
Just so I remember the next time..
1 1317 posted 16 years ago by stavelin
Here is a basic example as to how to set up an Ajax request.
4 1695 posted 16 years ago by chrisaiv
1 1108 posted 16 years ago by cristiana
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 1370 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 1490 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 1654 posted 16 years ago by dbug13
Get Version Number from Info.plist
8 2382 posted 16 years ago by steve918
Grabs the unique device id from the iPhone
3 2225 posted 16 years ago by steve918
iPhone uses [LDML standard](http://unicode.org/reports/tr35/tr35-4.html#DateFormatPatterns) for date formatting
8 2427 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 1298 posted 16 years ago by zachharkey
1 ... 438 439 440 441 442 ... 554