Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A contract I work on uses tables to layout forms (kinda ghetto I know) and I wanted a text field with a button text to it that would work with their 100% width scheme. Normall it places to betton below the text input, but using this HTML and CSS it w...
0
1834
posted 14 years ago by FatFolderDesigner
Replace English numbers with Arabic numbers in browsers supporting Unicode & JavaScript.
Credits to
http://www.swalif.net/softs/swalif54/softs232281/
0
3431
posted 14 years ago by mooparmghor
IE9 renders google fonts nicer when combining two fonts into the same URL call in the style sheet.
2
1916
posted 14 years ago by jamigibbs
This is the quickest way to style the search bar. It involves creating one single image that includes both the input area and search button.
0
1761
posted 14 years ago by rumremix
If you've ever tried to subscribe to a podcast outside of iTunes but only have an iTunes URL, you know how frustrating it is. Turns out that you just need to spoof yourself as an iTunes client to see the direct feed URL. This script helps with exactl...
1
2636
posted 14 years ago by lasavior
I needed a simple function to shorten a link with goo.gl and wrote this, thought it may help someone. Note: you still need an API key from goo.gl
1
2416
posted 14 years ago by lasavior
getCategory returns the category ID, getSection returns the section alias. Great for CSS overrides
0
1629
posted 14 years ago by beneberle
so verbindest du zum placebo von der uni. erst hpi-login und dann kannst du an port 9876 ins www tunneln oder auch auf dem placebo ein terminal öffnen (zB für den webspace).
0
1418
posted 14 years ago by abstraktor
Link body class names to trigger javascript. It requires jQuery.
0
1769
posted 14 years ago by cmndo
Is very inefficient to attach a anonymous function event handlers to multiple items in a selection. The function is duplicated for each element.
This shows how you can just create a single function and in the event handler callback just call that...
0
1353
posted 14 years ago by anagaiyahoocom