<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Electronic Dogbone</title>
	<atom:link href="http://electronicdogbone.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://electronicdogbone.wordpress.com</link>
	<description>A blog about Jelsan&#039;s forays into tech. Stories and problem solving sessions. Sometimes with pictures!</description>
	<lastBuildDate>Wed, 30 Nov 2011 12:56:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='electronicdogbone.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Electronic Dogbone</title>
		<link>http://electronicdogbone.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://electronicdogbone.wordpress.com/osd.xml" title="Electronic Dogbone" />
	<atom:link rel='hub' href='http://electronicdogbone.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Html Hell Week: D-Day + 1</title>
		<link>http://electronicdogbone.wordpress.com/2011/11/27/html-hell-week-d-day-1/</link>
		<comments>http://electronicdogbone.wordpress.com/2011/11/27/html-hell-week-d-day-1/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 12:29:05 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://electronicdogbone.wordpress.com/?p=174</guid>
		<description><![CDATA[Aww. Due to a technicality (I had a medical emergency which involved eight injections. Ouch.), I flunked Hell Week. And interestingly, (a sign, perhaps?) B was not available for the toy run-slash-code meet that was to follow the test. But since now I had the opportunity to continue, I shall do so. Here, after a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=174&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Aww.</em></p>
<p>Due to a technicality (I had a medical emergency which involved eight injections. Ouch.), I flunked Hell Week. And interestingly, (a sign, perhaps?) B was not available for the toy run-slash-code meet that was to follow the test. But since now I had the opportunity to continue, I shall do so.</p>
<p>Here, after a few width and text properties on the header section, plus a few border sections on the main content area, we see more similarities. (For the pic of the original layout, I direct you <a title="The image of original layout" href="http://electronicdogbone.files.wordpress.com/2011/11/original_layout.jpg" target="_blank">here.</a>)</p>
<div id="attachment_176" class="wp-caption aligncenter" style="width: 586px"><a href="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc2.jpg"><img class="size-full wp-image-176" title="Hellweek Layout Screen 2" src="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc2.jpg?w=600" alt="Hellweek Layout Screen 2"   /></a><p class="wp-caption-text">The Header and Main Content Area are now aligned.</p></div>
<p>When the header was finished, it became easier to line up the main content by gradually increasing the negative margin and testing. I wish I could peek at the original values I typed in the first layout but it&#8217;s not allowed in the rules. (Of course, you may suggest that I take the measurement using other means&#8230;)</p>
<p>Now we continue on towards the sidebar elements.<br />
The elements sit inside a &#8220;sidebar-wrapper&#8221; of sorts, and then they are arranged by floats inside the wrapper to look like so:</p>
<div id="attachment_175" class="wp-caption aligncenter" style="width: 586px"><a href="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc3.jpg"><img class="size-full wp-image-175" title="Hell Week Layout Screen 3" src="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc3.jpg?w=600" alt="Hell Week Layout Screen 3"   /></a><p class="wp-caption-text">Now the sidebar elements are lined-up and styled. But there&#039;s a gap!</p></div>
<p>As you can see with this progress shot, the basic shape is almost finished. There is a big gaping problem of the border of the main content not reaching the end of the page(if the sidebar were to be shorter, the reverse would happen). This is, as I have mentioned before, is because divs do not expand beyond the content(and padding). The flanking sidebar trick by Craig Granell in his book Essential Guide to CSS and Html Web Design can be <em>adapted</em> to help solve this problem. A bit of tweaking on the respective divs&#8217; <em>padding-bottom, margin-bottom</em> and the <em>overflow</em> of the parent container, and we have:</p>
<div id="attachment_178" class="wp-caption aligncenter" style="width: 586px"><a href="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc4.jpg"><img class="size-full wp-image-178" title="Hellweek Layout Screen 4" src="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc4.jpg?w=600" alt="Hellweek Layout Screen 4"   /></a><p class="wp-caption-text">Now the main content is stretched down, and the borders are not broken.</p></div>
<p>This trick of course, just ensures that the two columns, sidebar and main content, match up to which one is the longest. If both are short, the layout will still collapse. I had to add a min-height value to the layout&#8217;s primary wrapper to prevent a collapse beyond the bottom of the navigation menu. Here is what it looks if I blank out the main content and sidebar areas:</p>
<div id="attachment_179" class="wp-caption aligncenter" style="width: 586px"><a href="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc5.jpg"><img class="size-full wp-image-179" title="Hellweek Layout Screen 5" src="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc5.jpg?w=600" alt="Hellweek Layout Screen 5"   /></a><p class="wp-caption-text">This is what it looks like when empty. Min-height prevents layout from collapsing too much.</p></div>
<h2>Aftermath</h2>
<p>Other a few quirks on the font sizes and whatnot (I&#8217;m still not satisfied with them, and will still be replaced further on), I have managed to emulate my old layout. If I had worked on Hell Week as I was supposed to, I should have been able to finish the challenge by day 2, (or day 1 if I had worked longer).<br />
Lessons learned? Well, B was right on the crutch thing. I had difficulty recalling the properties I used while making the original layout. I&#8217;ll probably skip using WYSIWYG (even the coding mode, which is what I use in there) on the foreseeable future, except for cases when time is of the essence.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=174&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2011/11/27/html-hell-week-d-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc2.jpg" medium="image">
			<media:title type="html">Hellweek Layout Screen 2</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc3.jpg" medium="image">
			<media:title type="html">Hell Week Layout Screen 3</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc4.jpg" medium="image">
			<media:title type="html">Hellweek Layout Screen 4</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc5.jpg" medium="image">
			<media:title type="html">Hellweek Layout Screen 5</media:title>
		</media:content>
	</item>
		<item>
		<title>Html Hell Week: Day One</title>
		<link>http://electronicdogbone.wordpress.com/2011/11/21/html-hell-week-day-one/</link>
		<comments>http://electronicdogbone.wordpress.com/2011/11/21/html-hell-week-day-one/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 15:12:55 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://electronicdogbone.wordpress.com/?p=159</guid>
		<description><![CDATA[Introduction To recap  the story from before&#8230; The challenge was to recreate a layout I made without resorting to a WYSIWYG application (specifically, its context-sensitive prompts in the coding mode). This is what it looks like. The logs The following is a series of notes periodically typed in while I was working, which is why [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=159&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>To recap  the story from <a title="Html Hell Week Day Zero" href="http://electronicdogbone.wordpress.com/2011/11/20/html-hell-week-day-zero/">before&#8230;</a></p>
<p>The challenge was to recreate a layout I made without resorting to a WYSIWYG application (specifically, its context-sensitive prompts in the coding mode).</p>
<p>This is what it looks like.</p>
<div id="attachment_162" class="wp-caption aligncenter" style="width: 586px"><a href="http://electronicdogbone.files.wordpress.com/2011/11/original_layout.jpg"><img class="size-full wp-image-162" title="The Pre-Hell Week Layout" src="http://electronicdogbone.files.wordpress.com/2011/11/original_layout.jpg?w=600" alt="The Pre-Hell Week Layout"   /></a><p class="wp-caption-text">The original.</p></div>
<h2>The logs</h2>
<p>The following is a series of notes periodically typed in while I was working, which is why they feel disjointed.</p>
<p><strong>3:15 pm</strong><br />
Late start. Exceptionally hot weather, electric fans on high and mentholated sugar-free gum to keep me in focus, check.</p>
<p>Okay. Layout is composed of divs representing sections of the site, plus a wrapper(fixed width design). CSS handles the layout&#8217;s positioning.</p>
<p>The coding of the divs went smoother than expected, since I still remember what I did beforehand.</p>
<p>&#8230;although I missed a few closing tags on the first code-in, a cursory glance revealed two mistakes, fixed. I kinda hate it that B was right that the auto-closing of tags is pampering me of sorts.</p>
<p>Okay, so after coding the layout and adding filler content, went to<a title="W3C Markup Validator" href="http://validator.w3.org/#validate-by-input" target="_blank"> W3C markup validation service</a> and tried out my stuff.</p>
<p>I had to refer to a document to completely add the doctype and character encoding declaration (I hope B will cut some slack on this one). But, the result passed as XHTML Strict, with one warning:<em> &#8220;Info Using Direct Input mode: UTF-8 character encoding assumed&#8221;</em>. This is most likely because I copy-pasted the code into the direct input validation box.</p>
<p>The barebones XHTML is done, with divs properly ided to their respective duties.</p>
<p>Btw, style-less, the layout looks like:</p>
<div id="attachment_164" class="wp-caption aligncenter" style="width: 586px"><a href="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_nostyle.jpg"><img class="size-full wp-image-164" title="Hellweek Layout - Html Only" src="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_nostyle.jpg?w=600" alt="Hellweek Layout - Html Only"   /></a><p class="wp-caption-text">Still unstyled. This is also what you see if you turn styles off.</p></div>
<p><strong>3:49 pm</strong><br />
After a bit of log typing, jumping on to CSS.</p>
<p>&#8230;and immediately, the point of B&#8217;s insistence on the exercise again slaps me in the face. Yes, my mind had difficulties recalling the variety of CSS properties available. I had to ask if referring to a function list is allowed in the rules. Now waiting for the reply.</p>
<p>&#8230;doing other IRL stuff to stretch a little. And maybe grab a bite.</p>
<p>&#8230;B replied to my question in the middle of grub n&#8217; caf. Green light on the using references.</p>
<p><strong>5:00 pm</strong><br />
Back in the saddle. Firing up Daft Punk&#8217;s Tron Legacy Reconfigured on the side.</p>
<p>&#8230;turns out a the meal break was what I needed. Most of the properties came back to me, and I was back to styling, with an occasional glance on references.</p>
<p><em><strong>Time to discuss what the css must do:</strong></em></p>
<p>The layout puts the header to the side, with the biggest(and for now, the only) splash image set as its background. The content panel is next to it, and the sidebar elements (which is the main navigation menu and the actual sidebar, inside a sidebar-specific wrapper) is underneath it. The footer remains in its standard position.</p>
<p>The elements are positioned using floats, lining them up together using the magic of <em>negative margins</em>. The content section actually overlaps the header.</p>
<p>To give the site a partial feeling of &#8216;solidness&#8217;, borders of varying thickness are active in a few corners. For the content area, I left one side open to give the site a open-ended feeling (even if it isn&#8217;t).</p>
<p>Since the floated elements collapse when empty, a trick using <em>margin-bottom</em>,<em> padding-bottom</em>, and <em>overflow</em> is applied in order to the columns to keep the border elements of the same height, and the border lines connected to each other. (It&#8217;s the flanking sidebars technique mentioned in the book THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN, published by friends of Ed/apress. However, I did not follow the instructions in its entirety.)</p>
<p>I favored this type of design because other than the humongous splash image and the patterned background, there are no other images required for the layout. In the case images don&#8217;t load, the default color scheme and the borders remains the same, albeit with a gap on where the splash image should be.</p>
<p>&#8230;well that&#8217;s it in theory. B actually suggested trying to style &#8216;in the dark&#8217; for an extra challenge &#8211; compose the basic layout before launching it on a browser. Kinda like the exams where you write code in paper, forcing you to figure out how things will work only using your head. I prefer styling a single part first then looking at the result, but it couldn&#8217;t hurt to try.</p>
<p>&#8230;and <em>oy</em>. Look at that.</p>
<div id="attachment_168" class="wp-caption aligncenter" style="width: 586px"><a href="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc1.jpg"><img class="size-full wp-image-168" title="Hellweek Layout Screen 1" src="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc1.jpg?w=600" alt="Hellweek Layout Screen 1"   /></a><p class="wp-caption-text">What is this?!?</p></div>
<p>As you can see, the things do not line up properly yet, but the layout is beginning to take shape.  Several elements are still missing crucial styles, and the borders (and the margin/padding/overflow trick) is not applied.</p>
<p>We&#8217;ll just have to see what happens on Day Two.</p>
<p>Day One experiments ended at <strong>8:30 pm</strong>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=159&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2011/11/21/html-hell-week-day-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/11/original_layout.jpg" medium="image">
			<media:title type="html">The Pre-Hell Week Layout</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_nostyle.jpg" medium="image">
			<media:title type="html">Hellweek Layout - Html Only</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/11/hellweek_layout_sc1.jpg" medium="image">
			<media:title type="html">Hellweek Layout Screen 1</media:title>
		</media:content>
	</item>
		<item>
		<title>Html Hell Week: Day Zero</title>
		<link>http://electronicdogbone.wordpress.com/2011/11/20/html-hell-week-day-zero/</link>
		<comments>http://electronicdogbone.wordpress.com/2011/11/20/html-hell-week-day-zero/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 11:37:53 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://jelsan.wordpress.com/?p=145</guid>
		<description><![CDATA[Every once in a while, I meet up with a colleague, B of The Workbenj,  an avid action figure collector like yours truly, and we go on a &#8220;toy run&#8221; of sorts- we hit the hobby shops(which is some distance away from our usual haunts) and see what&#8217;s new, that sort of thing- and by afternoon, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=145&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Every once in a while, I meet up with a colleague, B of <a title="The Workbenj" href="http://workbenj.wordpress.com" target="_blank">The Workbenj</a>,  an avid action figure collector like yours truly, and we go on a &#8220;toy run&#8221; of sorts- we hit the hobby shops(which is some distance away from our usual haunts) and see what&#8217;s new, that sort of thing- and by afternoon, with the collectible hunt pretty much done, catch up on what&#8217;s new on the comic books and such.</p>
<p>Yesterday was one such day, and over afternoon coffee, I showed him the basic layout of a site I&#8217;ve been working on  (in html form, since the I was past the graphical mockup stage by this time). During the discussion, he asked on how I did it, and I mentioned working on it using a WYSIWYG.</p>
<p>And chaos ensues.</p>
<p>You see, B firmly believes that excessively relying on WYSIWYG for such work can dull one&#8217;s mind in terms of code  familiarity (Of course, really relying on the WYSIWYG mode <em>can</em>, but he insists even working on the code view with context-sensitive popup assists can be also damaging). To prove his point that I have been relying on such a &#8220;crutch&#8221;, he suggests going on a &#8220;HTML Hell Week&#8221;- recreate the layout again, with only a screenshot, the image assets, and a text editor- no fancy tools. As the name suggests, I have a week, although in reality I only have a working week- five days starting tomorrow- until our next toy run this coming Saturday. His final piece of advice was that I keep after-action reports of the coding progress here on the blog.</p>
<p>I really don&#8217;t know what to say, since the challenge came from out of the blue, and I think the layout is quite barebones compared to most (I&#8217;ll try to post a pic later) but B has been sage-like when it comes to things like this, and most things I say come back to (pardon the term) bite me in the ass later.</p>
<p>So yeah, an early start tomorrow, and  I have the night to work on other things&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=145&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2011/11/20/html-hell-week-day-zero/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>
	</item>
		<item>
		<title>Get Striped</title>
		<link>http://electronicdogbone.wordpress.com/2011/09/19/get-striped/</link>
		<comments>http://electronicdogbone.wordpress.com/2011/09/19/get-striped/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 08:10:26 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://jelsan.wordpress.com/?p=123</guid>
		<description><![CDATA[Recently, I was asked to help find a way to apply zebra striping for tables in a web app. There are many ways to do this, and a few minutes of googling usually point to quite a selection of methods. I could use: Manual Labor It is the simplest of the methods, just creating a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=123&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I was asked to help find a way to apply zebra striping for tables in a web app. There are many ways to do this, and a few minutes of googling usually point to quite a selection of methods. I could use:</p>
<h2>Manual Labor</h2>
<p>It is the simplest of the methods, just creating a style for  odd rows, and manually applying it:</p>
<pre>&lt;tr class="odd"&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;</pre>
<p>but really, this isn&#8217;t the way to go. And besides, what if the data in the tables is dynamically generated? How can I apply it?</p>
<h2>By the powers of CSS</h2>
<p>Or I could use CSS, with the <em>nth-child</em> approach. Lets say we have this table, which has fixed values, just for example:</p>
<pre>   &lt;table border="1"&gt;
        &lt;thead&gt;
            &lt;tr&gt;
                &lt;td&gt;Number&lt;/td&gt;
            &lt;/tr&gt;
       &lt;/thead&gt;
       &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td&gt;one&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;two&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;three&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;four&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;five&lt;/td&gt;
            &lt;/tr&gt;
       &lt;/tbody&gt;
    &lt;/table&gt;</pre>
<p>Let&#8217;s just say I wanted to stripe all my odd table rows in all of the tbody with the same colors, with this style:</p>
<pre>tbody tr:nth-child(odd) {background: #06C}</pre>
<p>And I would not have to touch the tables. This is what I wanted to use, but won&#8217;t work on IE (The comparison screenie below was tested on IE8 and FF6).</p>
<p><a href="http://electronicdogbone.files.wordpress.com/2011/09/test_css_nthchild.jpg"><img class="aligncenter size-full wp-image-125" title="test_css_nthchild" src="http://electronicdogbone.files.wordpress.com/2011/09/test_css_nthchild.jpg?w=600" alt="A comparison shot between Firefox 6 and IE 8 using the nth-child approach. IE doesn't show any styling"   /></a>And it was specifically reminded to me that IE and Firefox were the browsers to consider on this problem.</p>
<h2>Or you could always drop a library on it</h2>
<p>While googling, I also noticed suggestions to use jquery instead, because it has a nth-child selector of its own and it works on IE. I don&#8217;t know much about jquery yet, but I figured it wouldn&#8217;t hurt to try.</p>
<p>So again, with a sample table, this time assigned the class <em>stbl</em> (because what if I wanted to style one table and one not?):</p>
<pre>    &lt;table class="stbl" border="1"&gt;
        &lt;thead&gt;
            &lt;tr&gt;
                &lt;td&gt;Number&lt;/td&gt;
            &lt;/tr&gt;
       &lt;/thead&gt;
       &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td&gt;one&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;two&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;three&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;four&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;five&lt;/td&gt;
            &lt;/tr&gt;
       &lt;/tbody&gt;
    &lt;/table&gt;</pre>
<p>So this is what I used, after reading on the nth-child docs on the jquery site&#8230;</p>
<pre>    $(document).ready(function() {
       $(".stbl tbody tr:nth-child(odd)").addClass("oddstripe");
    });</pre>
<p>which, if my limited knowledge is correct, is looking for the elements classed as stbl, specifically at odd numbered tr inside the tbody, and upon finding one, applying the following css style:</p>
<pre>.oddstripe {background-color: #06C;}</pre>
<p>and here is the screenie of the result, using the same two browsers used for the CSS only approach.</p>
<p><a href="http://electronicdogbone.files.wordpress.com/2011/09/test_jquery_nthchild.jpg"><img class="aligncenter size-full wp-image-127" title="test_jquery_nthchild" src="http://electronicdogbone.files.wordpress.com/2011/09/test_jquery_nthchild.jpg?w=600" alt="Comparison shot of Firefox and IE on jquery nthchild selector, both cases have the style visible."   /></a>..in both instances I can see the table style. I just hope this solution might be of use.</p>
<p><em>edit:</em><br />
<em>The original article has the second example table assigned with an id rather than a class, and since that doesn&#8217;t feel right, it has been replaced. The jquery script has also been replaced slightly, looking for .stbl rather than #stbl so that it looks for class rather than id selector. My bad.</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=123&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2011/09/19/get-striped/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/09/test_css_nthchild.jpg" medium="image">
			<media:title type="html">test_css_nthchild</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/09/test_jquery_nthchild.jpg" medium="image">
			<media:title type="html">test_jquery_nthchild</media:title>
		</media:content>
	</item>
		<item>
		<title>Project Echo, Note 3</title>
		<link>http://electronicdogbone.wordpress.com/2011/08/01/project-echo-note-3/</link>
		<comments>http://electronicdogbone.wordpress.com/2011/08/01/project-echo-note-3/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 08:25:28 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://jelsan.wordpress.com/?p=132</guid>
		<description><![CDATA[So, I tried to create a very straight-forward e-manual with some scripting that basically dumps symbols in the screen. It involved calling a symbol instance and then tweaking some properties like so: var somethin:SomeObject = new SomeObject(); somethin.x = somenumber; somethin.y = somenumber; somethin.width = somenumber; somethin.height = somenumber; somethin.scaleX = somenumber; somethin.scaleY = somenumber; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=132&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, I tried to create a very straight-forward e-manual with some scripting that basically dumps symbols in the screen. It involved calling a symbol instance and then tweaking some properties like so:</p>
<pre>var somethin:SomeObject = new SomeObject();
somethin.x = somenumber;
somethin.y = somenumber;
somethin.width = somenumber;
somethin.height = somenumber;
somethin.scaleX = somenumber;
somethin.scaleY = somenumber;
//properties go on and on...yadda yadda
addChild(somethin);</pre>
<p>It gets repetitive the more objects are involved, so I tried to compress the lot. This is what my addled brain was able to concoct :</p>
<pre>function propConfigurer(prop:MovieClip, xVal:int, yVal:int, wVal:Number, hVal:Number,
                                          saXVal:Number, saYVal:Number, rotVal:Number, frameVal:int,
                                          isButton:Boolean, filterArray:Array):void{

      //set the x,y location of background props.
            if(xVal != 0 &amp;&amp; yVal != 0){
                prop.x = xVal;
                prop.y = yVal;
            }
        //basically, the rest of the lines do the same thing, configuring the property of prop, so we skip it
}</pre>
<p>So this function takes a &#8220;prop&#8221;, or a symbol instance, then a bunch of numbers for x position, y position, width, height, scale x, scale y, rotation, a frame number to jump in(if symbol has multiple frames),  a boolean for determining if the symbol is used as a button, and an array holding filters.</p>
<p>Setting zero on the int and numbers or false on the booleans ignore the specific section of the configuration.</p>
<p>So to replace the code for<em> somethin</em> (the bit of code way on the start of the article) it becomes essentially like this:</p>
<pre>var somethin:SomeObject = new SomeObject();
propConfigurer(somethin,512,250,0,0,.55,.55,0,0,false,null);
addChild(somethin);</pre>
<p>Somebody will probably smack me on the head with ruler for an abomination of a code like this, but here it is&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=132&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2011/08/01/project-echo-note-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>
	</item>
		<item>
		<title>Project Echo, Note 2</title>
		<link>http://electronicdogbone.wordpress.com/2011/07/18/project-echo-note-2/</link>
		<comments>http://electronicdogbone.wordpress.com/2011/07/18/project-echo-note-2/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 16:06:07 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://jelsan.wordpress.com/?p=114</guid>
		<description><![CDATA[Okay, back to our story. While it is perfectly possible, and much more easier to start work on a e-manual using plain timeline animation, I figured it will be harder to tweak later on if I had to rearrange a few topics here and there. So I decided to put a little bit of actionscript [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=114&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Okay, back to our story.</p>
<p>While it is perfectly possible, and much more easier to start work on a e-manual using plain timeline animation, I figured it will be harder to tweak later on if I had to rearrange a few topics here and there. So I decided to put a little bit of actionscript into the works.</p>
<h2>Stack it, baby</h2>
<p>To put it simply, most of the code&#8217;s work is to instantiate stuff (cookie cutter symbols from the project library), arrange them in order, and display them. While a straightforward stacking of symbols comes to mind (think of a pile of books), the more elaborate the setup, the more symbols to juggle around. It&#8217;s bound to be a mess.</p>
<p><a href="http://electronicdogbone.files.wordpress.com/2011/07/diagram_echo_layers.jpg"><img class="alignleft size-full wp-image-115" title="diagram_echo_layers" src="http://electronicdogbone.files.wordpress.com/2011/07/diagram_echo_layers.jpg?w=600" alt="How a single page of the e-manual is to be split"   /></a></p>
<p>So while planning the whole thing, I opted to distribute the stage elements to containers, based on its purpose for the manual.</p>
<p>There will be a container for the background, which will hold symbols relevant to it, a container for the foreground, which will probably hold stuff for the e-manual contents itself, and a container for the button, which probably needs no explanation.</p>
<p>For me, things will be a bit easier since I will just call on a parent container, and out pops the whole set. If the container is not needed any more, a removeChild on the parent will take down everything in it.</p>
<p>But of course, inside the containers, they will have to arrange their children by code:</p>
<pre>var somethin:SomeObject = new SomeObject();
somethin.x = somenumber;
somethin.y = somenumber;
somethin.width = somenumber;
addChild(somethin);</pre>
<p>You get the picture.</p>
<p>When the amount of symbols grows, so does the number of lines. Not really a good sign.</p>
<p><em>In note3, I try to reduce the evil, repetitive code. So see you next time-</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=114&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2011/07/18/project-echo-note-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>

		<media:content url="http://electronicdogbone.files.wordpress.com/2011/07/diagram_echo_layers.jpg" medium="image">
			<media:title type="html">diagram_echo_layers</media:title>
		</media:content>
	</item>
		<item>
		<title>Project Echo, Note 1</title>
		<link>http://electronicdogbone.wordpress.com/2011/07/10/project-echo-note-1/</link>
		<comments>http://electronicdogbone.wordpress.com/2011/07/10/project-echo-note-1/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 00:20:42 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://jelsan.wordpress.com/?p=99</guid>
		<description><![CDATA[A while back, I posted a little article about stuff I&#8217;ve noted after working on a flash project. I&#8217;m pretty sure it made no sense to anyone else besides me, so with the client&#8217;s blessing to discuss things without revealing specifics, I&#8217;ll write a series of articles about that mysterious flash thingie I&#8217;ve done. Project [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=99&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A while back, I posted a little <a title="This is the said article, yeah?" href="http://jelsan.wordpress.com/2011/06/04/dear-future-self-before-you-go-doing-another-independent-project-please-read-me-first/" target="_blank">article</a> about stuff I&#8217;ve noted after working on a flash project. I&#8217;m pretty sure it made no sense to anyone else besides me, so with the client&#8217;s blessing to discuss things without revealing specifics, I&#8217;ll write a series of articles about that mysterious flash thingie I&#8217;ve done.</p>
<p>Project Echo was a proposal for a visual training aid to be used for internal corporate instruction. It was supposed to be an extra tool that trainees can refer to after they have undergone training seminars, as I&#8217;ve been told. I was instructed to create a navigatable show that highlighted important points of the seminar, mixed with dancing cutouts of various trainees to act as guides for the topics.</p>
<p>For this project, I used the simplest method I can think of,  straightforward timeline animation, with scripts embedded on the frames themselves.  Work consisted of illustrating the assets to be used on stage, and animating it via tweens.</p>
<p>The only real problem I had was at the length of the entire show. I was not aware of Flash&#8217;s <strong>16,000 frame limit</strong>, which of course gave me a migraine when my <strong>movie suddenly stopped without any warning whatsoever</strong>. After a exhausting search of whether I dropped a<em> stop();</em> statement somewhere where it should&#8217;nt be, I solved the problem by accident when I deleted a section of the movie while doing tests, and realized the point where the movie stopped changed, going further on before skidding to a halt. After a long chat with Uncle Google, I eventually found other guys in various forums having the same problems, and  this <a title="Flash CS4 Upper Limits" href="http://kb2.adobe.com/cps/144/tn_14437.html" target="_blank">Flash CS4 Help Article</a> explaining the thing. Finally, just to be sure, I counted the frames I&#8217;ve used (I subdivided it into scenes, so editing can make sense), and yeah, I went over 16k frames. Thankfully, the end product specifications for Project Echo were lenient, so I split the movies by topic groups to bypass this problem.</p>
<p>So the end result had a user select a topic from the list of movies, and simply click on play and watch. The client liked the format, so he went ahead and had a test audience go through the whole thing. A few weeks later, the results were in,  but they were far from satisfactory. The test audience didn&#8217;t respond well to straight forward animation, preferring to have something more akin to a manual rather than a tv show. So, the client asked me to worked on a second iteration of Echo, this time letting the user have more control on content and topic navigation.</p>
<p>Given the added complexity of the requirements of ver2, regular timeline animation won&#8217;t cut it, even though the project interactivity still remains focused on reading text, viewing pictures and pushing buttons. Plus, I tried to keep frame count to a minimum, just to not mess around with the 16k frame limit again.</p>
<p><em>Stay tuned with your RSS readers for Project Echo Note 2, where I discuss early attempts to produce Echo Ver 2. Until next time!</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=99&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2011/07/10/project-echo-note-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>
	</item>
		<item>
		<title>Dear Future Self: Before you go doing another independent project, please read me first.</title>
		<link>http://electronicdogbone.wordpress.com/2011/06/04/dear-future-self-before-you-go-doing-another-independent-project-please-read-me-first/</link>
		<comments>http://electronicdogbone.wordpress.com/2011/06/04/dear-future-self-before-you-go-doing-another-independent-project-please-read-me-first/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 15:52:24 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Notes to Self]]></category>
		<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://jelsan.wordpress.com/?p=49</guid>
		<description><![CDATA[(Note: This little &#8216;letter to my future self&#8217; is just a way of reminding myself of a few points I encountered after working on a little experimental project using Adobe Flash. I don&#8217;t know if it&#8217;s worth squat, but feel free to read on. Not much tech crunchiness inside, I&#8217;m afraid.) Dear Future Self, By [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=49&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em><strong>(Note: This little &#8216;letter to my future self&#8217; is just a way of reminding myself of a few points I encountered after working on a little experimental project using Adobe Flash. I don&#8217;t know if it&#8217;s worth squat, but feel free to read on. Not much tech crunchiness inside, I&#8217;m afraid.)</strong></em></p>
<p>Dear Future Self,</p>
<p>By this time, it has been a week or so after wrapping up your first paid independent project. I know you&#8217;re apt to forget little things here and there when your mind&#8217;s eye is busy looking at new things to work on whatever you&#8217;re doing now, but it wouldn&#8217;t hurt to read this little bit. Maybe keep a sticky note of this url somewhere on that white flat wall behind the monitor so you&#8217;ll see it a lot. I&#8217;m pretty sure you&#8217;ll say, &#8220;<em>Oh yeah, right. Funny that slipped right through my head&#8230;</em>&#8220;</p>
<p>While there many things to talk about, try considering these points first:</p>
<p><strong>Remember the lesson of magic number 16,000.</strong> Adobe Flash (or at least the version you were using back then)  has a 16,000 frame limit. The tech might have been upgraded by Adobe or whoever has the flash license in that future of yours, but it wouldn&#8217;t hurt to check if your flash software still has that limit. This helpful note is for CS4, but it&#8217;s worth saving&#8230;</p>
<p><a href="http://kb2.adobe.com/cps/144/tn_14437.html">http://kb2.adobe.com/cps/144/tn_14437.html</a></p>
<p>Remember that wonderful time you had when suddenly your animation stopped without any error outputs? That sucked. Hard. Sure you had thought of a workaround back then, but what if your little magic fix isn&#8217;t feasible this time around?</p>
<p><em>Better know the limits of your stuff so you can compensate early on.</em> And you can tell the client why, so you two can agree on something.</p>
<p>And if that Html 5 thing ever catches up and is actually better, you&#8217;d be better off knowing what its capable of , trust me.</p>
<p><strong>Keep a work journal (No, not the design document, but that&#8217;s pretty important too).</strong> No, that half-assed attempt of scribbles on the thick spiral notebook ain&#8217;t cutting it. If you have an insight on what you&#8217;re doing, a lingering problem, a potential bug, or if you had dawned on a cure for cancer (okay, maybe not that one) list it down clearly. Keep a .txt file on your work folder or something. Add a date each entry, so you can review your progress. So when you&#8217;re double checking your work you can make sure you have addressed everything you&#8217;ve written down.</p>
<p><strong>Log in your production time every night before jumping to bed.</strong>  I know you&#8217;re super tired and everything, but it&#8217;s  just a little thing. Just write down time spent so you can check on yourself if you&#8217;re doing good progress later when you&#8217;re more sober (so to speak). You don&#8217;t want that super long time calculating session at the end of the project.</p>
<p><strong>The &#8220;just a little bit&#8221; is never a little bit in the end.</strong> I know you still want to work on that little science fantasy epic you&#8217;ve been cooking in your brain since forever, but it has to wait. You are your own boss now, so the temptation of slacking off is there (well frankly, it&#8217;s always there, it was just really shy when your old boss was around) .  The internet&#8217;s cool for research and all, but don&#8217;t ever ever try to search on stuff you don&#8217;t need for work.  You know how it feels after going through several tons of unrelated hyperlinks&#8230; and you just flushed valuable production time down the drain.  Save the extracurricular activities when you&#8217;re munching on your breaktime sandwich. Or save the longer activities for &#8220;<em>HappyHappyFunFunSaturday</em>&#8220;.</p>
<p>Hmm&#8230; so much stuff to write about, but they&#8217;re not formulating quite right inside my head. Maybe some sleep will give more helpful insights, but that will be for another letter in another time.</p>
<p style="text-align:right;">Best Regards,<br />
The June 4 2011 build of Jelsan.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=49&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2011/06/04/dear-future-self-before-you-go-doing-another-independent-project-please-read-me-first/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick Tweak My Desktop</title>
		<link>http://electronicdogbone.wordpress.com/2010/06/30/quick-tweak-my-desktop/</link>
		<comments>http://electronicdogbone.wordpress.com/2010/06/30/quick-tweak-my-desktop/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 15:38:48 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://jelsan.wordpress.com/?p=38</guid>
		<description><![CDATA[While dealing with a severe case of the sniffles one rainy afternoon, I tried to change the way my desktop looks, with as minimal tweaking as possible.  Something akin to physically shoving off all the tchotchkes off your desk and then rearranging some of them again. Maybe get a better penholder or so, but nothing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=38&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/jelsan/4748355799/sizes/l/" target="_blank"><img class="aligncenter" title="A clean crisp desktop. Mmm!" src="http://farm5.static.flickr.com/4139/4748355799_882056dd46.jpg" alt="" width="500" height="375" /></a></p>
<p>While dealing with a severe case of the sniffles one rainy afternoon, I tried to change the way my desktop looks, with as minimal tweaking as possible.  Something akin to physically shoving off all the tchotchkes off your desk and then rearranging some of them again. Maybe get a better penholder or so, but nothing new and fancy&#8230;ok, let&#8217;s go to the details before my trail of thought drifts off somewhere.</p>
<p>To me there&#8217;s something alluring about that little  dock thingy you see on those Mac interfaces. Well, that might come from being spoon-fed Microsoft products since elementary school, and getting sick of desktop icon clutter.  I decided to try ditching the standard windows icons on the desktop and lay it out on a quick-access strip way down on the bottom of the screen instead. So I took my time to download a neat little app, <strong><a href="http://rocketdock.com/" target="_blank">Rocketdock</a>,</strong> which some of you might probably be familiar with. Installing it was a snap, and since it doesn&#8217;t change anything underneath the hood, it&#8217;s cool.</p>
<p>Next step was to add docklets to the dock, to add extra features. The app came with a watch docklet, but I installed a new <a href="http://rocketdock.com/addon/docklets/28627" target="_blank">digital clock</a> instead. And to keep the amount of icons visible to a minimum, I also added the<a href="http://rocketdock.com/addon/docklets/30962" target="_blank"> Stacks Docklet</a>, which displays the contents of folders in an elegant fanning list. Then, I sorted shortcuts of applications I need and put it in folders, to be added to the dock as separate icons.</p>
<p>To completely achieve the clean empty look for the desktop, the desktop icons and the taskbar simply had to go away.</p>
<p>The work on the icons was simple enough. Right click on the desktop, and simply deselect the <em>Show Icons on Desktop</em> option under the <em>Arrange Icons by </em>subheading. That way, should I wish to revert to my old desktop, all of my stuff would still be available. But of course, if you have tons of files stacked on your desktop, it might be better to transfer all non-shortcuts somewhere else first.</p>
<p>That leaves us with the pesky taskbar. Rather than use any external tools to force the taskbar to disappear  (and since I still need to access it every now and then), I fudged a little by simply dragging it to the left-hand side of the screen, and setting it to auto-hide (right click on the taskbar and tick the box that says <em>auto-hide the taskbar</em> under the<em> Taskbar Appearance</em> box). Sure, you people might argue that are more elegant ways to do this, but this is a simple solution that works for me, so there.</p>
<p>I could have stopped there, but I decided to add extra minimalist displays to keep important information visible while I&#8217;m on the desktop. The solution was the handy <a href="http://code.google.com/p/rainmeter/" target="_blank">Rainmeter</a>, a free desktop enhancement for windows. One of the preset themes, Enigma, is simple and elegant enough for my tastes that minimal tweaking was required to get the look I liked. I decided I needed an editable notes section to remind of those small things I&#8217;m apt to forget, as well as the old standbys date and time (the fancy arcs design on the left side of the screen is a clock) and a few quick glances on my computer&#8217;s system performance and network connection. The black bar where the old windows taskbar used to be is also from Rainmeter, I simply stripped it clean of meters and kept it to visually frame the Rocketdock dock.</p>
<p>There. Finished. This simple tweak has a few nagging problems, like the lack of a Show Desktop command  (which is still available on the hidden windows taskbar, or if memory serves me right, there is an available docklet for that purpose) quick access for power commands (again, taskbar or downloadable docklets) , and your system tray icons being invisible thanks to the auto-hiding taskbar, among other things. But for now, this setup looks clean and appealing, and suits me just fine.</p>
<p>Footnote:</p>
<p>It&#8217;s inevitable  that people will ask where the wallpaper came from, so to keep it short, it&#8217;s made by an artist named soma (sohma) and I lifted it from a Danbooru imageboard. That specific imageboard contains NSFW images, so I&#8217;ll skip on posting links here.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=38&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2010/06/30/quick-tweak-my-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>

		<media:content url="http://farm5.static.flickr.com/4139/4748355799_882056dd46.jpg" medium="image">
			<media:title type="html">A clean crisp desktop. Mmm!</media:title>
		</media:content>
	</item>
		<item>
		<title>This is the Electronic Dogbone blog</title>
		<link>http://electronicdogbone.wordpress.com/2010/02/01/this-is-the-jelsan-blog/</link>
		<comments>http://electronicdogbone.wordpress.com/2010/02/01/this-is-the-jelsan-blog/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 21:28:55 +0000</pubDate>
		<dc:creator>jelsan</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://jelsan.wordpress.com/?p=25</guid>
		<description><![CDATA[Hello, I&#8217;m Jelsan, and this is the Electronic Dogbone blog. This blog holds various notes made while I am making freelance projects of different kinds. Topics vary, and your mileage may vary on whether the said notes may prove useful to you. That said, feel free to browse. You may never know, you may stumble [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=25&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello, I&#8217;m Jelsan, and this is the Electronic Dogbone blog.</p>
<p>This blog holds various notes made while I am making freelance projects of different kinds. Topics vary, and your mileage may vary on whether the said notes may prove useful to you.</p>
<p>That said, feel free to browse. You may never know, you may stumble into something you may not have never heard about.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/electronicdogbone.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/electronicdogbone.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/electronicdogbone.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/electronicdogbone.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/electronicdogbone.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/electronicdogbone.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/electronicdogbone.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/electronicdogbone.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/electronicdogbone.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/electronicdogbone.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/electronicdogbone.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/electronicdogbone.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/electronicdogbone.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/electronicdogbone.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=electronicdogbone.wordpress.com&amp;blog=29610737&amp;post=25&amp;subd=electronicdogbone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://electronicdogbone.wordpress.com/2010/02/01/this-is-the-jelsan-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a5f194040eab54c80ee3d9f03b9ee91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelsan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
