Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 23 24 25 26 27 ... 46
0 532 posted 14 years ago by cs2css3
converts date/time that sharepoint kicks out to m/d/y format.
0 815 posted 14 years ago by rumremix
swaping main image by clicking thumbs
2 740 posted 14 years ago by myowin76
This is the correct markup for an inline script tag for HTML 4.01 and XHTML 1.0 Note the lack of any "language" attribute since this is deprecated. In HTML 4, the content type is declared as CDATA, which means that entities will not be parsed....
0 942 posted 14 years ago by PapillonUK
Will convert all of the mysql dates on the page to be localized.
0 775 posted 14 years ago by yisreldov
Just a simple benchmark utility, working both in AS2 & JS.
0 566 posted 14 years ago by irrevokable
Animated countdown in jQuery.
1 696 posted 14 years ago by jaff
PCRE that matches any kind of YouTube URL and catches its video ID. It supports three kinds of URL: the classic (?v=), the AJAXed one (#!v=) and the short version (youtu.be). It also supports international URLs. Tested with Javascript and PHP.
1 1612 posted 14 years ago by nkm
HTML: <a href="#"></a>
0 781 posted 14 years ago by certainlyakey
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 656 posted 14 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 774 posted 14 years ago by jasonseney
via [http://davidwalsh.name/opacity-focus](http://davidwalsh.name/opacity-focus)
0 745 posted 14 years ago by cfleschhut
Ever have to make a swf that needs to change height? Want to use the browser's scrollbar instead of having to create one in flash?
0 615 posted 14 years ago by cessnajumpin
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 1046 posted 14 years ago by darksider
ici on souhaite qu'une info s'affiche aux survole d'un <li> mais seulement une fois qu'un délai de 650 millisecondes est passé. Cependant si l'user ne survole plus la zone avant la fin du délai, il faut interrompre l'affichage de l'info. Voilà un...
0 968 posted 14 years ago by alexandrepayet
Para hacer un solo desplegable, dejar solo una línea de <div></div>
0 763 posted 14 years ago by chiesalo
This will create the text 1 - 10
0 575 posted 14 years ago by linusx
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 961 posted 14 years ago by linusx
Use to debug javascript in all browsers.
0 716 posted 14 years ago by Meander365
1 ... 23 24 25 26 27 ... 46