<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><!-- generator="wordpress/2.3.1" --><rss 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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Sweeping Design</title>
	<link>http://www.sweepingdesign.com/wordpress</link>
	<description>Flex, Drugs, and Rock and Roll</description>
	<pubDate>Mon, 25 Aug 2008 19:04:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<geo:lat>43.174503</geo:lat><geo:long>-90.072679</geo:long><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/MakeItShine" type="application/rss+xml" /><item>
		<title>silverstripe shadowbox combination fix for embedded vidoes not playing in firefox</title>
		<link>http://feeds.feedburner.com/~r/MakeItShine/~3/374400920/</link>
		<comments>http://www.sweepingdesign.com/wordpress/2008/08/25/silverstripe-shadowbox-combination-fix-for-embedding-vidoes-in-firefox/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 16:29:32 +0000</pubDate>
		<dc:creator>seth</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[silverstripe]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[lightbox]]></category>

		<category><![CDATA[MooTools]]></category>

		<category><![CDATA[object vs embed]]></category>

		<category><![CDATA[shadowbox]]></category>

		<guid isPermaLink="false">http://www.sweepingdesign.com/wordpress/2008/08/25/silverstripe-shadowbox-combination-fix-for-embedding-vidoes-in-firefox/</guid>
		<description><![CDATA[For several days i struggled to find a fix for my problem with embedding .flv&#8217;s in firefox in the silverstripe php framework.  I am using the js video lightbox &#8216;shadowbox,&#8217; which i really like and can get working just fine when I use it in a typical html page.  But for some reason when I [...]]]></description>
			<content:encoded><![CDATA[<p>For several days i struggled to find a fix for my problem with embedding .flv&#8217;s in firefox in the <a href="http://www.silverstripe.com">silverstripe </a>php framework.  I am using the js video lightbox &#8216;<a href="http://mjijackson.com/shadowbox/index.html">shadowbox</a>,&#8217; which i really like and can get working just fine when I use it in a typical html page.  But for some reason when I tried implementing this framework into my silverstripe application, the videos wouldn&#8217;t load in firefox, exclusively.  All other browsers worked fine, and after days of banging my head and searching for answers on google and irc I found this fix:</p>
<p>Shadowbox needs to load a .js file for each media type you wish to use.  I was using .flv so I loaded the &#8217;shadowbox-flv.js.&#8217;  That file returns:</p>
<pre>
return {
tag:        &#039;object&#039;,
id:         this.id,
name:       this.id,
type:       &#039;application/x-shockwave-flash&#039;,
data:       options.flvPlayer,
children:   [
{ tag: &#039;param&#039;, name: &#039;movie&#039;, value: options.flvPlayer },
{ tag: &#039;param&#039;, name: &#039;flashvars&#039;, value: flashvars.join(&#039;&amp;amp;&#039;) },
{ tag: &#039;param&#039;, name: &#039;allowfullscreen&#039;, value: &#039;true&#039; }
],
height:     h, // new height includes controller
width:      w
};</pre>
<p>What i did was change it so that instead of using &#8216;object&#8217; to embed the video, I used &#8216;embed,&#8217; and now it worked!! Simple.</p>
<p>here is what i changed:</p>
<pre>
return {
tag: &#039;embed&#039;,
id: this.id,
src: &#039;flvplayer.swf&#039;,
allowscriptaccess: &#039;true&#039;,
allowfullscreen: &#039;true&#039;,
flashvars:  flashvars.join(&#039;&amp;amp;&#039;),
height:     h, // new height includes controller
width:      w
};
},</pre>
<p>see it working <a href="http://www.webcme.net/sample-content-trailers">here </a></p>
<p>I&#8217;ve learned that firefox has a bug dealing with object vs embed which in certain cases doesn&#8217;t allow the swf loader to function properly.  Specifying &#8216;autoplay&#8217; seems to have an effect on this as well.  The firefox bug for this issue is <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=250855">here</a>.</p>
<p>hopefully this bug will be fixed soon <img src='http://www.sweepingdesign.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sweepingdesign.com/wordpress/2008/08/25/silverstripe-shadowbox-combination-fix-for-embedding-vidoes-in-firefox/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.sweepingdesign.com/wordpress/2008/08/25/silverstripe-shadowbox-combination-fix-for-embedding-vidoes-in-firefox/</feedburner:origLink></item>
		<item>
		<title>ValidatorForm as a base class and in a TabbedNavigator</title>
		<link>http://feeds.feedburner.com/~r/MakeItShine/~3/355964604/</link>
		<comments>http://www.sweepingdesign.com/wordpress/2008/07/09/validatorform-as-a-base-class-and-in-a-tabbednavigator/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 01:54:07 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
		
		<category><![CDATA[flex]]></category>

		<category><![CDATA[callLater()]]></category>

		<category><![CDATA[creationComplete]]></category>

		<category><![CDATA[TabbedNavigator]]></category>

		<category><![CDATA[ValidatorForm]]></category>

		<guid isPermaLink="false">http://www.sweepingdesign.com/wordpress/2008/07/09/validatorform-as-a-base-class-and-in-a-tabbednavigator/</guid>
		<description><![CDATA[I had trouble using ValidatorForm as the base tag for Form components, and still more trouble when I used those in a TabNavigator. In both cases, the fault was in trying to refer to add a CHANGE event listener to the as-yet null {source} for the validators.
The solution to the first part was to pull [...]]]></description>
			<content:encoded><![CDATA[<p>I had trouble using ValidatorForm as the base tag for Form components, and still more trouble when I used those in a TabNavigator. In both cases, the fault was in trying to refer to add a CHANGE event listener to the as-yet <code>null</code> {source} for the validators.</p>
<p>The solution to the first part was to pull the meat out of the validators() setter and into an assignValidators() function, saving the array of validators to a private _validators for later use in calling assignValidators() from creationComplete(). This worked until I used the ValidatorForm in a TabbedNavigator, which doesn&#8217;t create its grandchildren - our {source} - until the tab is activated (or unless you set creationPolicy=&#8217;all&#8217;, but a component just shouldn&#8217;t make you do that). The solution here is to use callLater(assignValidators) in creationComplete() instead of just assignValidators().</p>
<p>Here&#8217;s the <a href='http://www.sweepingdesign.com/wordpress/wp-content/validatorform.as' title='ValidatorForm.as'>source</a>, and what changed:</p>
<pre>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private var _validators: Array;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public function set validators(validators:Array):void&nbsp;&nbsp;{ 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_validators = validators; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public function get validators(): Array {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return _validators;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protected function creationComplete(): void {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callLater(assignValidators);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private function assignValidators(): void {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(var i:uint=0; i &lt; validators.length; i++) { &#46;..
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sweepingdesign.com/wordpress/2008/07/09/validatorform-as-a-base-class-and-in-a-tabbednavigator/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.sweepingdesign.com/wordpress/2008/07/09/validatorform-as-a-base-class-and-in-a-tabbednavigator/</feedburner:origLink></item>
		<item>
		<title>Working with Full-Screen in Flex</title>
		<link>http://feeds.feedburner.com/~r/MakeItShine/~3/355964605/</link>
		<comments>http://www.sweepingdesign.com/wordpress/2008/07/02/working-with-full-screen-in-flex/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 00:39:56 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
		
		<category><![CDATA[flex]]></category>

		<category><![CDATA[full-screen]]></category>

		<guid isPermaLink="false">http://www.sweepingdesign.com/wordpress/2008/07/02/working-with-full-screen-in-flex/</guid>
		<description><![CDATA[I visited the topic of using flex in full-screen for the first time today and found the examples at Flex Examples and Everything Flex wanting in clarity and style. Here, then, is the low-down - as clean and simple as it gets!

<object	type="application/x-shockwave-flash"
			data="http://www.sweepingdesign.com/wordpress/wp-content/fullscreentest.swf"
			width="300"
			height="300">
	<param name="movie" value="http://www.sweepingdesign.com/wordpress/wp-content/fullscreentest.swf" />
	<param name=menu" value="false" />
	<param name=allowFullScreen" value="true" />
</object>
View source here.
This example allows you to enter [...]]]></description>
			<content:encoded><![CDATA[<p>I visited the topic of using flex in full-screen for the first time today and found the examples at <a href="http://blog.flexexamples.com/2007/08/07/creating-full-screen-flex-applications">Flex Examples</a> and <a href="http://blog.everythingflex.com/2006/10/17/lets-go-full-screen-sample/">Everything Flex</a> wanting in clarity and style. Here, then, is the low-down - as clean and simple as it gets!</p>

<object	type="application/x-shockwave-flash"
			data="http://www.sweepingdesign.com/wordpress/wp-content/fullscreentest.swf"
			width="300"
			height="300">
	<param name="movie" value="http://www.sweepingdesign.com/wordpress/wp-content/fullscreentest.swf" />
	<param name=menu" value="false" />
	<param name=allowFullScreen" value="true" />
</object>
<p>View source <a href="http://www.sweepingdesign.com/wordpress/wp-content/srcview/index.html">here</a>.</p>
<p>This example allows you to enter full-screen with &#8220;fullScreen=true&#8221; and exit with &#8220;fullScreen=false&#8221;. The listener for FullScreenEvent.FULL_SCREEN updates fullScreen in case the user exits by pressing escape rather than by clicking the checkbox. As a result, fullScreen is bindable, as shown in the checkbox.</p>
<p>Do note that you will need to set allowFullScreen to true in your project&#8217;s index.template.html, lest you get:<br />
<code>Error #2152: Full screen mode is not allowed.</code></p>
<pre>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot; &gt;
&nbsp;&nbsp;&lt;mx:initialize&gt;&lt;![CDATA[
&nbsp;&nbsp;&nbsp;&nbsp;systemManager.stage.addEventListener(
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FullScreenEvent.FULL_SCREEN,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function(event: FullScreenEvent): void { fullScreen = event.fullScreen; }
&nbsp;&nbsp;&nbsp;&nbsp;);
&nbsp;&nbsp;]]&gt;&lt;/mx:initialize&gt;
&nbsp;
&nbsp;&nbsp;&lt;mx:Script&gt;&lt;![CDATA[
&nbsp;&nbsp;&nbsp;&nbsp;private var _fullScreen: Boolean;
&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;[Bindable] public function get fullScreen(): Boolean { return _fullScreen; }
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;public function set fullScreen(isFull:Boolean):void {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_fullScreen = isFull;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stage.displayState = (isFull) ? StageDisplayState.FULL_SCREEN : StageDisplayState.NORMAL; }
&nbsp;&nbsp;]]&gt;&lt;/mx:Script&gt;
&nbsp;
&nbsp;&nbsp;&lt;mx:CheckBox id=&quot;fs&quot; label=&quot;Full Screen&quot;
&nbsp;&nbsp;&nbsp;&nbsp;click=&quot;fullScreen=event.target.selected&quot; selected=&quot;{fullScreen}&quot;
&nbsp;&nbsp;&nbsp;&nbsp;horizontalCenter=&quot;0&quot; verticalCenter=&quot;0&quot;/&gt;
&nbsp;
&lt;/mx:Application&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sweepingdesign.com/wordpress/2008/07/02/working-with-full-screen-in-flex/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.sweepingdesign.com/wordpress/2008/07/02/working-with-full-screen-in-flex/</feedburner:origLink></item>
		<item>
		<title>Spry Gallery Demo and IE7 Z-Index Bug</title>
		<link>http://feeds.feedburner.com/~r/MakeItShine/~3/355964606/</link>
		<comments>http://www.sweepingdesign.com/wordpress/2007/11/18/spry-gallery-demo-and-ie7-z-index-bug/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 22:56:25 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[bug]]></category>

		<category><![CDATA[Gallery]]></category>

		<category><![CDATA[IE7]]></category>

		<category><![CDATA[Spry]]></category>

		<category><![CDATA[Z-Index]]></category>

		<guid isPermaLink="false">http://www.sweepingdesign.com/wordpress/2007/11/18/spry-gallery-demo-and-ie7-z-index-bug/</guid>
		<description><![CDATA[Those seeking a solution to the Z-Index bug in IE7 which causes thumbnails in the Spry Gallery Widget to grow underneath subsequent thumbnails should see this thread in the Spry Forums. I happened to be working on the problem for a client site as another Spry User asked for a solution in the forums.
Spry Galleries [...]]]></description>
			<content:encoded><![CDATA[<p>Those seeking a solution to the Z-Index bug in IE7 which causes thumbnails in the Spry Gallery Widget to grow <em>underneath</em> subsequent thumbnails should see this thread in the Spry Forums. I happened to be working on the problem for a client site as another Spry User asked for a solution in the forums.</p>
<p>Spry Galleries use this structure:</p>
<p><code>&lt;div id=&quot;thumbnails&quot;&gt;<br />
&nbsp;&nbsp;&lt;div class=&quot;thumbnail&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;image.jpg&quot;&gt;&lt;img src=&quot;image.jpg&quot; /&gt;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;/div&gt;<br />
&lt;/div&gt;</code></p>
<p>In short, the solution to the problem is to change the z-index of the thumbnail img&#8217;s containing ancestor. I initially tried changing the z-index of div.thumbnail on the suggestion of Adobe Developer Kin Blas, but found - as he&#8217;d found before - that when thumbnails shrink back to normal size, they return to the top left corner of the ancestor, ignoring any margins or padding applied to the img.</p>
<p>I eventually found success by setting position:relative on the surrounding anchor (div.thumbnail a) and setting margins and padding to the surrounding div.</p>
<p>Relevant code (from SpryThumbViewer.js)  and CSS follow. I&#8217;ve also retained a <a href="http://mad.sweepingdesign.com/index.html">demo</a>.</p>
<h6>growThumbnail:</h6>
<p><code>Spry.Utils.addClassName(img, &quot;inFocus&quot;);<br />
+&nbsp;&nbsp;var ancestor = Spry.Utils.getAncestor(img, &quot;a&quot;);<br />
+&nbsp;&nbsp;ancestor.style.zIndex = 150;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;img.style.zIndex = 150;</code></p>
<h6>shrinkThumbnail:</h6>
<p><code>var self = this;<br />
+&nbsp;&nbsp;var ancestor = Spry.Utils.getAncestor(img, &quot;a&quot;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Spry.Utils.addClassName(img, &quot;inFocus&quot;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.sizeAndPosition(img, 0, 0, this.thumbWidth, this.thumbHeight, function(b){self.behaviorsArray[img.spryID] = null;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Spry.Utils.removeClassName(img, &quot;inFocus&quot;); });<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;img.style.zIndex = 1;<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ancestor.style.zIndex = 1;</code></p>
<h6>CSS</h6>
<p><code>#thumbnails div {<br />
 margin: 12px 8px;<br />
 width: 168px;<br />
 height: 112px;<br />
 float: left;<br />
}<br />
&nbsp;<br />
#thumbnails div a {<br />
 display:inline;<br />
 float:left;<br />
 height:112px;<br />
 width:168px;<br />
 position:relative;<br />
}<br />
&nbsp;<br />
#thumbnails div a img {<br />
 border: 1px solid #999999;<br />
 height:112px;<br />
 width:168px;<br />
 position:absolute;<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sweepingdesign.com/wordpress/2007/11/18/spry-gallery-demo-and-ie7-z-index-bug/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.sweepingdesign.com/wordpress/2007/11/18/spry-gallery-demo-and-ie7-z-index-bug/</feedburner:origLink></item>
		<item>
		<title>Spry Tabbed Panels with CSS Selectors and fleXcroll Custom Scrollbars</title>
		<link>http://feeds.feedburner.com/~r/MakeItShine/~3/355964607/</link>
		<comments>http://www.sweepingdesign.com/wordpress/2007/11/18/spry-tabbed-panels-with-css-selectors-and-flexcroll-custom-scrollbars/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 22:11:50 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[fleXcroll]]></category>

		<category><![CDATA[scrollbar]]></category>

		<category><![CDATA[Spry]]></category>

		<category><![CDATA[Tabbed Panels]]></category>

		<guid isPermaLink="false">http://www.sweepingdesign.com/wordpress/2007/11/18/spry-tabbed-panels-with-css-selectors-and-flexcroll-custom-scrollbars/</guid>
		<description><![CDATA[Just thought I&#8217;d share a tip about making Tabbed Panels more flexible with the CSS Selector.
In working on the Menu page for The Bank Restaurant and Wine Bar, I needed Tabbed Panels with the same custom scroll bar I used on the rest of the site. I chose the fleXcroll kit because it is flexible, [...]]]></description>
			<content:encoded><![CDATA[<p>Just thought I&#8217;d share a tip about making Tabbed Panels more flexible with the CSS Selector.</p>
<p>In working on the <a href="http://www.thebankrestaurantandwinebar.com/menu.html" target="_blank">Menu</a> page for <a href="http://www.thebankrestaurantandwinebar.com/" target="_blank">The Bank Restaurant and Wine Bar</a>, I needed Tabbed Panels with the same custom scroll bar I used on the rest of the site. I chose the <a href="http://www.hesido.com/" target="_blank">fleXcroll</a> kit because it is flexible, unobtrusive, and cross-browser compatible (if poorly documented). Once you figure out how fleXcroll wants you to give it the elements of your scroll bar, activating it is as easy as adding the &#8220;fleXcroll&#8221; class to the div you want scrolled. This was the same div which wraps my Tabbed Panels (div.TabbedPanelsContentGroup).</p>
<p>No problem, I thought, as fleXcroll makes a big deal about how it &#8220;can cope with dynamic updates such as dynamic content injected via AJAX.&#8221; The problem, though, is that that Tabbed Panels can&#8217;t cope with the wrappers fleXcroll injects inside the panel container, as Tabbed Panels depends on a clean and fixed hierarchy to identify panels as direct descendants of that container. Tabbed Panels thought the fleXcroll wrappers were panels, and things just didn&#8217;t work.</p>
<p>Luckily, the CSS <span style="background-color: yellow">Selector</span> provides a much easier method of finding panels and tabs than traversing a fixed hierarchy. Instead of identifying tabs as children of .TabbedPanelsTabGroup (which is identified as the first child of the div you give to Tabbed Panel&#8217;s constructor) and panels as children of .TabbedPanelsContentGroup, you simply identify tabs as Spry.$$(&#8221;.TabbedPanelsTab&#8221;) and panels as Spry.$$(&#8221;.TabbedPanelsContent&#8221;)!</p>
<p>In SpryTabbedPanels.js, tabs and panels are collected with getTabs() and getPanels():</p>
<p><code><br />
&nbsp;&nbsp;var tabs = this.getTabs();<br />
&nbsp;&nbsp;var panels = this.getContentPanels();<br />
</code></p>
<p>To escape the hierarchical bounds of Tabbed Panels, you just have to change:</p>
<p><code><br />
Spry.Widget.TabbedPanels.prototype.getTabs = function() {<br />
&nbsp;&nbsp;var tabs = [];<br />
&nbsp;&nbsp;var tg = this.getTabGroup();<br />
&nbsp;&nbsp;if (tg)<br />
&nbsp;&nbsp;&nbsp;&nbsp;tabs = this.getElementChildren(tg);<br />
&nbsp;&nbsp;return tabs;<br />
};</code></p>
<p>to:</p>
<p><code><br />
Spry.Widget.TabbedPanels.prototype.getTabs = function() {<br />
&nbsp;&nbsp;var tabs = [];<br />
&nbsp;&nbsp;tabs = Spry.$$(&quot;.TabbedPanelsTab&quot;);&nbsp;&nbsp; // or your selector of choice<br />
&nbsp;&nbsp;return tabs;<br />
};</code></p>
<p>and:</p>
<p><code><br />
Spry.Widget.TabbedPanels.prototype.getContentPanels = function() {<br />
&nbsp;&nbsp;var panels = [];<br />
&nbsp;&nbsp;var pg = this.getContentPanelGroup();<br />
&nbsp;&nbsp;if (pg)<br />
&nbsp;&nbsp;&nbsp;&nbsp;panels = this.getElementChildren(pg);<br />
&nbsp;&nbsp;return panels;<br />
};</code></p>
<p>to:</p>
<p><code><br />
Spry.Widget.TabbedPanels.prototype.getContentPanels = function() {<br />
&nbsp;&nbsp;var panels = [];<br />
&nbsp;&nbsp;panels = Spry.$$(&quot;.TabbedPanelsContent&quot;);&nbsp;&nbsp;// or your selector of choice<br />
&nbsp;&nbsp;return panels;<br />
};</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sweepingdesign.com/wordpress/2007/11/18/spry-tabbed-panels-with-css-selectors-and-flexcroll-custom-scrollbars/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.sweepingdesign.com/wordpress/2007/11/18/spry-tabbed-panels-with-css-selectors-and-flexcroll-custom-scrollbars/</feedburner:origLink></item>
		<item>
		<title>SlickSpeed results for Spry vs Prototype, MooTools, and Dojo</title>
		<link>http://feeds.feedburner.com/~r/MakeItShine/~3/355964608/</link>
		<comments>http://www.sweepingdesign.com/wordpress/2007/11/16/slickspeed-results-for-spry-vs-prototype-mootools-and-dojo/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 09:50:09 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[Dojo]]></category>

		<category><![CDATA[framework]]></category>

		<category><![CDATA[MooTools]]></category>

		<category><![CDATA[Prototype]]></category>

		<category><![CDATA[SlickSpeed]]></category>

		<category><![CDATA[Spry]]></category>

		<category><![CDATA[the rock called ajax]]></category>

		<guid isPermaLink="false">http://www.sweepingdesign.com/wordpress/?p=4</guid>
		<description><![CDATA[SlickSpeed Selectors Test for Frameworks measures the time javascript frameworks take to return elements with their CSS Selector functions. SlickSpeed is developed by MooTools, but aims to offer unbiased results (indeed, Prototype beat MooTools in my test).
I couldn&#8217;t find any results for Spry, so I downloaded the test kit from its home at Google Code. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.mootools.net/2007/6/11/selectors-on-fire" title="Selectors on Fire" target="_blank">SlickSpeed Selectors Test for Frameworks</a> measures the time javascript frameworks take to return elements with their CSS Selector functions. SlickSpeed is developed by MooTools, but aims to offer unbiased results (indeed, Prototype beat MooTools in my test).</p>
<p>I couldn&#8217;t find any results for Spry, so I downloaded the test kit from its <a href="http://slickspeed.googlecode.com/svn/trunk" title="SlickSpeed SVN" target="_blank">home </a>at <a href="http://www.googlecode.com" title="Google Code" target="_blank">Google Code</a>. I included Spry 1.6, Prototype 1.6, MooTools 1.2b1, and Dojo 1.0.  I tested the default selectors against the default template (an excerpt from As You Like It). I ran the test under Firefox, but will update with results from IE7 and Safari 3 with more toolkits another day. You can run the test yourself <a href="http://www.sweepingdesign.com/slickspeedtest/" class="ftalternatingbarlinklarge" target="_blank">here</a>.</p>
<p>Prototype 1.6 and MooTools 1.2b1 basically tie at about 250ms, while Spry and Dojo take about twice as long.</p>
<p>Spry may be excused for finishing last as Adobe just introduced the Spry.$$() CSS Selector in its latest pre-release version 1.6.</p>
<table id="results" style="margin: 0px auto; width: 90%">
<tr>
<th>framework</th>
<th>test 1</th>
<th>test 2</th>
<th>test 3</th>
<th>avg</th>
</tr>
<tr>
<td>Spry 1.6</td>
<td align="center">514</td>
<td align="center">554</td>
<td align="center">498</td>
<td align="center"><strong>522</strong></td>
</tr>
<tr>
<td>prototype 1.6</td>
<td align="center">232</td>
<td align="center">236</td>
<td align="center">259</td>
<td align="center"><strong>242</strong></td>
</tr>
<tr>
<td>MooTools 1.2b1</td>
<td align="center">263</td>
<td align="center">212</td>
<td align="center">275</td>
<td align="center"><strong>250</strong></td>
</tr>
<tr>
<td>dojo query</td>
<td align="center">412</td>
<td align="center">418</td>
<td align="center">443</td>
<td align="center"><strong>424</strong></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.sweepingdesign.com/wordpress/2007/11/16/slickspeed-results-for-spry-vs-prototype-mootools-and-dojo/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.sweepingdesign.com/wordpress/2007/11/16/slickspeed-results-for-spry-vs-prototype-mootools-and-dojo/</feedburner:origLink></item>
		<item>
		<title>New Blog</title>
		<link>http://feeds.feedburner.com/~r/MakeItShine/~3/355964609/</link>
		<comments>http://www.sweepingdesign.com/wordpress/2007/11/16/new-blog-of-sweeping-design/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 08:13:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://www.sweepingdesign.com/wordpress/?p=3</guid>
		<description><![CDATA[Welcome to the new blog of Sweeping Design, a web development company centered in Spring Green, Wisconsin. This blog will probably consist largely of little tidbits of new-found development tricks, which may or may not be old news to the reader.
]]></description>
			<content:encoded><![CDATA[<p>Welcome to the new blog of Sweeping Design, a web development company centered in Spring Green, Wisconsin. This blog will probably consist largely of little tidbits of new-found development tricks, which may or may not be old news to the reader.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sweepingdesign.com/wordpress/2007/11/16/new-blog-of-sweeping-design/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.sweepingdesign.com/wordpress/2007/11/16/new-blog-of-sweeping-design/</feedburner:origLink></item>
	</channel>
</rss>
