Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Detect and echo browser version including differentiating between Chrome and Safari.
3
1054
posted 14 years ago by vagrantradio
HTML 5 provides some great new features for web designers who want to code readable, semantically-meaningful layouts. However, support for HTML 5 is still evolving, and Internet Explorer is the last to add support. In this tutorial, we’ll create a...
3
1098
posted 14 years ago by vagrantradio
If you want to serialize a password in some custom object you are working with, create another member that is the encrypted bytes and serialize/deserialize that.
For simply encrypting/decrypting a file, you can use [System.IO.File.Encrypt](http://...
0
753
posted 14 years ago by pckujawa
## PHP - HTML Generation Class
This class allows you to generate (and fill) any HTML elements via programmatic or object-orientated methods
0
931
posted 14 years ago by minky
## PWToggleAttr
This jQuery Plugin allows you to toggle an attribute on/off on an element. e.g. the disabled element of an input. Examples and such are available on http://www.pixaweb.co.uk/resources
0
800
posted 14 years ago by minky
## PWDefaultValue
This jQuery Plugin allows you to set a label-like default value on an input which is toggled depending on whether the user has entered any content into the input element. Examples and such are available on http://www.pixaweb.co.u...
0
831
posted 14 years ago by minky
## PWFilter
This jQuery Plugin allows you to filter a group of elements based on an attribute via an input element (a live search almost). Examples and such available on http://www.pixaweb.co.uk/resources
0
759
posted 14 years ago by minky
Loads of code lifted from here :
http://www.tokeru.com/t/bin/view/Maya/MayaPython#ListDir
0
864
posted 14 years ago by throb
This function can be used to find out if there exists an overlap between two pairs of dates or time.
There is an alternate way to calculate the actual overlapping value - Read the snippet "How to avoid double counts"
0
3201
posted 14 years ago by mprabhuram
based on [http://net.tutsplus.com/tutorials/javascript-ajax/create-a-simple-powerful-product-highlighter-with-mootools/](http://net.tutsplus.com/tutorials/javascript-ajax/create-a-simple-powerful-product-highlighter-with-mootools/)
0
623
posted 14 years ago by cfleschhut
a 2-lines code to start a phone call from your Android application
0
815
posted 14 years ago by funkypanda
2 lines of code to start the browser form your Android application.
0
680
posted 14 years ago by funkypanda
- Fully compatible with all browsers and iPhone/iPad
- Letterboxes vertically oriented images
- Standalone: no library needed, no conflicts needed and speedy
- VERY light weight (under 3KB for uncompressed css and javascript)
- Easy to integrate...
3
1218
posted 14 years ago by kirie