Welcome To Snipplr


Everyone's Recent Snippets Tagged text



1 ... 5 6 7 8 9
I just put all the functions in here the validateConfPass function uses the key event and the two text fields to change the background color of the confPassword field when it does not equal the pass field
0 890 posted 15 years ago by jlvallelonga
closes opened tags in text piece. original code slightly modified to supress PHP warnings NOTE: need to fix the order of closing tags to get standards compliance
0 777 posted 15 years ago by kossmoss
0 747 posted 15 years ago by jpdamen
Nice simple snippet. Great for forum scripts.
1 964 posted 15 years ago by Unreal
Removed a certain word from a list of links (purely for design reasons). Link length way to long with the link included.
1 1311 posted 15 years ago by 1man
Extremely simple... just pass in the string you want to ellipse, and the position you want to do it at. The code takes care of the rest.
2 714 posted 15 years ago by cessnajumpin
This code sets the size of a text field and truncates the text to fit, adding an ellipse if necessary.
2 1089 posted 15 years ago by ghwilson4456
First Remove all capital letters, then capitalise the first ones in each word.
1 811 posted 15 years ago by Wardy
Checks the size of skypes online "status buttons" to determine online/offline status, so you're able to use custom buttons, text.. etc, etc
2 787 posted 15 years ago by davidsword
Useful for taking incorrectly-formatted UTF-8 strings containing HTML data, and converting them to correctly-formatted UTF-8 plain text. A handy tool for displaying HTML stored in a database.
4 1895 posted 15 years ago by X3Maverick
You'll need the latest version of [jQuery](http://www.jquery.com) and the jquery.cookie plugin([Snag it here!](http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/))
1 1002 posted 16 years ago by conspirator
Just for a quick copy and paste. A cool Lorum Ipsum generator is at [lipsum.com](http://www.lipsum.com/).
1 789 posted 16 years ago by wizard04
substitui <ENTER> em quebra de linha. Break the lines form data, replacing <ENTER> key
0 667 posted 16 years ago by LondonWeb
This Perl one-liner will remove all newline characters from a text file, replacing them with a space. In the source, all newline characters in the file gear_list.xml are replaced with spaces, and the original file is saved as gear_list.xml.bak
0 896 posted 16 years ago by retry
Two functions. 1) Find the string between characters. 2) Create array of strings found between two characters.
1 802 posted 16 years ago by jamesming
This HTML/CSS shows how to make text inputs with rounded corners in the most basic way (it doesn't expand according to its width).
6 1240 posted 16 years ago by reneolivo
I made this simple JavaScript to save me time. I was sick of having to thumb-bash on a tiny keypad or login to the slow Clickatell site and use their clunky interface (nothing it simpler than 2 text boxes and an OK button). You will need an HTTP A...
1 785 posted 16 years ago by mountainash
0 609 posted 16 years ago by Meestercor
Hat tip: Allan Odgaard
1 831 posted 16 years ago by breakerjump
Another way of showing long text to end user...
0 864 posted 16 years ago by skywalker
2 1090 posted 16 years ago by therobot
0 807 posted 16 years ago by f0vela
I did not author this code. I came across it and have found it to be useful.
2 869 posted 16 years ago by gtalmes
I'm not sure where this comes from, although it looks official. It's easy to implement, but to change the height of the scrollbar you have to delve into the developer assets folder within the FLA.
1 854 posted 16 years ago by Winkyboy
0 788 posted 16 years ago by iTony
1 ... 5 6 7 8 9