<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - pedromagalhaes</title>
<link>http://snipplr.com/users/pedromagalhaes/language/jquery</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 19:31:18 GMT</pubDate>
<item>
<title>(jQuery) Execute something if over something after X seconds</title>
<link>http://snipplr.com/view/52311/execute-something-if-over-something-after-x-seconds/</link>
<description><![CDATA[ <p>I created this snippet for a personal project, where i needed to open a tooltip only when the user was over or moving the mouse after X seconds in a specific selector.
In the code you will find "your code goes here" where you can play around like showing or hiding divs, or whatever are your needs.</p> ]]></description>
<pubDate>Tue, 19 Apr 2011 21:04:34 GMT</pubDate>
<guid>http://snipplr.com/view/52311/execute-something-if-over-something-after-x-seconds/</guid>
</item>
<item>
<title>(jQuery) Hide unwanted html that came from javascript editors (like tinymce, etc.)</title>
<link>http://snipplr.com/view/49517/hide-unwanted-html-that-came-from-javascript-editors-like-tinymce-etc/</link>
<description><![CDATA[ <p>This simple snippet let's you hide unwanted strings inside paragraphs. 
I use this for text that come from javascript editors like tinymce.</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 20:33:33 GMT</pubDate>
<guid>http://snipplr.com/view/49517/hide-unwanted-html-that-came-from-javascript-editors-like-tinymce-etc/</guid>
</item>
<item>
<title>(jQuery) Avoid in Internet Explorer the slow cúfon font replacement</title>
<link>http://snipplr.com/view/49473/avoid-in-internet-explorer-the-slow-cfon-font-replacement/</link>
<description><![CDATA[ <p>This is a simple trick. You have the paragraphs with cufon in a class named ".cufon".
Than, is CSS, say .cufon{display:none}
When the DOM is loaded add to the .cufon class, the css property "display:block"
You won't notice a thing in Mozilla, Chrome, Safari or Opera, and in IE it will make a hug difference....</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 06:41:26 GMT</pubDate>
<guid>http://snipplr.com/view/49473/avoid-in-internet-explorer-the-slow-cfon-font-replacement/</guid>
</item>
<item>
<title>(jQuery) Font Resize with Line-Height and limited Clicks</title>
<link>http://snipplr.com/view/49472/font-resize-with-lineheight-and-limited-clicks/</link>
<description><![CDATA[ <p>Let's you select the classes and apply the resize and line-height.

In the example:
a.zoom is the link who will trigger the function, and .div is text target</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 06:36:31 GMT</pubDate>
<guid>http://snipplr.com/view/49472/font-resize-with-lineheight-and-limited-clicks/</guid>
</item>
<item>
<title>(jQuery) Simple Print Button</title>
<link>http://snipplr.com/view/49468/simple-print-button/</link>
<description><![CDATA[ <p>Just a simple snippet to print the page. Add the class where you need.</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 05:12:18 GMT</pubDate>
<guid>http://snipplr.com/view/49468/simple-print-button/</guid>
</item>
<item>
<title>(jQuery) Change Attribute Values for Links</title>
<link>http://snipplr.com/view/49467/change-attribute-values-for-links/</link>
<description><![CDATA[ <p>If you wish to change attributes in a link you can make use of this snippet.
For example, you can add "name", "id", "class", "target", etc.</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 05:09:40 GMT</pubDate>
<guid>http://snipplr.com/view/49467/change-attribute-values-for-links/</guid>
</item>
<item>
<title>(jQuery) Simple History Back Button</title>
<link>http://snipplr.com/view/49466/simple-history-back-button/</link>
<description><![CDATA[ <p>Just a simple back button. The result is equal as if you clicked on the back browser button.</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 05:06:36 GMT</pubDate>
<guid>http://snipplr.com/view/49466/simple-history-back-button/</guid>
</item>
<item>
<title>(jQuery) Style elements, give classes, clear floats and add separators (for rows and columns)</title>
<link>http://snipplr.com/view/49449/style-elements-give-classes-clear-floats-and-add-separators-for-rows-and-columns/</link>
<description><![CDATA[ <p>Call the function like this:

getChild('.div ul li',4,'newclass',1,1);

Explain: Get all the li's, on every 4 add "newclass", plus, i want a ".clear" and ".seperator" div (to clear the floats and style the separator properly)</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 02:53:19 GMT</pubDate>
<guid>http://snipplr.com/view/49449/style-elements-give-classes-clear-floats-and-add-separators-for-rows-and-columns/</guid>
</item>
<item>
<title>(jQuery) Zebra Table / Zebra Lists</title>
<link>http://snipplr.com/view/49448/zebra-table--zebra-lists/</link>
<description><![CDATA[ <p>This little snippet adds css classes for odd and even, 
in a way you can style each element.</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 02:46:09 GMT</pubDate>
<guid>http://snipplr.com/view/49448/zebra-table--zebra-lists/</guid>
</item>
</channel>
</rss>