Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Will convert all of the mysql dates on the page to be localized.
        
        
        
            0 
        
        
            1193 
        
                    posted 15 years ago by yisreldov
            simple function to get querystring from a custom address using regular expression
        
        
        
            0 
        
        
            979 
        
                    posted 15 years ago by mcarneiro
            via [https://www.packtpub.com/mootools-1-2-beginners-guide/book](https://www.packtpub.com/mootools-1-2-beginners-guide/book) & [http://davidwalsh.name/mootools-custom-event](http://davidwalsh.name/mootools-custom-event)
        
        
        
            0 
        
        
            1031 
        
                    posted 15 years ago by cfleschhut
            Similar to [Get Elements by Class Name]( http://snipplr.com/view/1696/get-elements-by-class-name/), but with optional "tag" parameter. Performance is increased by first retrieving the desired tag if available.
        
        
        
            0 
        
        
            1271 
        
                    posted 15 years ago by jasonseney
            via [http://davidwalsh.name/opacity-focus](http://davidwalsh.name/opacity-focus)
        
        
        
            0 
        
        
            1125 
        
                    posted 15 years ago by cfleschhut
            Better than previous version.  You don't have to mark up your links with 'rel=external'.
        
        
        
            0 
        
        
            1194 
        
                    posted 15 years ago by lancemonotone
            Creates a DATE and TIME object that can be places on a site.
OPEN-SOURCE: Free to download, use, modify and distribute - so long as all Credits/Comments are left INTACT.
If you have any thoughts, comments or ideas for this script (or another script...
        
        
        
            1 
        
        
            1472 
        
                    posted 15 years ago by darksider
            This will make links that look like this:
previous 1 2 ... 33 34 35 36 37 38 39 ... 264 265 next
You would just need to change the link in each of the numbers.
variables: 
current page
total items in list
how many items per page are being dis...
        
        
        
            0 
        
        
            1372 
        
                    posted 15 years ago by linusx
            <input>
 
When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user.
 
You could also put any URL in the __redirect={} that yo...
        
        
        
            0 
        
        
            1093 
        
                    posted 15 years ago by rumremix
            via [http://ryanflorence.com/mootools-for-beginners-part-5-native-extensions/](http://ryanflorence.com/mootools-for-beginners-part-5-native-extensions/)
        
        
        
            0 
        
        
            1112 
        
                    posted 15 years ago by cfleschhut
            
