Welcome To Snipplr


Everyone's Recent Snippets Tagged class



Very simple to use Web Poll Class, simply create a new instance, set the question and set the answers. You still have to set up your database yourself
1 363 posted 9 years ago by RobertHegeraad
Simple class to retrieve an ID using a URL of the Youtube
0 534 posted 9 years ago by leandroperes
This function will detect the orientation (portrait/landscape) of an iOS device and set the body class to either portrait or landscape, as well as providing a global variable for use elsewhere in your JS. If you require multiple classes on your bo...
3 411 posted 9 years ago by iridium
simple as3 class that help you to avoid repeat add MouseEvent each time
0 400 posted 9 years ago by mgraph
This is a sample class being used for demo purposes
0 305 posted 10 years ago by tomcottrill
Just my simple db class i use
1 329 posted 10 years ago by cdog
Because there is no way to use object extenders in vb.net here is an example of how you can get similar functionality. See the C# example for further info.
0 423 posted 10 years ago by bryanlyman
Es ist auch möglich, ausschließlich Elemente zu selektieren, die mehrere Klassennamen aufweisen. Notieren Sie in diesem Fall beide Klassenselektoren direkt hintereinander.
0 364 posted 10 years ago by simondiercks
1 452 posted 10 years ago by jose_506
This is a custom class for caching results through php's session. The class can be used to cache anything, but i use it to cache mysql results so i don't have to get all the time the results by querying MySQL (wich may take a long time, especialy if...
0 491 posted 10 years ago by TimoZachi
No modifications or testing carried out yet.
0 456 posted 10 years ago by Huskie
Could possibly be simplified to maximise efficiency. It relies on a separare WP Sleek framework function sleek_get_theme_menu_name. This could ideally be improved to allow the theme location to passed as a parameter somehow.
0 484 posted 10 years ago by Huskie
0 261 posted 10 years ago by BrentS
A Class to Logging false logins and more...
0 324 posted 10 years ago by Darksider3
No Comment^^
0 350 posted 10 years ago by Darksider3
These two classes demonstrate how to create an external font SWF that contains embedded fonts, and how to then load that external font SWF and access and use the fonts inside it.
0 598 posted 10 years ago by adrianparr
All credit for this class goes to Ben Kanizay (http://bk4d.com)
0 385 posted 10 years ago by adrianparr
0 383 posted 10 years ago by willem
This function follows the following naming conventions: Give your checkboxes ID tags of "[contenttitle]trigger", where [contenttitle] is whatever you like. Then, give your hide-able content classes that match, without the "trigger". This function wil...
0 275 posted 10 years ago by gellpak
.net 3.0+, To create stability in your code, you must check all inputs into a method to make sure they are valid . Often people overlook this step because of laziness, or because they aren't convinced that exceptions and assertions are actually in pl...
0 384 posted 10 years ago by bryanlyman
0 333 posted 10 years ago by nathanbweb
Link body class names to trigger javascript. It requires jQuery.
0 354 posted 10 years ago by cmndo
Just a simple script showing how to make calls to an Email script.
0 294 posted 10 years ago by JonnySnip3r
"Javascript module pattern emulates the concept of classes in such a way that we're able to include both public/private methods and variables inside a single object, thus shielding/namespacing particular parts from the global scope." When inheritanc...
0 386 posted 10 years ago by coprolit