Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 951 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 1000 posted 16 years ago by xtheonex
Display simple alert box
6 1545 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 1284 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 909 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 1057 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 1241 posted 16 years ago by chippper
0 1152 posted 16 years ago by ping_ch
3 1302 posted 16 years ago by ping_ch
Some nice base aliases, still need to go through them
2 1181 posted 16 years ago by narkisr
0 735 posted 16 years ago by teddyzetterlund
A very easy to use script for validating your forms.
2 1048 posted 16 years ago by sarfraznawaz2005
1 1159 posted 16 years ago by iroybot
Just so I remember the next time..
1 1234 posted 16 years ago by stavelin
Here is a basic example as to how to set up an Ajax request.
4 1569 posted 16 years ago by chrisaiv
1 1003 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 1217 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 1286 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 1486 posted 16 years ago by dbug13
Get Version Number from Info.plist
8 1549 posted 16 years ago by steve918
Grabs the unique device id from the iPhone
3 1346 posted 16 years ago by steve918
iPhone uses [LDML standard](http://unicode.org/reports/tr35/tr35-4.html#DateFormatPatterns) for date formatting
8 1559 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 1173 posted 16 years ago by zachharkey
1 ... 438 439 440 441 442 ... 554