Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 214 215 216 217 218 ... 553
This function automates the creation of the <OPTION>s of a <SELECT> element. It's ideal for your AJAX apps when you create display elements using Javascript It accepts to different kind of arrays: An array of key:values… var arrDirs = {...
0 1396 posted 15 years ago by nomada
Factory for ObjectContainer for local db4o database
0 1172 posted 15 years ago by dogrizz
Useful when used with the google map directions function http://snipplr.com/view/15530/php-create-google-map-directions-link/
0 1715 posted 15 years ago by iloveitaly
This fixes the downside of the original javascript keyboard navigation snippet I posted here so that if you manually scroll past to a new chapter mark it will register that and keep track of your location better. The old code would ignore any scroll...
2 1730 posted 15 years ago by FatFolderDesigner
Simple snippet to check is Flixel's flxObjects position according to a rectangle. It will return true if it's inside the rectangle, false if not. Very basic primitive box collision checking.
0 1360 posted 15 years ago by godstroke
0 1842 posted 15 years ago by batamire
0 3681 posted 15 years ago by Affix
Example of using http://code.google.com/p/gapi-google-analytics-php-interface/ to graph google analytics data.
1 1710 posted 15 years ago by dtbaker
Starting with GoogleTV in mind I made a script to help navigate a page key basic key inputs, in this case I'm using the left and right arrows to jump between the H1 tags on a page, although the modifications to make it do other things would be very s...
0 1519 posted 15 years ago by FatFolderDesigner
Create a String centered and filled with a character
0 1526 posted 15 years ago by miceno
0 1608 posted 15 years ago by RuslanSavenok
Code is VBA...
0 9072 posted 15 years ago by dotNetkow
jQuery bindings for showing and hiding a div during AJAX requests. The div will not show unless the AJAX request takes a certain amount of time (in this case 300ms). This will reduce the flicker effect of showing and hiding throbbers.
1 1536 posted 15 years ago by smchristensen
0 1347 posted 15 years ago by titosemi
Simple manager that loads display objects via single method call and caches loaded objects
0 2674 posted 15 years ago by kuril
These five characters should be replaced with their HTML entity names before being used in XML, otherwise they may cause the XML to be invalid.
0 2163 posted 15 years ago by adrianparr
Select all projects where the current user is a member. A project has a set of members where each member is comprised of user and role.
0 1757 posted 15 years ago by guava
(Eric Meyer's Reset Reloaded + HTML5 baseline)
1 1469 posted 15 years ago by polly42
1 1525 posted 15 years ago by kijtra
This is essentially how to detect an outside click for a dialog box on a website, using HTML/CSS/Javascript/JQuery. Essentially you need to understand event propagation how it works throughout the DOM with JQuery, to make this as simple as possib...
0 1538 posted 15 years ago by alvincrespo
0 1369 posted 15 years ago by iamjpg
Enables you to add a custom panel in the admin post section for a custom field input
1 1284 posted 15 years ago by Yahosh
1 1355 posted 15 years ago by samwa
This makes use of http://www.minimalcomps.com, https://github.com/mikechambers/as3corelib and http://alivepdf.bytearray.org
2 2681 posted 15 years ago by adrianparr
just copied-pasted it so that it can also reside on Sniplr
0 2299 posted 15 years ago by dmistriotis
1 ... 214 215 216 217 218 ... 553