Welcome To Snipplr
Everyone's Recent Snippets Tagged text
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
jQuery to set the width of some text to the width of a given element.
0
571
posted 11 years ago by Narthur
Writes to a text file, test.txt, instead of email for the purposes of testing.
0
453
posted 11 years ago by hotdiggity
Mit diesem Snippet kann man den More-Link-Text von "[more]" zu "Weiterlesen" ändern in der deutschen Sprache ändern.
0
573
posted 12 years ago by kopfaction
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
881
posted 12 years ago by rumremix
Create excerpts from text block from your wordpress content and add links page / post from the guid.
0
539
posted 12 years ago by prwhitehead
To implemented this code is easy, all need to do write down PHP FeedBurner Counter below in our themes files, example in sidebar.php, header.php or footer.php. Let’s get started, Please note you need replace YOUR FEED ADDRESS with your Feeds,
0
432
posted 12 years ago by alexeihidalgo
Transforms string to it's possessive form and return it's original case form.
0
340
posted 12 years ago by Arvi
This is useful if you are loading html-text via XML and want to remove additional line-breaks, newlines, formfeeds and tabs. It just leaves the clean html.
0
380
posted 12 years ago by konrad_ha
simple jquery plugin that powers the text auto-resizing that is the basis of textagon.com
0
418
posted 12 years ago by secretgspot
To wrap long URLs, strings of text, and other content, just apply this carefully crafted chunk of CSS code to any block-level element (e.g., perfect for <pre> tags):
1
516
posted 12 years ago by mdjamal