Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This snippet is Polish-language specific. This class expands a number (Fixnum or Bignum) into a string with a textual representation of that number in Polish language. Currency suffix supported.
Example: 456 -> "four hundred fifty six" (but in Polis...
0
888
posted 19 years ago by komor
Sends a request to a supplied path for a given host. It can send either a GET or POST request and can pass parameters.
2
1623
posted 19 years ago by ryansobol
BODY {font-size:62.5%}
This takes 16px down to 10px (16 x 0.625 = 10), which apart from being less huge is a nice round number. From now on it’s easy to think in pixels but still set sizes in terms of ems: 1em is 10px, 0.8em is 8px, 1.6em is 16px,...
3
2051
posted 19 years ago by zensir
JavaScript Tooltip libraries number about as many as rounded CSS corner libraries.
Jonathan Weiss thought the ones he saw were "too complicated and bloated, did just too much and most of the time were still not flexible enough with the tooltip. So...
1
1321
posted 19 years ago by jonhenshaw
Aligerar el tiempo en crear mis precargas ... lo bueno de esto es que se adapta al tamaño del escenario del flash .. y todo es dinamico
1
1134
posted 19 years ago by danideu
javascript in_array object frame.
Usar:
Mediceau.Navegacion.marcar(['nav1','nav2'])
...
_--Nav 1
_--Nav 2
_--Nav 3
_--Nav 4
0
1211
posted 19 years ago by nicolaspar
A an excellent script for allowing links to open new windows while keeping the code standards compliant.
If you look at the last line of the script, you will notice that the JSTarget.init() function takes three parameters (all optional). This is w...
0
1466
posted 19 years ago by jonhenshaw
Use on a command line to copy a whole directory on a remote server down to your computer. Requires SSH access to remote server.
5
1638
posted 19 years ago by micmath
A useful but often overrated JavaScript function is the browser detect. Sometimes you want to give specific instructions or load a new page in case the viewer uses, for instance, Safari.
Copy this script into your JavaScript files. It works immedi...
1
1435
posted 19 years ago by jonhenshaw
You can use this script to always keep the copyright notice on the footer of your website current. For example, instead of having to update the year at the beginning of each year, this script will display current year. I'm sure there's an easier way...
2
1488
posted 19 years ago by jonhenshaw