Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 10 11 12 13 14 ... 46
A tiny snippet on how to easily detect iPad/iPhone/iPod using javascript.
1 691 posted 13 years ago by parkarlsson
Extend Date object to have isLeapYear() boolean (true for Leap Years) Taken from https://raw.github.com/vitch/jquery-methods/master/date.js
0 701 posted 13 years ago by tomasdev
Somewhere along the road the people behind canvas decided that all image scaling is anti-aliased by default. Firefox has 'mozImageSmoothingEnabled' while Chrome et company don't. This is a proof of concept script to resize 'virtualCanvas' two time...
0 759 posted 13 years ago by volvis
Format a date into a string using several string variables. Usage: (new Date("6/6/2011")).format("%W, %B %d%o, %Y"); Result: Monday, June 6th, 2011
0 1053 posted 13 years ago by wizard04
Based on Prototype JS String#gsub
0 681 posted 13 years ago by kendsnyder
0 790 posted 13 years ago by inreflection7
0 644 posted 13 years ago by realpeterz
Este es un programa que los puntajes y las calificaciones correspondientes a dicho puntaje.
0 508 posted 13 years ago by AgustinAlvia
Plugin to get and set Element#style.display (e.g. "none" or "")
0 802 posted 13 years ago by kendsnyder
Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
0 1315 posted 13 years ago by rumremix
Reset input type text onfocus if value differs from default.
0 694 posted 13 years ago by smonteru
0 611 posted 13 years ago by wbednarski
fix for stucked jquery slide
0 583 posted 13 years ago by jelontok
Calculating Compound Interest. Real time [Compound Interest Calculator](http://ncalculators.com/interest/compound-interest-calculator.htm "Real time result")
0 465 posted 13 years ago by vinotht
Basic Google Maps initialize code
0 878 posted 13 years ago by marzsman
Center the map on an array of latlng values
0 968 posted 13 years ago by marzsman
How to create a popup window in Magento
0 694 posted 13 years ago by ronal
1 ... 10 11 12 13 14 ... 46