<?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>Dylan Butler » San Diego Freelance Web Development and Consultation &#187; yahoo</title>
	<atom:link href="http://www.dylanbutler.com/tag/yahoo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dylanbutler.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 09 Aug 2010 16:31:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Simple drop-downs using YAHOO.util.Dom.isAncestor</title>
		<link>http://www.dylanbutler.com/2009/05/simple-drop-downs-using-yahooutildomisancestor/</link>
		<comments>http://www.dylanbutler.com/2009/05/simple-drop-downs-using-yahooutildomisancestor/#comments</comments>
		<pubDate>Sat, 02 May 2009 17:03:01 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[drop down]]></category>
		<category><![CDATA[isancestor]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[yahoo]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://www.dylanbutler.com/?p=109</guid>
		<description><![CDATA[The Yahoo! User Interface Library (YUI) has a bunch of very nifty little methods to make complex tasks easier. One that immediately stood out to me was isAncestor, as I can attest first-hand to the cross-browser troubles when trying to &#8230; <a href="http://www.dylanbutler.com/2009/05/simple-drop-downs-using-yahooutildomisancestor/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Yahoo! User Interface Library (YUI) has a bunch of very nifty little methods to make complex tasks easier. One that immediately stood out to me was isAncestor, as I can attest first-hand to the cross-browser troubles when trying to detect ancestry in the DOM. Although a very basic concept, most drop-down code often becomes bloated or restrictive. I&#8217;m not advocating the use of JavaScript drop-downs over a CSS method, but there are some added benefits of using JS to achieve this effect:</p>
<ol>
<li>Clean markup, no need for conditional comments</li>
<li>The ability to animate show and hide events</li>
<li>Added styling opportunities, won&#8217;t break so long as the nested list structure remains in tact</li>
</ol>
<p>Below is a simple example of how to use YUI&#8217;s isAncestor to create flyout menus with HTML and CSS.</p>
<pre class="prettyprint">(function() {
	function mouseover(e) {
		var menu = this.getElementsByTagName('ul')[0];
		YAHOO.util.Dom.setStyle(menu, 'display', 'block');
	};

	function mouseout(e) {
		if (!YAHOO.util.Dom.isAncestor(this, e.relatedTarget) || e.relatedTarget == document.getElementsByTagName('html')[0]) {
			var menu = this.getElementsByTagName('ul')[0];
			YAHOO.util.Dom.setStyle(menu, 'display', 'none');
		}
	};
	YAHOO.util.Event.on(YAHOO.util.Dom.get('nav').getElementsByTagName('li'), 'mouseover', mouseover);
	YAHOO.util.Event.on(YAHOO.util.Dom.get('nav').getElementsByTagName('li'), 'mouseout', mouseout);
})();</pre>
<p><a href="/classwork/random/yui_dropdowns.htm">See Example »</a></p>
<p>If you need something more complex, see the <a href="/2008/08/yui-generic-showhide-code/">YUI MenuCreator</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dylanbutler.com/2009/05/simple-drop-downs-using-yahooutildomisancestor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Fast Websites</title>
		<link>http://www.dylanbutler.com/2009/02/design-fast-websites/</link>
		<comments>http://www.dylanbutler.com/2009/02/design-fast-websites/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 07:05:10 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[yahoo]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://www.dylanbutler.com/?p=80</guid>
		<description><![CDATA[All you designers might not agree with her, but she speaks the truth! Nicole Sullivan: &#34;Design Fast Websites&#34; @ Yahoo! Video]]></description>
			<content:encoded><![CDATA[<p>All you designers might not agree with her, but she speaks the truth!<br />
<span id="more-80"></span></p>
<div><object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.34" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=11192533&#038;vid=4156174&#038;lang=en-us&#038;intl=us&#038;thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/videosearch/6581/77038678.jpeg&#038;embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.34" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=11192533&#038;vid=4156174&#038;lang=en-us&#038;intl=us&#038;thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/videosearch/6581/77038678.jpeg&#038;embed=1" ></embed></object><br /><a href="http://video.yahoo.com/watch/4156174/11192533">Nicole Sullivan: &quot;Design Fast Websites&quot;</a> @ <a href="http://video.yahoo.com" >Yahoo! Video</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dylanbutler.com/2009/02/design-fast-websites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft, Google, and Yahoo come together for global identity protection</title>
		<link>http://www.dylanbutler.com/2008/10/microsoft-google-and-yahoo-come-together-for-global-identity-protection/</link>
		<comments>http://www.dylanbutler.com/2008/10/microsoft-google-and-yahoo-come-together-for-global-identity-protection/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 06:25:26 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Law]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.dylanbutler.com/?p=72</guid>
		<description><![CDATA[The three internet giants Microsoft, Yahoo, and Google are joining together by agreeing to a common set of principles concerning conducting business with nations that restrict free speech and expression. They are basically trying to protect people&#8217;s information overseas with &#8230; <a href="http://www.dylanbutler.com/2008/10/microsoft-google-and-yahoo-come-together-for-global-identity-protection/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The three internet giants Microsoft, Yahoo, and Google are joining together by agreeing to a common set of principles concerning conducting business with nations that restrict free speech and expression. They are basically trying to protect people&#8217;s information overseas with oppressive governments. I was interested to learn that the Human Rights First and Committee to Protect Journalists and nonprofits the Center for Democracy and Technology and Business for Social Responsibility took part in the formation of this humbly crafted entity known as the Global Network Initiative. What I found troubling was the lack of specific implications and obligations pertaining to these companies. Some other points of interest are the restrictions on citizenship and how that plays into this decision making. I would also like to hear the <a href="http://www.usdoj.gov/criminal/cybercrime/">CCIPS</a> chime in.</p>
<blockquote><p>At least one human rights organization that didn&#8217;t sign onto the plan said it doesn&#8217;t go far enough. &#8220;More serious questions have to be asked about these company&#8217;s legal obligations,&#8221; said Morton Sklar, executive director of the World Organization for Human Rights USA. For instance, he said he would have liked the document to address whether Internet companies are violating U.S. or international laws by complying with requests from certain governments.</p></blockquote>
<p><a href="http://online.wsj.com/article/SB122516304001675051.html?mod=googlenews_wsj">Read More &raquo;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dylanbutler.com/2008/10/microsoft-google-and-yahoo-come-together-for-global-identity-protection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
