<?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>SimianLogic Studios &#187; yui</title>
	<atom:link href="http://www.simianlogicstudios.com/tag/yui/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simianlogicstudios.com</link>
	<description>indie game developer, web tinkerer, and transplanted Southerner living in Silicon Valley</description>
	<lastBuildDate>Thu, 18 Feb 2010 16:38:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>YUI Not-Tabs</title>
		<link>http://www.simianlogicstudios.com/2007/10/30/yui-not-tabs/</link>
		<comments>http://www.simianlogicstudios.com/2007/10/30/yui-not-tabs/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 00:17:03 +0000</pubDate>
		<dc:creator>SimianLogic</dc:creator>
				<category><![CDATA[usability]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://simianlogic3d.com/blog/2007/10/30/yui-not-tabs/</guid>
		<description><![CDATA[Unfortunately, the Flex RTE has been back-burnered for a bit while I work on more pressing things at work.  I&#8217;m currently using YUI&#8217;s tabs for something, but don&#8217;t really like them&#8230;  So I&#8217;ve been tinkering around with an alternate tab-like interface.  The concept is somewhere in between tabs and an accordion structure. [...]]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, the Flex RTE has been back-burnered for a bit while I work on more pressing things at work.  I&#8217;m currently using YUI&#8217;s tabs for something, but don&#8217;t really like them&#8230;  So I&#8217;ve been tinkering around with an alternate tab-like interface.  The concept is somewhere in between tabs and an accordion structure.  Basically, we&#8217;ve got lots of text boxes.  Rather than make our users choose which one they want to display, I want all of them to start out in a blog-like &#8220;preview&#8221; mode.  Clicking &#8220;more&#8221; would expand that one box while shrinking the others.  Clicking &#8220;back&#8221; (or an icon) would take you back to the multiple-pane view.  I guess this is more of a tree-like data structure than true tabs or accordians.<span id="more-50"></span></p>
<p>Using some more basic YUI components (I actually like their simple pieces a lot better than the complex components, as skinning them is a bit of an undertaking if you don&#8217;t want them to look YUI-like), I whipped up the two easiest examples of this I could think of: a 2&#215;2 pane and a 4&#215;1 pane:</p>
<p align="center"><iframe width="420" height="420" src="http://simianlogic3d.com/fun/yui/notTabs/index.html">If your browser does not support iFrames, head on over to &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;a xhref=&#8221;http://simianlogic3d.com/fun/yui/notTabs/index.html&#8221; mce_href=&#8221;http://simianlogic3d.com/fun/yui/notTabs/index.html&#8221;              target=&#8221;_blank&#8221;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;the demo page&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; to see this.</iframe></p>
<p align="center"><iframe width="840" height="220" style="position: relative; left: -175px" src="http://simianlogic3d.com/fun/yui/notTabs/index2.html">If your browser does not support iframes, head on over to &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;a xhref=&#8221;http://simianlogic3d.com/fun/yui/notTabs/index.html&#8221; mce_href=&#8221;http://simianlogic3d.com/fun/yui/notTabs/index.html&#8221;          target=&#8221;_blank&#8221;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;the second demo page&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; to check it out.</iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simianlogicstudios.com/2007/10/30/yui-not-tabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YUI + SWFobject: Play Nice!</title>
		<link>http://www.simianlogicstudios.com/2007/09/05/yui-swfobject-play-nice/</link>
		<comments>http://www.simianlogicstudios.com/2007/09/05/yui-swfobject-play-nice/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 17:26:02 +0000</pubDate>
		<dc:creator>SimianLogic</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://simianlogic3d.com/blog/2007/09/05/yui-swfobject-play-nice/</guid>
		<description><![CDATA[I found a bevy of links explaining why you had to set an embedded SWF&#8217;s wmode property to either &#8220;opaque&#8221; or &#8220;transparent&#8221; to get a div placed on top of it to show properly, but yesterday at work I was experiencing another strange error.  First, the setup:  on one of our pages, we&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>I found a bevy of links explaining why you had to set an embedded SWF&#8217;s wmode property to either &#8220;opaque&#8221; or &#8220;transparent&#8221; to get a div placed on top of it to show properly, but yesterday at work I was experiencing another strange error.  First, the setup:  on one of our pages, we&#8217;ve got a pretty prominent SWF taking up the majority of the page (embedded in a div via SWFobject).  Below the SWF is some text and a few places for user-entered data.  Rather than linking away from the SWF page, my goal yesterday was to AJAXify everything and keep it all one one page.  Since we were already using the YUI Rich Text Editor elsewhere, I decided to give their dialog code a shot.  It worked just as expected, with one&#8230;major&#8230;snag.  <span id="more-37"></span>Every time you close a dialog (either through a submit, cancel, or clicking on the little &#8220;x&#8221; that it sticks on them), the dialog would disappear.  And it would take the swf with it.  Okay, really, it would take the SWF&#8217;s container div with it.  I&#8217;m  pretty sure this is some kind of weird z-order thing (though the SWF was set to z-order of zero and the YUI dialog had a z-order of 1) orchestrated by the YUI code on top of the in-place markup, but it was kind of a pain.  I knew the content was still there,  though, because if I scrolled the page <em>juuuuust so</em>, the swf would appear for a moment.</p>
<p>Another oddity: one of the &#8220;popup&#8221; dialogs displayed a history of changes.  Because this was the piece of data I&#8217;ve been using to test for the last few weeks, there was a LOOOT of history (scroll-bars, coming soon to a page near you).  When the dialogs opened for the first time, the page would grow to accommodate the new dialog.  When the dialogs closed, though, the page would remain &#8220;stretched out.&#8221;  Which means that somewhere in the YUI code, they&#8217;re not actually removing the content when you close the dialog&#8211;they&#8217;re merely obfuscating the contents somehow.  Rather than read through several hundred lines of YUI javascript, I did a test.</p>
<p>The YUI dialogs make use of a div with an id of &#8220;hd&#8221; for the header and &#8220;bd&#8221; for they body.  The header is only a line, so it wasn&#8217;t worth fussing with.  Using the YUI custom event model, I added some code to listen for the cancel/submit/hide calls and take the extra step of setting the &#8220;bd&#8221; div&#8217;s CSS style to &#8220;display:none&#8221;.  Blammo.  Everything works fine.  The page shrinks back down to its proper proportion and&#8211;wonder of wonders&#8211;the SWF div stays visible and on top.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simianlogicstudios.com/2007/09/05/yui-swfobject-play-nice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
