<?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/favorites/gbot</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 17:32:08 GMT</pubDate>
<item>
<title>(JavaScript) Scroll mobile browser window to hide location bar - gbot</title>
<link>http://snipplr.com/view/53351/scroll-mobile-browser-window-to-hide-location-bar/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 11 May 2011 20:01:13 GMT</pubDate>
<guid>http://snipplr.com/view/53351/scroll-mobile-browser-window-to-hide-location-bar/</guid>
</item>
<item>
<title>(Apache) enable gZip on (dv) server using .htaccess - gbot</title>
<link>http://snipplr.com/view/43897/enable-gzip-on-dv-server-using-htaccess/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 10 Nov 2010 20:18:05 GMT</pubDate>
<guid>http://snipplr.com/view/43897/enable-gzip-on-dv-server-using-htaccess/</guid>
</item>
<item>
<title>(jQuery) Toggle box - gbot</title>
<link>http://snipplr.com/view/37271/toggle-box/</link>
<description><![CDATA[ <p>Toggle visibility box</p> ]]></description>
<pubDate>Wed, 14 Jul 2010 08:09:00 GMT</pubDate>
<guid>http://snipplr.com/view/37271/toggle-box/</guid>
</item>
<item>
<title>(jQuery) Scroll to Top of Page with jQuery - gbot</title>
<link>http://snipplr.com/view/36451/scroll-to-top-of-page-with-jquery/</link>
<description><![CDATA[ <p>This is a simple way to scroll to the top of the page, when an anchor tag has been clicked. Note that we must "return false," in order to disable the default browser action.</p> ]]></description>
<pubDate>Tue, 29 Jun 2010 08:04:26 GMT</pubDate>
<guid>http://snipplr.com/view/36451/scroll-to-top-of-page-with-jquery/</guid>
</item>
<item>
<title>(CSS) 8 Font Stacks - gbot</title>
<link>http://snipplr.com/view/10978/8-font-stacks/</link>
<description><![CDATA[ <p>From Michael Tuck's article</p> ]]></description>
<pubDate>Wed, 07 Jan 2009 11:03:14 GMT</pubDate>
<guid>http://snipplr.com/view/10978/8-font-stacks/</guid>
</item>
<item>
<title>(PHP) PHP - Size converter - gbot</title>
<link>http://snipplr.com/view/7124/php--size-converter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Jul 2008 06:32:59 GMT</pubDate>
<guid>http://snipplr.com/view/7124/php--size-converter/</guid>
</item>
<item>
<title>(Apache) Add http header to force IE8 to render in IE7 mode - gbot</title>
<link>http://snipplr.com/view/6781/add-http-header-to-force-ie8-to-render-in-ie7-mode/</link>
<description><![CDATA[ <p>In summary, IE7 compatibility support looks as follows:

IE=7

Display in IE7 Standards mode; Already supported in the IE8 Beta 1 release

IE=EmulateIE7

Display standards DOCTYPEs in IE7 Standards mode; Display quirks DOCTYPEs in Quirks mode; Available through the IE June Security Update for IE8 Beta 1

There are two ways to implement this tag:

    * On a per-site basis, add a custom HTTP header 

    X-UA-Compatible: IE=EmulateIE7

    * On a per-page basis, add a special HTML tag to each document, right after the  tag 

    

Implementing the HTTP header is beneficial if a site owner wants most of their site to render as it did in IE7 or if there are no plans to update site content. Inclusion of this header honors any Quirks mode pages that belong to the site.

Using the meta-tag on a per-page basis is beneficial when the publisher wants to opt-in specific pages to render as they did in IE7.

NOTE: The X-UA-Compatible tag and header override any existing DOCTYPE. Also, the mode specified by the page takes precedent over the HTTP header. For example, you could add the EmulateIE7 HTTP header to a site, and set specific pages to display in IE8 mode (by using the meta-tag with content=”IE8”).</p> ]]></description>
<pubDate>Thu, 19 Jun 2008 10:16:46 GMT</pubDate>
<guid>http://snipplr.com/view/6781/add-http-header-to-force-ie8-to-render-in-ie7-mode/</guid>
</item>
<item>
<title>(JavaScript) string trim function - gbot</title>
<link>http://snipplr.com/view/5905/string-trim-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 18 Apr 2008 05:58:25 GMT</pubDate>
<guid>http://snipplr.com/view/5905/string-trim-function/</guid>
</item>
<item>
<title>(JavaScript) Get browser viewport width and height - gbot</title>
<link>http://snipplr.com/view/5896/get-browser-viewport-width-and-height/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Apr 2008 10:49:30 GMT</pubDate>
<guid>http://snipplr.com/view/5896/get-browser-viewport-width-and-height/</guid>
</item>
<item>
<title>(JavaScript) Mootools set file types to open in new window - gbot</title>
<link>http://snipplr.com/view/5881/mootools-set-file-types-to-open-in-new-window/</link>
<description><![CDATA[ <p>From: David Walsh.
http://davidwalsh.name/dw-content/open-links.php</p> ]]></description>
<pubDate>Wed, 16 Apr 2008 06:30:23 GMT</pubDate>
<guid>http://snipplr.com/view/5881/mootools-set-file-types-to-open-in-new-window/</guid>
</item>
<item>
<title>(PHP) remove whitespace - gbot</title>
<link>http://snipplr.com/view/5683/remove-whitespace/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 03 Apr 2008 10:15:32 GMT</pubDate>
<guid>http://snipplr.com/view/5683/remove-whitespace/</guid>
</item>
<item>
<title>(PHP) Human Readable filesize - gbot</title>
<link>http://snipplr.com/view/5570/human-readable-filesize/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 26 Mar 2008 21:22:33 GMT</pubDate>
<guid>http://snipplr.com/view/5570/human-readable-filesize/</guid>
</item>
<item>
<title>(PHP) force page to ssl - gbot</title>
<link>http://snipplr.com/view/5555/force-page-to-ssl/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 Mar 2008 10:40:06 GMT</pubDate>
<guid>http://snipplr.com/view/5555/force-page-to-ssl/</guid>
</item>
<item>
<title>(Apache) disable IE6 image toolbar with http header via htaccess - gbot</title>
<link>http://snipplr.com/view/5554/disable-ie6-image-toolbar-with-http-header-via-htaccess/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 Mar 2008 07:25:57 GMT</pubDate>
<guid>http://snipplr.com/view/5554/disable-ie6-image-toolbar-with-http-header-via-htaccess/</guid>
</item>
<item>
<title>(CSS) Tableless forms - gbot</title>
<link>http://snipplr.com/view/5412/tableless-forms/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Mar 2008 16:32:25 GMT</pubDate>
<guid>http://snipplr.com/view/5412/tableless-forms/</guid>
</item>
<item>
<title>(PHP) Rebuild query string - gbot</title>
<link>http://snipplr.com/view/5351/rebuild-query-string/</link>
<description><![CDATA[ <p>I modified some code created by Macromedia Dreamweaver into a flexible function to rebuild the query string. The function is very useful for pagination or passing variables from one page to another.In this version it's possible to add more than one variable names into the functions arguments. This names will be filtered from the new generated query string. Just add the variable names you don't need into a comma seperated string.</p> ]]></description>
<pubDate>Mon, 10 Mar 2008 10:37:28 GMT</pubDate>
<guid>http://snipplr.com/view/5351/rebuild-query-string/</guid>
</item>
<item>
<title>(PHP) ultimate validate email function - gbot</title>
<link>http://snipplr.com/view/5345/ultimate-validate-email-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Mar 2008 08:15:50 GMT</pubDate>
<guid>http://snipplr.com/view/5345/ultimate-validate-email-function/</guid>
</item>
<item>
<title>(PHP) String begins with - gbot</title>
<link>http://snipplr.com/view/5344/string-begins-with/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Mar 2008 07:48:42 GMT</pubDate>
<guid>http://snipplr.com/view/5344/string-begins-with/</guid>
</item>
<item>
<title>(PHP) String to title case - gbot</title>
<link>http://snipplr.com/view/5343/string-to-title-case/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Mar 2008 07:42:39 GMT</pubDate>
<guid>http://snipplr.com/view/5343/string-to-title-case/</guid>
</item>
<item>
<title>(PHP) Get file extension - gbot</title>
<link>http://snipplr.com/view/5339/get-file-extension/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 11:13:02 GMT</pubDate>
<guid>http://snipplr.com/view/5339/get-file-extension/</guid>
</item>
</channel>
</rss>