Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Testing, if Browser supports HTML5 "date" Value for type in input-fields
0
688
posted 14 years ago by ichnoweb
I’ve recently had to quickly parse an Apache log file, to get basic usage statistics for a site over a month and wanted the ability to quickly process any general logs and store them in a MySQL table, so I’ve made a small package class.log.
In...
2
1257
posted 14 years ago by dom111
I’ve recently had to parse some pretty large XML documents, and needed a method to read one element at a time.
Here’s a fairly simple solution in PHP.
0
1742
posted 14 years ago by dom111
I’ve recently had to parse some pretty large XML documents, and needed a method to read one element at a time.
Here’s a fairly simple solution in Ruby form.
0
833
posted 14 years ago by dom111
I’ve seen some very cool parallax effect around lately, especially liking the Silverback site. But none of them are particularly interactive, so I thought I’d make a small implementation of the Parallax effect that interacts with the mouse.
Ve...
1
702
posted 14 years ago by dom111
A simple script that will add captions to images and allow for easy styling.
1
646
posted 14 years ago by dom111
I’ve been working on a CMS lately and having to create thumbnails for uploaded images is always a pain, lots of maths working out the correct sizes and such, so I’ve created a fairly small script to manipulate images in an object-oriented style.
0
689
posted 14 years ago by dom111
So recently I was asked to change a navigation style of an existing site to drop-down menus.
Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (so...
0
909
posted 14 years ago by dom111
So recently I was asked to change a navigation style of an existing site to drop-down menus.
Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (so...
0
864
posted 14 years ago by dom111
I\'m constantly testing forms over and over for one reason or another, and am fed up with making a typo and autocomplete not populating all the data, so I made this little snippet. It searches for form elements on the page (input, textarea and select...
1
928
posted 14 years ago by dom111
Uses html5 geolocation to determine device position and sets this as the starting point for directions on a Google Map. Use modernizer to detect support.\r\n\r\nhttp://diveintohtml5.org/geolocation.html\r\n\r\nhttp://code.google.com/apis/maps/docume...
1
1171
posted 14 years ago by Meander365
Just be sure to slap the div for the chars left message within the same div/p as the textarea so the dom walk works.
1
877
posted 14 years ago by housecor
<p>Como utilizar las clases de Zend Framework desde nuestro proyecto web que no trabaja con el Framework de Zend en modo MVC.</p><p>Paso 1.<BR> Bajamos las librerÃa de ZF desde el sitio oficial http://framework.zend.com/download/latest/<BR>Nota: Est...
0
789
posted 14 years ago by eom