<?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>American Butifarra &#187; jQuery</title> <atom:link href="http://claude.betancourt.us/tag/jquery/feed/" rel="self" type="application/rss+xml" /><link>http://claude.betancourt.us</link> <description>Claude Betancourt&#039;s Personal Blog</description> <lastBuildDate>Fri, 16 Dec 2011 02:43:25 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>YouTube HD-fier Script</title><link>http://claude.betancourt.us/youtube-hd-fier-greasemonkey-script/</link> <comments>http://claude.betancourt.us/youtube-hd-fier-greasemonkey-script/#comments</comments> <pubDate>Tue, 02 Jun 2009 14:44:33 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[Video]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[greasemonkey]]></category> <category><![CDATA[YouTube]]></category><guid isPermaLink="false">http://claude.betancourt.us/?p=607</guid> <description><![CDATA[This grease monkey script enables HD, when available, for any links on the YouTube Homepage, My Videos &#038; My Favorites. <a href="http://claude.betancourt.us/youtube-hd-fier-greasemonkey-script/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><span class="drop_cap">I</span> wasn&#8217;t too happy having to click on the HD button of a video in order to view it in high resolution, so I whipped up <a href="http://userscripts.org/scripts/show/50711"><strong>this little grease monkey script</strong></a>. It simply enables HD, when available, for any links on the YouTube Homepage, My Videos &#038; My Favorites.</p><p><span id="more-607"></span></p><p>Feel free to improve it, and leave a comment if you find it useful.</p><p><a href="http://userscripts.org/scripts/show/50711"><strong>Install</strong></a></p><pre class="brush: jscript; title: ; notranslate">
// ==UserScript==
// @name			YouTube HD-fier
// @version			1.0.0
// @namespace		http://claude.betancourt.us/greasemonkey/youtube/hdfier/1.0.0
// @description		Modifies links to enable HD, when available.
// @include			http://www.youtube.com/*
// @license			(CC) Attribution Non-Commercial Share Alike; http://creativecommons.org/licenses/by-nc-sa/3.0/
// ==/UserScript==

// Add jQuery
var GM_jQuery = document.createElement('script');
GM_jQuery.src = 'http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js';
GM_jQuery.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GM_jQuery);

// Wait until jQuery has loaded
function GM_wait() {
    if( typeof unsafeWindow.jQuery == 'undefined' ) {
        window.setTimeout(GM_wait,100);
    } else {
        $ = unsafeWindow.jQuery;
        GM_ready();
    }
}
GM_wait();

// Once document and jQuery are loaded
function GM_ready() {

	var selectors = [
		'.video-short-title a',
		'.video-mini-title a',
		'.clipper a'
	];

	HDify(selectors);

}

function HDify(selectors) {
	try {
		$.each(selectors,function(i,s){
			var l = $(s);
			$.each(l, function(i,a){
				a.href += '&amp;amp;fmt=18';
			});
		});
	} catch(e){}
}
</pre>]]></content:encoded> <wfw:commentRss>http://claude.betancourt.us/youtube-hd-fier-greasemonkey-script/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Microsoft and Nokia to use jQuery</title><link>http://claude.betancourt.us/microsoft-and-nokia-to-use-jquery/</link> <comments>http://claude.betancourt.us/microsoft-and-nokia-to-use-jquery/#comments</comments> <pubDate>Sun, 28 Sep 2008 18:52:53 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[Framework]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Nokia]]></category><guid isPermaLink="false">http://claude.betancourt.us/?p=134</guid> <description><![CDATA[This morning during the state of jQuery, John Resig announced that Nokia will be including jQuery as the framework of choice with their new equipment. And Scott Guthrie of Microsoft just made a similar announcement, Visual Studio will ship with jQuery support. <a href="http://claude.betancourt.us/microsoft-and-nokia-to-use-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><span class="drop_cap">T</span>his morning during the state of jQuery, <a href="http://jquery.com/blog/2008/09/28/jquery-microsoft-nokia/">John Resig announced</a> that Nokia will be including jQuery as the framework of choice with their new equipment. And Scott Guthrie of Microsoft just made a <a href="http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx">similar announcement</a>, Visual Studio will ship with jQuery support.</p> ]]></content:encoded> <wfw:commentRss>http://claude.betancourt.us/microsoft-and-nokia-to-use-jquery/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Creating an Apple Style Menu with Animation</title><link>http://claude.betancourt.us/create-apple-style-top-navigation/</link> <comments>http://claude.betancourt.us/create-apple-style-top-navigation/#comments</comments> <pubDate>Mon, 28 Jul 2008 22:23:29 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[How-To]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Apple]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[Photoshop]]></category> <category><![CDATA[Sprites]]></category><guid isPermaLink="false">http://claude.betancourt.us/blog/?p=107</guid> <description><![CDATA[Kriesi Budschedl has posted a very detailed tutorial to help you build your own Apple.com style menu and adds a nice touch by animating it. <a href="http://claude.betancourt.us/create-apple-style-top-navigation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><span class="drop_cap">K</span>riesi Budschedl has <a href="http://www.kriesi.at/archives/apple-menu-improved-with-jquery"><b>posted a very detailed tutorial</b></a> to help you build your own Apple.com style menu and adds a nice touch by animating it.</p><p><img class="alignleft frame" src="/images/blog/assets/tutorial-kwicks-home.jpg?2ce803" border="0" /></p><p>To construct the basic menu, Kriesi takes advantage of <a href="http://www.alistapart.com/articles/sprites" title="CSS Sprites: Image Slicing's Kiss of Death">CSS Sprites</a>, a technique to reduce the number of image files necessary to accomplish things like rollovers, without the need to preload the images using JavaScript.</p><p>A single image contains all the navigation menu options in their normal and active states and CSS rules are used to move the appropriate menu option into view. Once the basic menu is working, animation is added by using <a href="http://www.jeremymartin.name/projects.php?project=kwicks">Kwicks for jQuery</a>, a plugin written by Jerry Martin, resulting in the <a href="http://www.kriesi.at/wp-content/extra_data/kwicks_tutorial/kwicks_final.html">final product seen here</a>.</p><p><a href="http://www.kriesi.at/wp-content/extra_data/kwicks_tutorial/kwicks_final.html" title="Final product"><img class="aligncenter" src="/images/blog/assets/tutorial-kwicks-working-menu.png?2ce803" border="0" /></a></p> ]]></content:encoded> <wfw:commentRss>http://claude.betancourt.us/create-apple-style-top-navigation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: claude.betancourt.us @ 2012-02-07 14:38:51 by W3 Total Cache -->
