<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/text</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 13 Oct 2008 01:07:12 GMT</pubDate>
<item>
<title>(JavaScript) Favlet: Clickatell SMS sender - mountainash</title>
<link>http://snipplr.com/view/6706/favlet-clickatell-sms-sender/</link>
<description><![CDATA[ <p>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 API POST account with Clickatell's Bulk SMS Gateway. I choose them as they are reliable and they are under half the price of most local providers (and they have simple, well documented APIs)

This script is on 1 line intentionally. In your favourite browser create a new bookmark with this as the URL/address. Change the 'username', 'password' and 'api_id' values to your own. Then test it out. Easy.

NOTE: It's not that pretty but you get sent to the API output on submission. If you get a session ID it all went OK, if not you will get an error with a simple explanation of what went wrong.</p> ]]></description>
<pubDate>Fri, 13 Jun 2008 23:41:07 GMT</pubDate>
<guid>http://snipplr.com/view/6706/favlet-clickatell-sms-sender/</guid>
</item>
<item>
<title>(JavaScript) Outline text - stylizedweb</title>
<link>http://snipplr.com/view/4613/outline-text/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 16 Jan 2008 10:18:23 GMT</pubDate>
<guid>http://snipplr.com/view/4613/outline-text/</guid>
</item>
<item>
<title>(JavaScript) drop a shadow and outline the text. - iTony</title>
<link>http://snipplr.com/view/4582/drop-a-shadow-and-outline-the-text/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 15 Jan 2008 00:55:30 GMT</pubDate>
<guid>http://snipplr.com/view/4582/drop-a-shadow-and-outline-the-text/</guid>
</item>
<item>
<title>(JavaScript) drop a shadow in a text - iTony</title>
<link>http://snipplr.com/view/4581/drop-a-shadow-in-a-text/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 15 Jan 2008 00:53:38 GMT</pubDate>
<guid>http://snipplr.com/view/4581/drop-a-shadow-in-a-text/</guid>
</item>
<item>
<title>(JavaScript) Toggles instructional and default copy text and styles - elli</title>
<link>http://snipplr.com/view/3596/toggles-instructional-and-default-copy-text-and-styles/</link>
<description><![CDATA[ <p>This utility function attaches listeners to a text field or text area. It supports default text for instructional copy. The original text in the field is used as the instructional/default text. When the box gets focus, it disappears and the user can type. If the focus is lost and the box is empty, the original text will be placed again. 

The method also swaps CSS class if the class names are passes as arguments. There is one class for default text, and one for user text.
This is optional.

Usage:
Create a text field in HTML. For example, use parameters:

input type="text" id="t1" class="textFieldDefault iCopy" value="Type something here"

Then in script block:

sl_addClearCopyListeners(document.getElementById("t1"), 'iCopy' , 'noCopy');

// or without CSS classes:
sl_addClearCopyListeners(document.getElementById("t1"));
'noCopy');</p> ]]></description>
<pubDate>Wed, 29 Aug 2007 18:42:39 GMT</pubDate>
<guid>http://snipplr.com/view/3596/toggles-instructional-and-default-copy-text-and-styles/</guid>
</item>
<item>
<title>(JavaScript) Summarize Web page bookmarklet - noah</title>
<link>http://snipplr.com/view/2573/summarize-web-page-bookmarklet/</link>
<description><![CDATA[ <p>Grabs the URL, TITLE, and selected text (if any) from the current page.  Then makes a new window with a TEXTAREA and pastes the text into the new window.

This version was designed to work with a client's Jira installation, so it filters the identifying string off the end of titles.  

In practice this bookmarklet will work on any Web page.</p> ]]></description>
<pubDate>Tue, 01 May 2007 19:18:50 GMT</pubDate>
<guid>http://snipplr.com/view/2573/summarize-web-page-bookmarklet/</guid>
</item>
<item>
<title>(JavaScript) copy selected text - noah</title>
<link>http://snipplr.com/view/2383/copy-selected-text/</link>
<description><![CDATA[ <p>This function returns the text that the user currently has selected.</p> ]]></description>
<pubDate>Fri, 23 Mar 2007 14:28:37 GMT</pubDate>
<guid>http://snipplr.com/view/2383/copy-selected-text/</guid>
</item>
<item>
<title>(JavaScript) Javascript で grep - jugyo</title>
<link>http://snipplr.com/view/2299/javascript--grep/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 12 Mar 2007 02:25:24 GMT</pubDate>
<guid>http://snipplr.com/view/2299/javascript--grep/</guid>
</item>
<item>
<title>(JavaScript) Trim Leading &amp;amp;amp; Trailing Whitespace - splorp</title>
<link>http://snipplr.com/view/2026/trim-leading-amp-trailing-whitespace/</link>
<description><![CDATA[ <p>Trims leading and trailing spaces from a string value and returns the result as a new string.</p> ]]></description>
<pubDate>Thu, 25 Jan 2007 08:52:22 GMT</pubDate>
<guid>http://snipplr.com/view/2026/trim-leading-amp-trailing-whitespace/</guid>
</item>
<item>
<title>(JavaScript) auto-pullquotes - designerd</title>
<link>http://snipplr.com/view/1336/autopullquotes/</link>
<description><![CDATA[ <p>wrap the text that will become a pullquote in a span element and give it the class name "pullquote"</p> ]]></description>
<pubDate>Fri, 06 Oct 2006 07:24:29 GMT</pubDate>
<guid>http://snipplr.com/view/1336/autopullquotes/</guid>
</item>
<item>
<title>(JavaScript) getSelection - kif</title>
<link>http://snipplr.com/view/775/getselection/</link>
<description><![CDATA[ <p>Support: IE6, Fx2, Opera9, Safari
Cross browser getSelection().</p> ]]></description>
<pubDate>Fri, 11 Aug 2006 00:00:03 GMT</pubDate>
<guid>http://snipplr.com/view/775/getselection/</guid>
</item>
<item>
<title>(JavaScript) Regular Expressions simple strings search/replace escape method (with RE speed enhancment - precompilation) - cochambre</title>
<link>http://snipplr.com/view/636/regular-expressions-simple-strings-searchreplace-escape-method-with-re-speed-enhancment--precompilation/</link>
<description><![CDATA[ <p>Usefull Regular Expressions enhancement. Simplifies standard string operations escaping special chars. And also saves precompiled REs for a speed increase.</p> ]]></description>
<pubDate>Wed, 02 Aug 2006 10:20:38 GMT</pubDate>
<guid>http://snipplr.com/view/636/regular-expressions-simple-strings-searchreplace-escape-method-with-re-speed-enhancment--precompilation/</guid>
</item>
<item>
<title>(JavaScript) Highlighter v1.0 - Leech</title>
<link>http://snipplr.com/view/552/highlighter-v10/</link>
<description><![CDATA[ <p>Looks for occurrences of one or more strings on the text and calls a callback to replace it.
Created: 2006.01.13</p> ]]></description>
<pubDate>Fri, 21 Jul 2006 09:13:11 GMT</pubDate>
<guid>http://snipplr.com/view/552/highlighter-v10/</guid>
</item>
</channel>
</rss>