Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 279 280 281 282 283 ... 553
I use this as a starting point for widgets/plugins I develop.
1 1484 posted 15 years ago by trepmal
I don't recommend this, it just needed it for a particular situation. Does not work with dropdowns.
0 1396 posted 15 years ago by trepmal
Examples borrowed from http://ubuntuforums.org/showthread.php?t=966877 (comment 3)
0 1426 posted 15 years ago by cczona
requires swftools
0 1496 posted 15 years ago by cczona
1 1877 posted 15 years ago by mfigge
Found this online somewhere. It\'s now the starting point for all my CSS font layouts
0 1135 posted 15 years ago by reynish
0 3558 posted 15 years ago by vigoncas
Auto refresh the browser. Set refresh time with content="[seconds]"
2 1232 posted 15 years ago by reynish
0 1447 posted 15 years ago by smsmatrix
All credit for this goes to iheartactionscript.com I'm just copying it here so I won't have to remember where I found it
0 1051 posted 15 years ago by cessnajumpin
This code will redirect all requests to a maintenance page
0 1177 posted 15 years ago by IvoTrompert
2 1512 posted 15 years ago by silviud
Replaces the pre-defined text of a textbox (e.g. the purpose of the textbox) when the textbox gets focussed, and resets the text if it blurs when empty
1 1542 posted 15 years ago by cryothic
1 1325 posted 15 years ago by tennison
Incredibly useful. Great when you need to remove and add options to selectboxes.
0 1652 posted 15 years ago by Meander365
0 849 posted 15 years ago by tao326
Add the last three lines to fix text-indent in IE7. Alternatively, you can also add text-transform:capitalize.
0 1295 posted 15 years ago by vagrantradio
Needs to be set on every element.\r\nimg.png needs to point to background
0 1328 posted 15 years ago by reynish
This will fix all embeded PNGs. this.src = "img/spacer.gif" Needs to point to a 1x1 transparent GIF or you'll get an Image not found icon in the corner of the PNGs.
0 1307 posted 15 years ago by reynish
0 1150 posted 15 years ago by reynish
This example shows how to delete specific files after a given time span. This works good for cleaning cached files.
1 1517 posted 15 years ago by fackz
Put this in application layout for global use. Have a hidden div called 'loadicon' with a loading icon (or whatever) in it, which is shown/hidden on ajax calls.
0 3535 posted 15 years ago by insanedreamer
Geo Mashup contextual maps display the results of a WordPress query, so they can be very useful in combination with the WordPress `query_posts` function. This example maps post with an example tag, but any call to `query_posts` could be substituted....
0 1424 posted 15 years ago by cyberhobo
1 ... 279 280 281 282 283 ... 553