<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Programatori.info &#187; WEB 2.0</title>
	<atom:link href="http://programatori.info/blog/category/web-2-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://programatori.info/blog</link>
	<description>web programming blog</description>
	<lastBuildDate>Sun, 10 Jul 2011 07:47:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Toggle Text</title>
		<link>http://programatori.info/blog/2011/06/toggle-text/</link>
		<comments>http://programatori.info/blog/2011/06/toggle-text/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 01:32:57 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://css-tricks.com/?page_id=9861</guid>
		<description><![CDATA[<p>Let's say you have a link to show more options which expands a list of options. It's says "more options". It's easy to toggle those options with .toggle() or .slideToggle(), but the text remains the same. To toggle the text too...</p> <code>$("#more-less-options-button").click(function() {
var txt = $("#extra-options").is(':visible') ? 'more options' : 'less options';
$("#more-less-options-button").text(txt);
$("#extra-options").slideToggle();
});</code> <br /><p><a rel="nofollow" target="_blank" href="http://rss.buysellads.com/click.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9861&#38;c=940016572"><img src="http://rss.buysellads.com/img.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9861&#38;c=940016572" border="0" alt="" /></a></p><p><a rel="nofollow" target="_blank" href="http://buysellads.com/buy/sitedetails/pubkey/3469a2a501a9e18091036aa0c89f9dcb/zone/1259963">Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<p>Let's say you have a link to show more options which expands a list of options. It's says "more options". It's easy to toggle those options with .toggle() or .slideToggle(), but the text remains the same. To toggle the text too...</p><pre><code>$("#more-less-options-button").click(function() { var txt = $("#extra-options").is(':visible') ? 'more options' : 'less options'; $("#more-less-options-button").text(txt); $("#extra-options").slideToggle();
});</code></pre><img src="http://feeds.feedburner.com/~r/CSS-TricksSnippets/~4/hyxYOWlmMy4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/toggle-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Image Next To Each Tag</title>
		<link>http://programatori.info/blog/2011/06/display-image-next-to-each-tag-2/</link>
		<comments>http://programatori.info/blog/2011/06/display-image-next-to-each-tag-2/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 18:46:50 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://css-tricks.com/?page_id=9851</guid>
		<description><![CDATA[<code>&#060;?php
$posttags = get_the_tags(); // Get articles tags
$home = get_bloginfo('url'); // Get homepage URL// Check tagslug.png exists and display it
if ($posttags) {
foreach($posttags as $tag) {
$image = "/images/tag-images/$tag-&#062;slug.png";if (file_exists("images/tag-images/$tag-&#062;slug.png")) {
echo '&#060;a href="' . $home . '/tag/' . $tag-&#062;slug . '" /&#062;&#060;img title="' . $tag-&#062;name . '" alt="' . $tag-&#062;name . '" src="' . $image . '" /&#062;&#060;/a&#062;';// If no image found, output something else, possibly nothing.
} else {
echo '&#060;p&#062;Not found&#060;/p&#062;';
}</code><p>&#8230;</p><br /><p><a rel="nofollow" target="_blank" href="http://rss.buysellads.com/click.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9851&#38;c=1901877238"><img src="http://rss.buysellads.com/img.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9851&#38;c=1901877238" border="0" alt="" /></a></p><p><a rel="nofollow" target="_blank" href="http://buysellads.com/buy/sitedetails/pubkey/3469a2a501a9e18091036aa0c89f9dcb/zone/1259963">Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<pre><code>&lt;?php
$posttags = get_the_tags(); // Get articles tags
$home = get_bloginfo('url'); // Get homepage URL // Check tagslug.png exists and display it
if ($posttags) { foreach($posttags as $tag) { $image = "/images/tag-images/$tag-&gt;slug.png"; if (file_exists("images/tag-images/$tag-&gt;slug.png")) { echo '&lt;a href="' . $home . '/tag/' . $tag-&gt;slug . '" /&gt;&lt;img title="' . $tag-&gt;name . '" alt="' . $tag-&gt;name . '" src="' . $image . '" /&gt;&lt;/a&gt;'; // If no image found, output something else, possibly nothing. } else { echo '&lt;p&gt;Not found&lt;/p&gt;'; } }
}
?&gt;</code></pre><p>This code belongs inside the loop. It will look in a specific directory for any images that match the slugs of article tags, display them and link them to the relevant tag archive.</p><img src="http://feeds.feedburner.com/~r/CSS-TricksSnippets/~4/Cz2WQ-H4WgA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/display-image-next-to-each-tag-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Image Next To Each Tag</title>
		<link>http://programatori.info/blog/2011/06/display-image-next-to-each-tag/</link>
		<comments>http://programatori.info/blog/2011/06/display-image-next-to-each-tag/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 18:46:50 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://css-tricks.com/?page_id=9851</guid>
		<description><![CDATA[<code>&#060;?php
$posttags = get_the_tags(); // Get articles tags
$home = get_bloginfo('url'); // Get homepage URL// Check tagslug.png exists and display it
if ($posttags) {
foreach($posttags as $tag) {
$image = "/images/tag-images/$tag-&#062;slug.png";if (file_exists("images/tag-images/$tag-&#062;slug.png")) {
echo '&#060;a href="' . $home . '/tag/' . $tag-&#062;slug . '" /&#062;&#060;img title="' . $tag-&#062;name . '" alt="' . $tag-&#062;name . '" src="' . $image . '" /&#062;&#060;/a&#062;';// If no image found, output something else, possibly nothing.
} else {
echo '&#060;p&#062;Not found&#060;/p&#062;';
}</code><p>&#8230;</p><br /><p><a rel="nofollow" target="_blank" href="http://rss.buysellads.com/click.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9851&#38;c=62319164"><img src="http://rss.buysellads.com/img.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9851&#38;c=62319164" border="0" alt="" /></a></p><p><a rel="nofollow" target="_blank" href="http://buysellads.com/buy/sitedetails/pubkey/3469a2a501a9e18091036aa0c89f9dcb/zone/1259963">Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<pre><code>&lt;?php
$posttags = get_the_tags(); // Get articles tags
$home = get_bloginfo('url'); // Get homepage URL // Check tagslug.png exists and display it
if ($posttags) { foreach($posttags as $tag) { $image = "/images/tag-images/$tag-&gt;slug.png"; if (file_exists("images/tag-images/$tag-&gt;slug.png")) { echo '&lt;a href="' . $home . '/tag/' . $tag-&gt;slug . '" /&gt;&lt;img title="' . $tag-&gt;name . '" alt="' . $tag-&gt;name . '" src="' . $image . '" /&gt;&lt;/a&gt;'; // If no image found, output something else, possibly nothing. } else { echo '&lt;p&gt;Not found&lt;/p&gt;'; } }
}
?&gt;</code></pre><p>This code belongs inside the loop. It will look in a specific directory for any images that match the slugs of article tags, display them and link them to the relevant tag archive.</p><img src="http://feeds.feedburner.com/~r/CSS-TricksSnippets/~4/Cz2WQ-H4WgA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/display-image-next-to-each-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculate Distance Between Mouse and Element</title>
		<link>http://programatori.info/blog/2011/06/calculate-distance-between-mouse-and-element-2/</link>
		<comments>http://programatori.info/blog/2011/06/calculate-distance-between-mouse-and-element-2/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 18:37:36 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://css-tricks.com/?page_id=9847</guid>
		<description><![CDATA[<code>(function() {var mX, mY, distance,
$distance = $('#distance span'),
$element = $('#element');function calculateDistance(elem, mouseX, mouseY) {
return Math.floor(Math.sqrt(Math.pow(mouseX - (elem.offset().left+(elem.width()/2)), 2) + Math.pow(mouseY - (elem.offset().top+(elem.height()/2)), 2)));
}$(document).mousemove(function(e) {
mX = e.pageX;
mY = e.pageY;
distance = calculateDistance($element, mX, mY);
$distance.text(distance);
});})();</code><p>This code will calculate the distance between the mouse cursor and the center of an element. This can be useful for triggering a function when the mouse is within a certain distance of an element.&#8230;</p><br /><p><a rel="nofollow" target="_blank" href="http://rss.buysellads.com/click.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9847&#38;c=1605922657"><img src="http://rss.buysellads.com/img.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9847&#38;c=1605922657" border="0" alt="" /></a></p><p><a rel="nofollow" target="_blank" href="http://buysellads.com/buy/sitedetails/pubkey/3469a2a501a9e18091036aa0c89f9dcb/zone/1259963">Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<pre><code>(function() { var mX, mY, distance, $distance = $('#distance span'), $element = $('#element'); function calculateDistance(elem, mouseX, mouseY) { return Math.floor(Math.sqrt(Math.pow(mouseX - (elem.offset().left+(elem.width()/2)), 2) + Math.pow(mouseY - (elem.offset().top+(elem.height()/2)), 2))); } $(document).mousemove(function(e) { mX = e.pageX; mY = e.pageY; distance = calculateDistance($element, mX, mY); $distance.text(distance); }); })();</code></pre><p>This code will calculate the distance between the mouse cursor and the center of an element. This can be useful for triggering a function when the mouse is within a certain distance of an element. Or, you can base the value of a property, such as the width, height, or opacity of the element, on the proximity of the mouse cursor.</p><img src="http://feeds.feedburner.com/~r/CSS-TricksSnippets/~4/7OJ15_C-f2s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/calculate-distance-between-mouse-and-element-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculate Distance Between Mouse and Element</title>
		<link>http://programatori.info/blog/2011/06/calculate-distance-between-mouse-and-element/</link>
		<comments>http://programatori.info/blog/2011/06/calculate-distance-between-mouse-and-element/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 18:37:36 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://css-tricks.com/?page_id=9847</guid>
		<description><![CDATA[<code>(function() {var mX, mY, distance,
$distance = $('#distance span'),
$element = $('#element');function calculateDistance(elem, mouseX, mouseY) {
return Math.floor(Math.sqrt(Math.pow(mouseX - (elem.offset().left+(elem.width()/2)), 2) + Math.pow(mouseY - (elem.offset().top+(elem.height()/2)), 2)));
}$(document).mousemove(function(e) {
mX = e.pageX;
mY = e.pageY;
distance = calculateDistance($element, mX, mY);
$distance.text(distance);
});})();</code><p>This code will calculate the distance between the mouse cursor and the center of an element. This can be useful for triggering a function when the mouse is within a certain distance of an element.&#8230;</p><br /><p><a rel="nofollow" target="_blank" href="http://rss.buysellads.com/click.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9847&#38;c=501831213"><img src="http://rss.buysellads.com/img.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9847&#38;c=501831213" border="0" alt="" /></a></p><p><a rel="nofollow" target="_blank" href="http://buysellads.com/buy/sitedetails/pubkey/3469a2a501a9e18091036aa0c89f9dcb/zone/1259963">Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<pre><code>(function() { var mX, mY, distance, $distance = $('#distance span'), $element = $('#element'); function calculateDistance(elem, mouseX, mouseY) { return Math.floor(Math.sqrt(Math.pow(mouseX - (elem.offset().left+(elem.width()/2)), 2) + Math.pow(mouseY - (elem.offset().top+(elem.height()/2)), 2))); } $(document).mousemove(function(e) { mX = e.pageX; mY = e.pageY; distance = calculateDistance($element, mX, mY); $distance.text(distance); }); })();</code></pre><p>This code will calculate the distance between the mouse cursor and the center of an element. This can be useful for triggering a function when the mouse is within a certain distance of an element. Or, you can base the value of a property, such as the width, height, or opacity of the element, on the proximity of the mouse cursor.</p><img src="http://feeds.feedburner.com/~r/CSS-TricksSnippets/~4/7OJ15_C-f2s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/calculate-distance-between-mouse-and-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hexagon With Shadow</title>
		<link>http://programatori.info/blog/2011/06/hexagon-with-shadow/</link>
		<comments>http://programatori.info/blog/2011/06/hexagon-with-shadow/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 00:34:27 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://css-tricks.com/?page_id=9832</guid>
		<description><![CDATA[<code>&#060;div class="hexagon"&#062;&#060;span&#062;&#060;/span&#062;&#060;/div&#062;</code> <code>.hexagon {
width: 100px;
height: 55px;
position: relative;
}
.hexagon, .hexagon:before, .hexagon:after {
background: red;
-moz-box-shadow: 0 0 10px rgba(0,0,0,0.8);
-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.8);
box-shadow: 0 0 10px rgba(0,0,0,0.8);
}
.hexagon:before, .hexagon:after {
content: "";
position: absolute;
left: 22px;
width: 57px;
height: 57px;
-moz-transform: rotate(145deg) skew(22.5deg);
-webkit-transform: rotate(145deg) skew(22.5deg);
transform: rotate(145deg) skew(22.5deg);
}
.hexagon:before {
top: -29px;
}
.hexagon:after {
top: 27px;
}
.hexagon span {
position: absolute;
top: 0;
left: 0;
width: 100px;
height: 55px;
background:red;</code><p>&#8230;</p><br /><p><a rel="nofollow" target="_blank" href="http://rss.buysellads.com/click.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9832&#38;c=1283037040"><img src="http://rss.buysellads.com/img.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9832&#38;c=1283037040" border="0" alt="" /></a></p><p><a rel="nofollow" target="_blank" href="http://buysellads.com/buy/sitedetails/pubkey/3469a2a501a9e18091036aa0c89f9dcb/zone/1259963">Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<pre><code>&lt;div class="hexagon"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;</code></pre><pre><code>.hexagon { width: 100px; height: 55px; position: relative;
}
.hexagon, .hexagon:before, .hexagon:after { background: red; -moz-box-shadow: 0 0 10px rgba(0,0,0,0.8); -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.8); box-shadow: 0 0 10px rgba(0,0,0,0.8);
}
.hexagon:before, .hexagon:after { content: ""; position: absolute; left: 22px; width: 57px; height: 57px; -moz-transform: rotate(145deg) skew(22.5deg); -webkit-transform: rotate(145deg) skew(22.5deg); transform: rotate(145deg) skew(22.5deg);
}
.hexagon:before { top: -29px;
}
.hexagon:after { top: 27px;
}
.hexagon span { position: absolute; top: 0; left: 0; width: 100px; height: 55px; background:red; z-index: 1;
}</code></pre><img src="http://feeds.feedburner.com/~r/CSS-TricksSnippets/~4/aRE3SZ4Prwc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/hexagon-with-shadow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diagonal Graph Paper Gradient</title>
		<link>http://programatori.info/blog/2011/06/diagonal-graph-paper-gradient/</link>
		<comments>http://programatori.info/blog/2011/06/diagonal-graph-paper-gradient/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 23:10:18 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://css-tricks.com/?page_id=9825</guid>
		<description><![CDATA[<code>#example-gradient {
height: 200px;
margin: 0 0 20px 0;
background-color: #eaeaea;
background-size: 20px 20px;
background-image:
-webkit-repeating-linear-gradient(45deg, rgba(0, 191, 255, .5), rgba(0, 191, 255, .5) 1px, transparent 1px, transparent 15px),
-webkit-repeating-linear-gradient(-45deg, rgba(255, 105, 180, .5), rgba(255, 105, 180, .5) 1px, transparent 1px, transparent 15px);
background-image:
-moz-repeating-linear-gradient(45deg, rgba(0, 191, 255, .5), rgba(0, 191, 255, .5) 1px, transparent 1px, transparent 15px),
-moz-repeating-linear-gradient(-45deg, rgba(255, 105, 180, .5), rgba(255, 105, 180, .5) 1px, transparent 1px, transparent 15px);
background-image:
-o-repeating-linear-gradient(45deg, rgba(0, 191, 255, .5), rgba(0, 191,</code><p>&#8230;</p><br /><p><a rel="nofollow" target="_blank" href="http://rss.buysellads.com/click.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9825&#38;c=748295852"><img src="http://rss.buysellads.com/img.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9825&#38;c=748295852" border="0" alt="" /></a></p><p><a rel="nofollow" target="_blank" href="http://buysellads.com/buy/sitedetails/pubkey/3469a2a501a9e18091036aa0c89f9dcb/zone/1259963">Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<pre><code>#example-gradient { height: 200px; margin: 0 0 20px 0; background-color: #eaeaea; background-size: 20px 20px; background-image: -webkit-repeating-linear-gradient(45deg, rgba(0, 191, 255, .5), rgba(0, 191, 255, .5) 1px, transparent 1px, transparent 15px), -webkit-repeating-linear-gradient(-45deg, rgba(255, 105, 180, .5), rgba(255, 105, 180, .5) 1px, transparent 1px, transparent 15px); background-image: -moz-repeating-linear-gradient(45deg, rgba(0, 191, 255, .5), rgba(0, 191, 255, .5) 1px, transparent 1px, transparent 15px), -moz-repeating-linear-gradient(-45deg, rgba(255, 105, 180, .5), rgba(255, 105, 180, .5) 1px, transparent 1px, transparent 15px); background-image: -o-repeating-linear-gradient(45deg, rgba(0, 191, 255, .5), rgba(0, 191, 255, .5) 1px, transparent 1px, transparent 15px), -o-repeating-linear-gradient(-45deg, rgba(255, 105, 180, .5), rgba(255, 105, 180, .5) 1px, transparent 1px, transparent 15px); background-image: repeating-linear-gradient(45deg, rgba(0, 191, 255, .5), rgba(0, 191, 255, .5) 1px, transparent 1px, transparent 15px), repeating-linear-gradient(-45deg, rgba(255, 105, 180, .5), rgba(255, 105, 180, .5) 1px, transparent 1px, transparent 15px);
}</code></pre><h4>Example</h4><div
 id="example-gradient"></div><p>Based on original code from Christopher Burton.</p><img src="http://feeds.feedburner.com/~r/CSS-TricksSnippets/~4/QIRarQ-vmF4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/diagonal-graph-paper-gradient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make jQuery :contains Case-Insensitive</title>
		<link>http://programatori.info/blog/2011/06/make-jquery-contains-case-insensitive/</link>
		<comments>http://programatori.info/blog/2011/06/make-jquery-contains-case-insensitive/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 20:01:28 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://css-tricks.com/?page_id=9742</guid>
		<description><![CDATA[<code>jQuery.expr[':'].Contains = function(a, i, m) {
return jQuery(a).text().toUpperCase()
.indexOf(m[3].toUpperCase()) &#062;= 0;
};
jQuery.expr[':'].contains = function(a, i, m) {
return jQuery(a).text().toUpperCase()
.indexOf(m[3].toUpperCase()) &#062;= 0;
};</code><p>With this in place,</p> <code>$("div:contains('John')")</code><p>would select all three of these elements:</p> <code>&#060;div&#062;john&#060;/div&#062;
&#060;div&#062;John&#060;/div&#062;
&#060;div&#062;hey hey JOHN hey hey&#060;/div&#062;</code><p><a rel="nofollow" target="_blank" href="http://jsbin.com/otipe4">Demo</a> via Pablo Fortes.</p> <br /><p><a rel="nofollow" target="_blank" href="http://rss.buysellads.com/click.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9742&#38;c=673046973"><img src="http://rss.buysellads.com/img.php?z=1259963&#38;k=3469a2a501a9e18091036aa0c89f9dcb&#38;a=9742&#38;c=673046973" border="0" alt="" /></a></p><p><a rel="nofollow" target="_blank" href="http://buysellads.com/buy/sitedetails/pubkey/3469a2a501a9e18091036aa0c89f9dcb/zone/1259963">Advertise here with BSA</a></p>]]></description>
			<content:encoded><![CDATA[<pre><code>jQuery.expr[':'].Contains = function(a, i, m) { return jQuery(a).text().toUpperCase() .indexOf(m[3].toUpperCase()) &gt;= 0;
};
jQuery.expr[':'].contains = function(a, i, m) { return jQuery(a).text().toUpperCase() .indexOf(m[3].toUpperCase()) &gt;= 0;
};</code></pre><p>With this in place,</p><pre><code>$("div:contains('John')")</code></pre><p>would select all three of these elements:</p><pre><code>&lt;div&gt;john&lt;/div&gt;
&lt;div&gt;John&lt;/div&gt;
&lt;div&gt;hey hey JOHN hey hey&lt;/div&gt;</code></pre><p><a rel="nofollow"
  href="http://jsbin.com/otipe4">Demo</a> via Pablo Fortes.</p><img src="http://feeds.feedburner.com/~r/CSS-TricksSnippets/~4/6Ns_TUwKFDo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/make-jquery-contains-case-insensitive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code injection, error throwing</title>
		<link>http://programatori.info/blog/2011/06/code-injection-error-throwing/</link>
		<comments>http://programatori.info/blog/2011/06/code-injection-error-throwing/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 03:01:12 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Front Page]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://ajaxian.com/?p=10673</guid>
		<description><![CDATA[In a blog, Opera Software Developer Relations team member Tiffany B. Brown looks at code injection, error throwing and handling and mobile debugging. She notes Opera Dragonfly and its remote debug features provide a way to debug mobile sites from their desktop. Brown mentions WebKit&#8217;s recently added remote debugging capabilities, folded into Google Chrome developer <a href="http://ajaxian.com/archives/code-injection-error-throwing">Read the rest...</a>]]></description>
			<content:encoded><![CDATA[<p>In a blog, Opera Software Developer Relations team member Tiffany B. Brown looks at <a href="http://www.alistapart.com/articles/modern-debugging-tips-and-tricks/">code injection, error throwing and handling and mobile debugging.</a> She notes Opera Dragonfly and its remote debug features provide a way to debug mobile sites from their desktop. Brown mentions WebKit&#8217;s recently added remote debugging capabilities, folded into Google Chrome developer tools. Pointed to as well are Bugaboo, an iOS app for Safari-based debugging; JS Console which is available on the Web or as an iOS app; and Weinre for WebKit-based browsers. In this entry, Brown looks more closely at Dragonfly remote debug and JSConsole.</p>
<p> </p>
<p> </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ajaxian?a=XoRuVQdcKAk:6fze09zb6qw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ajaxian?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ajaxian?a=XoRuVQdcKAk:6fze09zb6qw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/ajaxian?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ajaxian?a=XoRuVQdcKAk:6fze09zb6qw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ajaxian?i=XoRuVQdcKAk:6fze09zb6qw:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/code-injection-error-throwing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The State – Sort of – of HTML5 Audio</title>
		<link>http://programatori.info/blog/2011/06/the-state-%e2%80%93-sort-of-%e2%80%93-of-html5-audio/</link>
		<comments>http://programatori.info/blog/2011/06/the-state-%e2%80%93-sort-of-%e2%80%93-of-html5-audio/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 02:17:34 +0000</pubDate>
		<dc:creator>Web Design CLuj</dc:creator>
				<category><![CDATA[Front Page]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[WEB 2.0]]></category>

		<guid isPermaLink="false">http://ajaxian.com/?p=10671</guid>
		<description><![CDATA[The State &#8211; Sort of &#8211; of HTML5 Audio
Scott Schiller discusses the high level of hype around HTML5 and CSS3. The two specs render &#8221;many years of feature hacks redundant by replacing them with native features,&#8221; he writes in an insightful blog.
Blogging, he says:
CSS3’s border-radius, box-shadow, text-shadow and gradients, and HTML5’s &#060;canvas&#062;, &#060;audio&#062; and &#060;video&#062; <a href="http://ajaxian.com/archives/the-state-sort-of-of-html5-audio">Read the rest...</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://24ways.org/2010/the-state-of-html5-audio"></a></p>
<p>The State &#8211; Sort of &#8211; of HTML5 Audio</p>
<p>Scott Schiller discusses the high level of hype around HTML5 and CSS3. The two specs render &#8221;many years of feature hacks redundant by replacing them with native features,&#8221; he writes in an <a href="http://24ways.org/2010/the-state-of-html5-audio">insightful blog</a>.</p>
<p>Blogging, he says:</p>
<blockquote><p>CSS3’s border-radius, box-shadow, text-shadow and gradients, and HTML5’s &lt;canvas&gt;, &lt;audio&gt; and &lt;video&gt; are some of the most anticipated features we’ll see put to creative (ab)use as adoption of the ‘new shiny’ grows. Developers jumping on the cutting edge are using subsets of these features to little detriment, in most cases. The more popular CSS features are design flourishes that can degrade nicely, but the current audio and video implementations in particular suffer from a number of annoyances.</p>
</blockquote>
<p>He begs the question: Are we going to see a common format across the major browsers for both audio and video?</p>
<p><a href="http://24ways.org/2010/the-state-of-html5-audio">Check it out!</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ajaxian?a=XsiAhwWiFKU:63_3kXbn_2w:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ajaxian?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ajaxian?a=XsiAhwWiFKU:63_3kXbn_2w:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/ajaxian?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ajaxian?a=XsiAhwWiFKU:63_3kXbn_2w:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ajaxian?i=XsiAhwWiFKU:63_3kXbn_2w:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://programatori.info/blog/2011/06/the-state-%e2%80%93-sort-of-%e2%80%93-of-html5-audio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

