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 702 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 586 posted 15 years ago by kossmoss
0 574 posted 15 years ago by jpdamen
Nice simple snippet. Great for forum scripts.
1 764 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 1000 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 535 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 876 posted 15 years ago by ghwilson4456
First Remove all capital letters, then capitalise the first ones in each word.
1 616 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 628 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 1621 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 754 posted 15 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 615 posted 15 years ago by wizard04
substitui <ENTER> em quebra de linha. Break the lines form data, replacing <ENTER> key
0 513 posted 15 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 677 posted 15 years ago by retry
Two functions. 1) Find the string between characters. 2) Create array of strings found between two characters.
1 637 posted 15 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 982 posted 15 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 621 posted 15 years ago by mountainash
0 456 posted 15 years ago by Meestercor
Hat tip: Allan Odgaard
1 641 posted 15 years ago by breakerjump
Another way of showing long text to end user...
0 641 posted 15 years ago by skywalker
2 889 posted 15 years ago by therobot
0 652 posted 16 years ago by f0vela
I did not author this code. I came across it and have found it to be useful.
2 696 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 649 posted 16 years ago by Winkyboy
0 634 posted 16 years ago by iTony
1 ... 5 6 7 8 9