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 623 posted 12 years ago by RobertHegeraad
Simple class to retrieve an ID using a URL of the Youtube
0 951 posted 12 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 852 posted 12 years ago by iridium
simple as3 class that help you to avoid repeat add MouseEvent each time
0 789 posted 12 years ago by mgraph
This is a sample class being used for demo purposes
0 569 posted 12 years ago by tomcottrill
Just my simple db class i use
1 565 posted 12 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 848 posted 12 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 669 posted 12 years ago by simondiercks
1 869 posted 12 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 922 posted 12 years ago by TimoZachi
No modifications or testing carried out yet.
0 941 posted 12 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 942 posted 12 years ago by Huskie
0 462 posted 12 years ago by BrentS
A Class to Logging false logins and more...
0 571 posted 12 years ago by Darksider3
No Comment^^
0 634 posted 12 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 1149 posted 12 years ago by adrianparr
All credit for this class goes to Ben Kanizay (http://bk4d.com)
0 711 posted 12 years ago by adrianparr
0 691 posted 12 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 490 posted 12 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 675 posted 12 years ago by bryanlyman
0 623 posted 12 years ago by nathanbweb
Link body class names to trigger javascript. It requires jQuery.
0 627 posted 12 years ago by cmndo
Just a simple script showing how to make calls to an Email script.
0 525 posted 13 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 702 posted 13 years ago by coprolit