<?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/tags/auto</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 21:46:58 GMT</pubDate>
<item>
<title>(PHP) auto link urls in text / string - rwunsch</title>
<link>http://snipplr.com/view/60649/auto-link-urls-in-text--string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Nov 2011 04:52:53 GMT</pubDate>
<guid>http://snipplr.com/view/60649/auto-link-urls-in-text--string/</guid>
</item>
<item>
<title>(jQuery) jQuery Auto-Scroll on div - ryarwood</title>
<link>http://snipplr.com/view/55066/jquery-autoscroll-on-div/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Jun 2011 05:45:35 GMT</pubDate>
<guid>http://snipplr.com/view/55066/jquery-autoscroll-on-div/</guid>
</item>
<item>
<title>(JavaScript) Auto hide input field on focus - cfergus</title>
<link>http://snipplr.com/view/53415/auto-hide-input-field-on-focus/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 12 May 2011 03:14:54 GMT</pubDate>
<guid>http://snipplr.com/view/53415/auto-hide-input-field-on-focus/</guid>
</item>
<item>
<title>(jQuery) Auto focus on next input field - dsoms</title>
<link>http://snipplr.com/view/52754/auto-focus-on-next-input-field/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 28 Apr 2011 20:58:11 GMT</pubDate>
<guid>http://snipplr.com/view/52754/auto-focus-on-next-input-field/</guid>
</item>
<item>
<title>(PHP) Auto updating copyright notice - Jeroen</title>
<link>http://snipplr.com/view/52454/auto-updating-copyright-notice/</link>
<description><![CDATA[ <p>__A lot of websites are victim of outdated copyright notices, 2008, 2009 even 2000.__

This function is designed to combat this annoyance, resulting in proper copyright notices. With **valid years**, and also valid **Typography**, separating the dates with an **En dash** and using **character entities**.   

Using this function in your footer will create an output string similar as:   
*****
2008–2011 ©  for $startYear = 2008    
*****
2011 ©  if the $startYear is equal(or bigger) compared to the current year, note that if an invalid date(higher) is passed as the argument the function will still return the current year   
*****
Our company 2011 ©  for $startYear = "Our company" **(not advised)**   
*****
2009–2011 © Our company for $startYear = 2009 and $txt = "Our company" **(advised)**</p> ]]></description>
<pubDate>Fri, 22 Apr 2011 05:51:30 GMT</pubDate>
<guid>http://snipplr.com/view/52454/auto-updating-copyright-notice/</guid>
</item>
<item>
<title>(HTML) Input Field Auto Hide Value - tamuir</title>
<link>http://snipplr.com/view/50759/input-field-auto-hide-value/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Mar 2011 07:20:03 GMT</pubDate>
<guid>http://snipplr.com/view/50759/input-field-auto-hide-value/</guid>
</item>
<item>
<title>(Other) Auto Publish sitemap.xml - silentpro</title>
<link>http://snipplr.com/view/50670/auto-publish-sitemapxml/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 15 Mar 2011 11:32:30 GMT</pubDate>
<guid>http://snipplr.com/view/50670/auto-publish-sitemapxml/</guid>
</item>
<item>
<title>(HTML) HTML Meta Tag Auto Refresh - rstandley</title>
<link>http://snipplr.com/view/48151/html-meta-tag-auto-refresh/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 31 Jan 2011 20:42:09 GMT</pubDate>
<guid>http://snipplr.com/view/48151/html-meta-tag-auto-refresh/</guid>
</item>
<item>
<title>(JavaScript) AJAX form autosubmit - FatFolderDesigner</title>
<link>http://snipplr.com/view/44799/ajax-form-autosubmit/</link>
<description><![CDATA[ <p>I was working on this for a new site ideal I have, though it might be useful for others. What this does it sent a AJAX POST request every time the as() function is called. Setting the form to run as() onkeyup will essentially make the form submit itself whenever updated. I play to use this as part of an auto submit save system.

You could also eave the method and action of a form blank and have it run this with an onclick on the submit button, submitting the form only when they want to but keeping them on the page.

UPDATE: demo of this working available at the URL.</p> ]]></description>
<pubDate>Wed, 24 Nov 2010 17:14:37 GMT</pubDate>
<guid>http://snipplr.com/view/44799/ajax-form-autosubmit/</guid>
</item>
<item>
<title>(C++) Glavni program - martina_granic</title>
<link>http://snipplr.com/view/44173/glavni-program/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 15 Nov 2010 06:41:11 GMT</pubDate>
<guid>http://snipplr.com/view/44173/glavni-program/</guid>
</item>
<item>
<title>(CSS) Center a div inside of a div - alozuldo</title>
<link>http://snipplr.com/view/42864/center-a-div-inside-of-a-div/</link>
<description><![CDATA[ <p>Of course, you don't have to set the width to 50%. Any width less than the containing div will work. The margin: auto is what does the actual centering.</p> ]]></description>
<pubDate>Mon, 25 Oct 2010 09:22:20 GMT</pubDate>
<guid>http://snipplr.com/view/42864/center-a-div-inside-of-a-div/</guid>
</item>
<item>
<title>(PHP) Codeigniter Auto Complete Search - myke</title>
<link>http://snipplr.com/view/40578/codeigniter-auto-complete-search/</link>
<description><![CDATA[ <p>example I used to create a auto suggest search from that pulls from a database.  The example pulls from a single db table containing categories.  Using jQueryUI made this pretty painless but by default the autocomplete feature uses GET variables and you must enable these in your Codeigniter settings to work properly.\r\n\r\nThis example uses POST variables instead so the js is modified accordingly.</p> ]]></description>
<pubDate>Thu, 16 Sep 2010 13:15:33 GMT</pubDate>
<guid>http://snipplr.com/view/40578/codeigniter-auto-complete-search/</guid>
</item>
<item>
<title>(PHP) WordPress AutoLogin - oriontimbers</title>
<link>http://snipplr.com/view/39933/wordpress-autologin/</link>
<description><![CDATA[ <p>Code snippet that allows the user to be automatically logged in on account creation, this works with s2Member since they allow the user to create their own password.</p> ]]></description>
<pubDate>Fri, 03 Sep 2010 04:38:54 GMT</pubDate>
<guid>http://snipplr.com/view/39933/wordpress-autologin/</guid>
</item>
<item>
<title>(ActionScript) Auto Align on Resize - enabled88</title>
<link>http://snipplr.com/view/38966/auto-align-on-resize/</link>
<description><![CDATA[ <p>Coments, Coments, And More Coments,</p> ]]></description>
<pubDate>Thu, 12 Aug 2010 10:04:03 GMT</pubDate>
<guid>http://snipplr.com/view/38966/auto-align-on-resize/</guid>
</item>
<item>
<title>(jQuery) jQuery dynamic loader - load jquery using pure js javascript if jQ is undefined or does not exist - brandonjp</title>
<link>http://snipplr.com/view/37958/jquery-dynamic-loader--load-jquery-using-pure-js-javascript-if-jq-is-undefined-or-does-not-exist/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 28 Jul 2010 01:36:35 GMT</pubDate>
<guid>http://snipplr.com/view/37958/jquery-dynamic-loader--load-jquery-using-pure-js-javascript-if-jq-is-undefined-or-does-not-exist/</guid>
</item>
<item>
<title>(Other) Auto Height iFrame - dottDesign</title>
<link>http://snipplr.com/view/35634/auto-height-iframe/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Jun 2010 14:00:51 GMT</pubDate>
<guid>http://snipplr.com/view/35634/auto-height-iframe/</guid>
</item>
<item>
<title>(Objective C) iPhone View Auto Rotate With View Updates - Header &amp;amp; Implementation - rvachere</title>
<link>http://snipplr.com/view/35039/iphone-view-auto-rotate-with-view-updates--header--implementation/</link>
<description><![CDATA[ <p>this was just an exercise to learn about updating a UIImageView to the desired orientation;the accelerometer was used to detect the movements through the overridden method shouldAutorotateToInterfaceOrientation. wurd.</p> ]]></description>
<pubDate>Fri, 21 May 2010 21:54:50 GMT</pubDate>
<guid>http://snipplr.com/view/35039/iphone-view-auto-rotate-with-view-updates--header--implementation/</guid>
</item>
<item>
<title>(MySQL) add auto-imcremented column to existing table without ex- and reimporting - simondiercks</title>
<link>http://snipplr.com/view/30513/add-autoimcremented-column-to-existing-table-without-ex-and-reimporting/</link>
<description><![CDATA[ <p>How to add an auto-incremented column to an existing table without ex- and reimporting.</p> ]]></description>
<pubDate>Tue, 30 Mar 2010 06:16:18 GMT</pubDate>
<guid>http://snipplr.com/view/30513/add-autoimcremented-column-to-existing-table-without-ex-and-reimporting/</guid>
</item>
<item>
<title>(JavaScript) Auto selecting checkbox - Piotrek290</title>
<link>http://snipplr.com/view/28835/auto-selecting-checkbox/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 24 Feb 2010 05:11:57 GMT</pubDate>
<guid>http://snipplr.com/view/28835/auto-selecting-checkbox/</guid>
</item>
<item>
<title>(CSS) Cross-Browser Auto Vertical/Horizontal Centering (Chrome &amp;amp; Forms Compatible) - bryanlyman</title>
<link>http://snipplr.com/view/24618/crossbrowser-auto-verticalhorizontal-centering-chrome--forms-compatible/</link>
<description><![CDATA[ <p>A way to do 100% DIVs that adjust to content and center themselves both vertically and horizontally automatically. Tested for all browsers at 1920X1080 resolution. The 96% body height fixes Firefox and IE scrollbars that appear without reason and might need to be adjusted for smaller or larger windows.</p> ]]></description>
<pubDate>Fri, 11 Dec 2009 12:24:58 GMT</pubDate>
<guid>http://snipplr.com/view/24618/crossbrowser-auto-verticalhorizontal-centering-chrome--forms-compatible/</guid>
</item>
</channel>
</rss>