Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 420 421 422 423 424 ... 552
0 1513 posted 17 years ago by edgsv
This snippet is a reemplacement for the parseFloat function of the Javascript language. This new function gets one or two parameters if only one parameter is defined the function is like the original parseFloat. If there are two parameter passed to t...
1 2306 posted 17 years ago by amischol
fond this, and want to try it.
0 1970 posted 17 years ago by stavelin
Put this before the loop in archive.php to have posts in the archive for category '26' sorted by custom field 'date'. Assign sortable values like '090501' or '2009-05-01' to those fields when editing posts and your Upcoming Events will be sorted by...
8 3712 posted 17 years ago by hussong
This is a no-nonsense xHTML 1.1 template for use in a new document. The first head section has the stuff that shouldn't change from project to project. The second head section has the stuff that shouldn't change from page to page. The third has the s...
8 2661 posted 17 years ago by Kerrick
This code can be used for making an external login area on pages other than KickApps powered pages. Please replace ##### with your AS ID. Also, if you've DNS masked you're site, you'll need to replace affiliate.kickapps.com with your domain info.
0 1920 posted 17 years ago by kickjoel
I used this simple snippet to enable users to "View More Info" which was embedded in a div below each of a list of items. This is different from many of the simple jQuery examples that only allow you to show/hide one particular div.
1 2014 posted 17 years ago by aristoworks
1 2317 posted 17 years ago by michaelfox
1 2103 posted 17 years ago by glends
1 1569 posted 17 years ago by lzyy
1 1825 posted 17 years ago by fackz
1 1616 posted 17 years ago by michaelfox
A fallback for php's json_encode functionality. What do you think?
1 1852 posted 17 years ago by kirie
Testing if toggle has happened.
0 1572 posted 17 years ago by davebowker
From this article, Martin "mpot" Pot mention: " The above CSS definition is defining a style called noprint, and will only be applied to printed content. Setting the display property to none means any content using this CSS style will not be displ...
0 3586 posted 17 years ago by HubertGaulin
Example: Add the following ccs '@media print { body { font-size: 12pt } }' to the document.
0 2328 posted 17 years ago by HubertGaulin
1 2403 posted 17 years ago by walokra
In IE6 (+7?) the fieldset width doesn't automatically resize to fit the width of the parent container.
1 1778 posted 17 years ago by hotdiggity
This is my first ever bookmarklet. It's simple and could be tightened up but it works for me (FF3 Ubuntu 8.10). Oh, by the way, what it does is load gmail (if you're signed in, which I always am) with a search for the unread messages (is:unread)...
0 1604 posted 17 years ago by ThomasGHenry
0 1628 posted 17 years ago by kokikr
1 ... 420 421 422 423 424 ... 552