Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 326 327 328 329 330 ... 554
this could be expanded to the billions place, but c'mon really people? it's got to call it quits somewhere
1 1258 posted 15 years ago by adkatrit
Will strip off the decimals of a number (price) unless they are necessary.
0 950 posted 15 years ago by jmiller
0 921 posted 15 years ago by sukantahazra
This is the beginning of my retrieval of twitter status class...just something im playing with right now. It retrieves the xml, saves it on your server, then you can either use javascript or php to traverse the xml tree.
0 1114 posted 15 years ago by alvincrespo
0 926 posted 15 years ago by atma
1 940 posted 15 years ago by atma
i could put a demo of this in action if you want
0 1273 posted 15 years ago by abbey
Notes to self: re-use this for other projects
0 1682 posted 15 years ago by abbey
Just a beginning, hoping to refine this ASAP.
0 1266 posted 15 years ago by alvincrespo
Make IE6 do tricks with jQuery
0 1088 posted 15 years ago by vagrantradio
0 1864 posted 15 years ago by jmcd
I use something similar to the example to get the difference between statuses in a status log table that I have. It comes in handy when determining the number of days between status changes. This works in MySQL 5.0.
0 1276 posted 15 years ago by bradless
This is assuming that you have SlideDeck loaded already. http://www.slidedeck.com/
0 941 posted 15 years ago by Jamie
0 980 posted 15 years ago by almazom
Remove the doctype and any xml namespace declarations from your header and quirks mode will take care of the rendering, additionally this fix is not compatible with IE8 rendering so we need to put IE8 in emulation mode
1 1169 posted 15 years ago by jaff
0 1177 posted 15 years ago by humanoid
1 1254 posted 15 years ago by humanoid
Catches click, if element has nextUntil elements, triggers a slideDown of child elements and returns false (to stop the anchor), if there are no nextUntil elements, does nothing and allows the click through (the anchor works).
0 975 posted 15 years ago by daulex
Just thought id put up a version of my form validation class. It will be expanded in the future but I thought Id let everyone have a look. # Update 0.1 # * Create Error List Function * Validate Email Address Function * Valida...
0 1224 posted 15 years ago by alvincrespo
1 895 posted 15 years ago by nmobix
This is a simple example of OOP in Javascript, based off the highly popular Javascript "The Definitive Guide" book by David Flanagan. I will be expanding this example in the future, let me know what you'd like to see. Thanks! Note: You must have...
0 1143 posted 15 years ago by alvincrespo
1 ... 326 327 328 329 330 ... 554