<?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/elements</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 00:32:09 GMT</pubDate>
<item>
<title>(jQuery) Move Page Elements in Code Based on Browser Width - depiction</title>
<link>http://snipplr.com/view/70303/move-page-elements-in-code-based-on-browser-width/</link>
<description><![CDATA[ <p>When building responsive sites, you may find the need to move elements on the page around. Instead of creating multiple instances and toggling them on/off, move the entire divs using jQuery. When the browser width increases again, move it back to the original spot.</p> ]]></description>
<pubDate>Thu, 07 Mar 2013 04:01:28 GMT</pubDate>
<guid>http://snipplr.com/view/70303/move-page-elements-in-code-based-on-browser-width/</guid>
</item>
<item>
<title>(JavaScript) Toggling Elements with JavaScript - apphp-snippets</title>
<link>http://snipplr.com/view/70221/toggling-elements-with-javascript/</link>
<description><![CDATA[ <p>This function allows you to pass two variables that represent ID of two elements on your page. What you click on one of them it hide it and shows another one.</p> ]]></description>
<pubDate>Sun, 03 Mar 2013 21:01:01 GMT</pubDate>
<guid>http://snipplr.com/view/70221/toggling-elements-with-javascript/</guid>
</item>
<item>
<title>(JavaScript) getElementsFromClassName - jatkins</title>
<link>http://snipplr.com/view/60653/getelementsfromclassname/</link>
<description><![CDATA[ <p>Released into the public domain.</p> ]]></description>
<pubDate>Wed, 09 Nov 2011 10:07:09 GMT</pubDate>
<guid>http://snipplr.com/view/60653/getelementsfromclassname/</guid>
</item>
<item>
<title>(PHP) PHP getCheckBox - brownrl</title>
<link>http://snipplr.com/view/55778/php-getcheckbox/</link>
<description><![CDATA[ <p>Simple simple simple function to make a checkbox for a form. Retains checked status.</p> ]]></description>
<pubDate>Mon, 27 Jun 2011 19:55:47 GMT</pubDate>
<guid>http://snipplr.com/view/55778/php-getcheckbox/</guid>
</item>
<item>
<title>(PHP) Test Zend Layout - Blerx</title>
<link>http://snipplr.com/view/53347/test-zend-layout/</link>
<description><![CDATA[ <p>This is an easy way to Instantiate and check layouts within a ZendFramework</p> ]]></description>
<pubDate>Wed, 11 May 2011 18:59:40 GMT</pubDate>
<guid>http://snipplr.com/view/53347/test-zend-layout/</guid>
</item>
<item>
<title>(JavaScript) switch elements index - neilking</title>
<link>http://snipplr.com/view/51112/switch-elements-index/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 25 Mar 2011 15:01:57 GMT</pubDate>
<guid>http://snipplr.com/view/51112/switch-elements-index/</guid>
</item>
<item>
<title>(PHP) Preserving Form Elements by creating hidden form elements on new page based on previous page's form submit - chopbust</title>
<link>http://snipplr.com/view/49913/preserving-form-elements-by-creating-hidden-form-elements-on-new-page-based-on-previous-pages-form-submit/</link>
<description><![CDATA[ <p>I made this function to render hidden form elements in a new page based on what was sent from the last form. This function can be used to preserve input from a long multiple-page form.

What does it do:

1. Go through all the submitted POST elements.
2. Draw a loop of those POST elements into this new form (in form of hidden elements).
3. When that form submits, previous page's input is included inside this new form's submit action.

Note: Do not use the same form element name as it overwrites as it goes along.</p> ]]></description>
<pubDate>Wed, 02 Mar 2011 18:00:38 GMT</pubDate>
<guid>http://snipplr.com/view/49913/preserving-form-elements-by-creating-hidden-form-elements-on-new-page-based-on-previous-pages-form-submit/</guid>
</item>
<item>
<title>(ActionScript 3) Remove elements from an associative array - feeorin</title>
<link>http://snipplr.com/view/49388/remove-elements-from-an-associative-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 22 Feb 2011 10:44:23 GMT</pubDate>
<guid>http://snipplr.com/view/49388/remove-elements-from-an-associative-array/</guid>
</item>
<item>
<title>(CSS) Give Clickable Elements a Pointer Cursor - lajlev</title>
<link>http://snipplr.com/view/49274/give-clickable-elements-a-pointer-cursor/</link>
<description><![CDATA[ <p>Some elements that are clickable mysteriously don’t trigger a pointer cursor in browsers. This fixes that, and provides a default class “pointer” for applying it to other clickable things as needed.</p> ]]></description>
<pubDate>Sun, 20 Feb 2011 06:57:45 GMT</pubDate>
<guid>http://snipplr.com/view/49274/give-clickable-elements-a-pointer-cursor/</guid>
</item>
<item>
<title>(CSS) Centering block elements horizontally - blueocto</title>
<link>http://snipplr.com/view/46363/centering-block-elements-horizontally/</link>
<description><![CDATA[ <p>For all modern browser this line of css is enough to horizontally center a block level element.</p> ]]></description>
<pubDate>Sat, 01 Jan 2011 03:14:09 GMT</pubDate>
<guid>http://snipplr.com/view/46363/centering-block-elements-horizontally/</guid>
</item>
<item>
<title>(jQuery) Display Elements Sequentially with jQuery - alyssonweb</title>
<link>http://snipplr.com/view/45757/display-elements-sequentially-with-jquery/</link>
<description><![CDATA[ <p>http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-display-elements-sequentially-with-jquery/</p> ]]></description>
<pubDate>Wed, 15 Dec 2010 07:49:10 GMT</pubDate>
<guid>http://snipplr.com/view/45757/display-elements-sequentially-with-jquery/</guid>
</item>
<item>
<title>(HTML) input radio - wazdesign</title>
<link>http://snipplr.com/view/43812/input-radio/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 09 Nov 2010 20:18:49 GMT</pubDate>
<guid>http://snipplr.com/view/43812/input-radio/</guid>
</item>
<item>
<title>(JavaScript) Check if an element is vertically between two other elements - jatkins</title>
<link>http://snipplr.com/view/42959/check-if-an-element-is-vertically-between-two-other-elements/</link>
<description><![CDATA[ <p>Public domain.</p> ]]></description>
<pubDate>Tue, 26 Oct 2010 08:49:54 GMT</pubDate>
<guid>http://snipplr.com/view/42959/check-if-an-element-is-vertically-between-two-other-elements/</guid>
</item>
<item>
<title>(JavaScript) Add and remove CSS classes from elements - jatkins</title>
<link>http://snipplr.com/view/36986/add-and-remove-css-classes-from-elements/</link>
<description><![CDATA[ <p>Public domain. [`find_index`](http://snipplr.com/view/37102/javascript-alternative-indexof-function-not-all-versions-of-ie-feature-it/) is required because not all versions of IE support `Array.indexOf`.</p> ]]></description>
<pubDate>Fri, 09 Jul 2010 06:55:56 GMT</pubDate>
<guid>http://snipplr.com/view/36986/add-and-remove-css-classes-from-elements/</guid>
</item>
<item>
<title>(jQuery) jQuery Reset Form by filtering elements - akwo</title>
<link>http://snipplr.com/view/35406/jquery-reset-form-by-filtering-elements/</link>
<description><![CDATA[ <p>http://stackoverflow.com/questions/680241/reset-form-with-jquery</p> ]]></description>
<pubDate>Tue, 01 Jun 2010 09:13:56 GMT</pubDate>
<guid>http://snipplr.com/view/35406/jquery-reset-form-by-filtering-elements/</guid>
</item>
<item>
<title>(PHP) Walk all DOM elements with jQuery - linusx</title>
<link>http://snipplr.com/view/34445/walk-all-dom-elements-with-jquery/</link>
<description><![CDATA[ <p>This code will walk all elements from a given selector.</p> ]]></description>
<pubDate>Thu, 13 May 2010 15:35:38 GMT</pubDate>
<guid>http://snipplr.com/view/34445/walk-all-dom-elements-with-jquery/</guid>
</item>
<item>
<title>(JavaScript) SimpleSelector, Javascript DOM selector - freelancephp</title>
<link>http://snipplr.com/view/30508/simpleselector-javascript-dom-selector/</link>
<description><![CDATA[ <p>SimpleSelector is a small DOM selector object with support for the most used selectors. It's also the default selector for the jLim JavaScript framework.

Why use SimpleSelector?
- very small, less than 2kb minified
- easy to use with $$()
- no overhead, no functions you hardly ever use
- ideal for smaller websites</p> ]]></description>
<pubDate>Tue, 30 Mar 2010 04:53:15 GMT</pubDate>
<guid>http://snipplr.com/view/30508/simpleselector-javascript-dom-selector/</guid>
</item>
<item>
<title>(jQuery) Elements selection in jQuery - HubertGaulin</title>
<link>http://snipplr.com/view/13884/elements-selection-in-jquery/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 08 Apr 2009 09:19:31 GMT</pubDate>
<guid>http://snipplr.com/view/13884/elements-selection-in-jquery/</guid>
</item>
<item>
<title>(PHP) Element helper for CakePHP - ping_ch</title>
<link>http://snipplr.com/view/11914/element-helper-for-cakephp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 06 Feb 2009 10:07:35 GMT</pubDate>
<guid>http://snipplr.com/view/11914/element-helper-for-cakephp/</guid>
</item>
<item>
<title>(JavaScript) TinyMCE valid elements (make iframe valid element) - leonbda</title>
<link>http://snipplr.com/view/11404/tinymce-valid-elements-make-iframe-valid-element/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 21 Jan 2009 08:19:45 GMT</pubDate>
<guid>http://snipplr.com/view/11404/tinymce-valid-elements-make-iframe-valid-element/</guid>
</item>
</channel>
</rss>