<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ClarkePeter's Weblog</title>
	<atom:link href="http://ztags4xforms.com/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://ztags4xforms.com/wordpress</link>
	<description>Xforms and PHP</description>
	<lastBuildDate>Sun, 17 May 2009 10:25:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>W3C is a-okay; the multi-column layout module CSS3</title>
		<link>http://ztags4xforms.com/wordpress/?p=76</link>
		<comments>http://ztags4xforms.com/wordpress/?p=76#comments</comments>
		<pubDate>Thu, 02 Apr 2009 04:45:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Xforms]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[multi-column]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://ztags4xforms.com/wordpress/?p=76</guid>
		<description><![CDATA[The W3C&#8217;s job is setting standards, and as such, they make rules&#8211;rules that compliant browsers need to follow. As we know, any person or group that has to make rules often ruffle others&#8217; feathers for a whole myriad of reasons. Rules are rigid&#8211;especially with computer standards. People like flexibility and the &#8220;old&#8221; comfortable way of [...]]]></description>
			<content:encoded><![CDATA[<p>The W3C&#8217;s job is setting standards, and as such, they make rules&#8211;rules that compliant browsers need to follow. As we know, any person or group that has to make rules often ruffle others&#8217; feathers for a whole myriad of reasons. Rules are rigid&#8211;especially with computer standards. People like flexibility and the &#8220;old&#8221; comfortable way of doing things.</p>
<p>Here is one issue, however, that exemplifies the W3C and their long term goals and how they actually have some meaning in real world application. <span id="more-76"></span></p>
<p>Anyone remember tables? Tables for layout, I mean. It was easy, simple&#8211;the comfortable way&#8211;especially for us non-experts. But as technology and information delivery devices have become more popular and more diverse, tables just didn&#8217;t cut it any more. They are clunky, and inflexible.  The W3C understood this and discouraged tables as layouts. We baulked and moaned and didn&#8217;t really have the vision to see how we could possibly design without tables as layout.</p>
<p>Resistantly (because no one likes extra work, right), we realized we better get on board and figure out how to do page layouts without tables.</p>
<p>Then came a whole host of problems. Exactly how can we achieve the columnar effects of a table? Without getting into details, do a google search for &#8220;CSS column layout&#8221; and see how many hits you get.</p>
<p>It was an adjustment that some resisted, but the W3C was right. We needed to get away from tables for layout. However, they didn&#8217;t offer much by way of alternatives&#8211;well, not any that non-experts or non-web-masters could easily follow.</p>
<p>Finally comes the W3C standard that works. And you don&#8217;t have to be a web guru to figure it out. How difficult is it to understand &#8220;column-width: 13ex;&#8221;  &#8220;column-count: 2;&#8221; and &#8220;column-gap: 1ex;&#8221;?  Even if you only play around with web pages and know only basic CSS, this is not very difficult to understand at all. Think of the power now that is given to the non-expert in making pages that look as professional as any magazine or newspaper, and without all the hassles of whatever your favorite way of doing columns is right now.  And such a standard will ensure that your columns work across information devices.  Bravo!</p>
<p>SEE the article I read that prompted this post (there were others, I just chose this one for the examples&#8211;which, btw, only work in Mozilla or Safari, I think).</p>
<p><a href="http://www.quirksmode.org/css/multicolumn.html">http://www.quirksmode.org/css/multicolumn.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=76</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Be careful with code copying</title>
		<link>http://ztags4xforms.com/wordpress/?p=1</link>
		<comments>http://ztags4xforms.com/wordpress/?p=1#comments</comments>
		<pubDate>Mon, 20 Oct 2008 21:05:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ztags4xforms.com/wordpress/?p=1</guid>
		<description><![CDATA[If you copy any codes from my posts be aware that you&#8217;ll have to replace all quotation marks and apostrophes and double dashes in your regular text editor.
]]></description>
			<content:encoded><![CDATA[<p>If you copy any codes from my posts be aware that you&#8217;ll have to replace all quotation marks and apostrophes and double dashes in your regular text editor.</p>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xforms Multiple Constraints</title>
		<link>http://ztags4xforms.com/wordpress/?p=75</link>
		<comments>http://ztags4xforms.com/wordpress/?p=75#comments</comments>
		<pubDate>Wed, 30 Jan 2008 04:51:57 +0000</pubDate>
		<dc:creator>clarkepeters</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Xforms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://clarkepeters.wordpress.com/?p=81</guid>
		<description><![CDATA[Here is an example code for how to do multiple constraints on a form.

&#60;?xml version=&#8221;1.0&#8243; ?&#62;
&#60;?xml-stylesheet href=&#8221;xforms.css&#8221; type=&#8221;text/css&#8221;?&#62;
&#60;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;
xmlns:xf=&#8221;http://www.w3.org/2002/xforms&#8221;&#62;
&#60;head&#62;
&#60;title&#62;Using XForms&#60;/title&#62;
&#60;xf:model id=&#8221;login&#8221;&#62;
&#60;xf:instance xmlns=&#8221;"&#62;
&#60;verifyUser&#62;
&#60;userID1/&#62;
&#60;userID2/&#62;
&#60;password1/&#62;
&#60;password2/&#62;
&#60;email1/&#62;
&#60;email2/&#62;
&#60;/verifyUser&#62;
&#60;/xf:instance&#62;
&#60;!&#8211;  This will NOT work!! (although it will work for a singlen constraint)
&#60;xf:bind constraint=&#8221;//userID1=//userID2&#8243; /&#62;
&#60;xf:bind constraint=&#8221;//password1=//password2&#8243;/&#62;
&#60;xf:bind constraint=&#8221;//email1=//email2&#8243;/&#62;
&#8211;&#62;
&#60;xf:bind nodeset=&#8221;//userID1&#8243; constraint=&#8221;.=//userID2&#8243;/&#62;
&#60;xf:bind nodeset=&#8221;//password1&#8243; constraint=&#8221;.=//password2&#8243;/&#62;
&#60;xf:bind nodeset=&#8221;//email1&#8243; constraint=&#8221;.=//email2&#8243;/&#62;
&#60;xf:submission action=&#8221;viewsubmitdata.php&#8221; method=&#8221;post&#8221; id=&#8221;loginsubmit&#8221;/&#62;
&#60;/xf:model&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;xf:input ref=&#8221;//userID1&#8243; model=&#8221;login&#8221;&#62;
&#60;xf:label&#62;Username1 &#60;/xf:label&#62;
&#60;/xf:input&#62;
&#60;xf:input ref=&#8221;//userID2&#8243; model=&#8221;login&#8221;&#62;
&#60;xf:label&#62;Username2 &#60;/xf:label&#62;
&#60;/xf:input&#62;
&#60;xf:input ref=&#8221;//password1&#8243; [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an example code for how to do multiple constraints on a form.</p>
<p><span id="more-75"></span></p>
<div style="color:#000044; font-size:80%; margin:3ex;">&lt;?xml version=&#8221;1.0&#8243; ?&gt;<br />
&lt;?xml-stylesheet href=&#8221;xforms.css&#8221; type=&#8221;text/css&#8221;?&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;<br />
xmlns:xf=&#8221;http://www.w3.org/2002/xforms&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Using XForms&lt;/title&gt;</p>
<p>&lt;xf:model id=&#8221;login&#8221;&gt;<br />
&lt;xf:instance xmlns=&#8221;"&gt;<br />
&lt;verifyUser&gt;<br />
&lt;userID1/&gt;<br />
&lt;userID2/&gt;<br />
&lt;password1/&gt;<br />
&lt;password2/&gt;<br />
&lt;email1/&gt;<br />
&lt;email2/&gt;<br />
&lt;/verifyUser&gt;<br />
&lt;/xf:instance&gt;</p>
<p>&lt;!&#8211;  This will NOT work!! (although it will work for a singlen constraint)<br />
&lt;xf:bind constraint=&#8221;//userID1=//userID2&#8243; /&gt;<br />
&lt;xf:bind constraint=&#8221;//password1=//password2&#8243;/&gt;<br />
&lt;xf:bind constraint=&#8221;//email1=//email2&#8243;/&gt;<br />
&#8211;&gt;</p>
<p>&lt;xf:bind nodeset=&#8221;//userID1&#8243; constraint=&#8221;.=//userID2&#8243;/&gt;<br />
&lt;xf:bind nodeset=&#8221;//password1&#8243; constraint=&#8221;.=//password2&#8243;/&gt;<br />
&lt;xf:bind nodeset=&#8221;//email1&#8243; constraint=&#8221;.=//email2&#8243;/&gt;</p>
<p>&lt;xf:submission action=&#8221;viewsubmitdata.php&#8221; method=&#8221;post&#8221; id=&#8221;loginsubmit&#8221;/&gt;<br />
&lt;/xf:model&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;xf:input ref=&#8221;//userID1&#8243; model=&#8221;login&#8221;&gt;<br />
&lt;xf:label&gt;Username1 &lt;/xf:label&gt;<br />
&lt;/xf:input&gt;</p>
<p>&lt;xf:input ref=&#8221;//userID2&#8243; model=&#8221;login&#8221;&gt;<br />
&lt;xf:label&gt;Username2 &lt;/xf:label&gt;<br />
&lt;/xf:input&gt;</p>
<p>&lt;xf:input ref=&#8221;//password1&#8243; model=&#8221;login&#8221;&gt;<br />
&lt;xf:label&gt;pw1 &lt;/xf:label&gt;<br />
&lt;/xf:input&gt;</p>
<p>&lt;xf:input ref=&#8221;//password2&#8243; model=&#8221;login&#8221;&gt;<br />
&lt;xf:label&gt;pw2 &lt;/xf:label&gt;<br />
&lt;/xf:input&gt;</p>
<p>&lt;xf:input ref=&#8221;//email1&#8243; model=&#8221;login&#8221;&gt;<br />
&lt;xf:label&gt;em1 &lt;/xf:label&gt;<br />
&lt;/xf:input&gt;</p>
<p>&lt;xf:input ref=&#8221;//email2&#8243; model=&#8221;login&#8221;&gt;<br />
&lt;xf:label&gt;em2 &lt;/xf:label&gt;<br />
&lt;/xf:input&gt;</p>
<p>&lt;xf:submit submission=&#8221;loginsubmit&#8221;&gt;<br />
&lt;xf:label&gt;Log In&lt;/xf:label&gt;<br />
&lt;/xf:submit&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=75</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Xquery article by Kurt Cagle</title>
		<link>http://ztags4xforms.com/wordpress/?p=74</link>
		<comments>http://ztags4xforms.com/wordpress/?p=74#comments</comments>
		<pubDate>Tue, 09 Oct 2007 21:50:05 +0000</pubDate>
		<dc:creator>clarkepeters</dc:creator>
				<category><![CDATA[Xforms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://clarkepeters.wordpress.com/2007/10/09/an-xquery-article-by-kurt-cagle/</guid>
		<description><![CDATA[XQuery, the Server Language
An Xquery article by Kurt Cagle.
]]></description>
			<content:encoded><![CDATA[<h2><font color="#800080"><a href="http://www.xml.com/pub/a/2007/06/01/xquery-the-server-language.html?CMP=OTC-TY3388567169&amp;ATT=XQuery+the+Server+Language" target="_blank">XQuery, the Server Language</a></font></h2>
<p>An Xquery article by Kurt Cagle.</p>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=74</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A better Legendary Toggle</title>
		<link>http://ztags4xforms.com/wordpress/?p=73</link>
		<comments>http://ztags4xforms.com/wordpress/?p=73#comments</comments>
		<pubDate>Tue, 09 Oct 2007 20:51:51 +0000</pubDate>
		<dc:creator>clarkepeters</dc:creator>
				<category><![CDATA[Xforms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://clarkepeters.wordpress.com/2007/10/09/a-better-legendary-toggle/</guid>
		<description><![CDATA[I put a toggle inside a legend simply because it just popped in my head to try it. This same procedure could work with any type of grouped data without having a legend at all (see Switch/Case Toggle Template or Using Switch Case as a drop down box).
In my post  Xforms: The Legendary Toggle
I [...]]]></description>
			<content:encoded><![CDATA[<p>I put a toggle inside a legend simply because it just popped in my head to try it. This same procedure could work with any type of grouped data without having a legend at all (see <a title="Permanent Link to Switch/Case Toggle Template" rel="bookmark" href="http://ztags4xforms.com/wordpress/?p=48">Switch/Case Toggle Template</a> or <a title="Using Switch Case as a drop down box" rel="bookmark" href="http://ztags4xforms.com/wordpress/?p=12">Using Switch Case as a drop down box</a>).<br />
In my post  <a title="The Legendary Toggle" rel="bookmark" href="   http://ztags4xforms.com/wordpress/?p=33">Xforms: The Legendary Toggle</a><br />
I use two cases with the Switch/Case method to get the effect I wanted&#8211;inside the cases are two triggers each with an xforms-toggle&#8211;one trigger hides while the other is visible, and vice versa.</p>
<p>However, one doesn&#8217;t need a switch/case at all but can rely  on &#8220;relevance&#8221; to get the same effect, without as much coding, and by only using one, instead of two, triggers.  Credit for this approach goes to the xforms administrator at <span style="text-decoration: line-through;">xforms.org</span>.<a href="http://xforms.org" target="_blank"><br />
<span id="more-73"></span><br />
</a></p>
<p>There is also a tip on how to toggle through a slideshow.  Check it out,  I really learned something.  <span style="text-decoration: line-through;">http://xforms.org/index.php?topic=177.0</span></p>
<p>I&#8217;m posting my own code here just for my own personal reference, but take a look at the other code on that site as well, &#8211;the administrator is an xforms expert, so you&#8217;ll learn much.</p>
<pre style="margin-top:0;display:inline;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;h:html xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xf="http://www.w3.org/2002/xforms"&gt;
&lt;h:head&gt;
&lt;h:title&gt;Test&lt;/h:title&gt;
&lt;xf:model id='mod2'&gt;
&lt;xf:instance id='inst2'&gt;
&lt;data xmlns=""&gt;
&lt;toggleState&gt;0&lt;/toggleState&gt;
&lt;toggleOn/&gt;
&lt;toggleOff/&gt;
&lt;/data&gt;
&lt;/xf:instance&gt;
&lt;xf:bind  nodeset='toggleOn' relevant='//toggleState = 1'/&gt;
&lt;xf:bind  nodeset='toggleOff' relevant='//toggleState = 0'/&gt;
&lt;/xf:model&gt;
&lt;h:style type="text/css"&gt;&lt;![CDATA[
fieldset {width:200px;paddding:5px;border:solid 1px blue;}
legend {padding:5px;background-color:red;color:white;font-weight:bold;border:outset 2px red;}
legend:active {border:inset 2px red;}
]]&gt;&lt;/h:style&gt;
&lt;/h:head&gt;
&lt;h:body&gt;
&lt;xf:output ref="//toggleState"/&gt;
&lt;h:fieldset id="fs1"&gt;
&lt;h:legend&gt;
&lt;xf:trigger appearance="minimal"&gt;
&lt;xf:label&gt;Toggle Set&lt;/xf:label&gt;
&lt;xf:setvalue model='mod2' ref='//toggleState'
value="if(number(.)=1,0,1)" ev:event="DOMActivate"/&gt;
&lt;/xf:trigger&gt;
&lt;/h:legend&gt;
&lt;xf:group model='mod2' ref='//toggleOff'&gt;
&lt;/xf:group&gt;
&lt;xf:group model='mod2' ref='//toggleOn'&gt;
&lt;h:p&gt;Something here .... yada yada&lt;/h:p&gt;
&lt;/xf:group&gt;
&lt;/h:fieldset&gt;
&lt;/h:body&gt;
&lt;/h:html&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=73</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Thoughts on xforms php and the DOM</title>
		<link>http://ztags4xforms.com/wordpress/?p=72</link>
		<comments>http://ztags4xforms.com/wordpress/?p=72#comments</comments>
		<pubDate>Tue, 09 Oct 2007 20:23:01 +0000</pubDate>
		<dc:creator>clarkepeters</dc:creator>
				<category><![CDATA[Xforms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://clarkepeters.wordpress.com/2007/10/09/thoughts-on-xforms-php-and-the-dom/</guid>
		<description><![CDATA[Anyone who has followed my blog knows that I use php to parse my xml data by simply putting my data into an indexed array or an associative array and then manipulating the data as you would any other arrayed data (see http://clarkepeters.wordpress.com/2007/09/02/parsing-without-the-dom-or-simplexml-in-php/.    I&#8217;m not advocating, however, that this is the best [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who has followed my blog knows that I use php to parse my xml data by simply putting my data into an indexed array or an associative array and then manipulating the data as you would any other arrayed data (see<a href="http://ztags4xforms.com/wordpress/?p=26" title="Parsing without the DOM ..."> http://clarkepeters.wordpress.com/2007/09/02/parsing-without-the-dom-or-simplexml-in-php/</a>.    I&#8217;m not advocating, however, that this is the best method for dealing with xml&#8211;it&#8217;s not.  The DOM or SimpleXml or other parser&#8217;s are designed specifically to handle xml. For anyone who has the time and inclination,  learn how to parse with an xml parser. That is especially important when your handling files from sources that are not your own.</p>
<p>One thing you will notice, however, is that as you become more versed in xforms, you&#8217;ll find less and less need to rely on the DOM for data manipulation. <span id="more-72"></span>One might, then, want to get well versed in both xpath and xforms before putting time into learning how to manipulate data with the DOM. (Come to think of it, I think you can do just about everything you need using PHP with Xpath, so that may just obviate the need for the DOM&#8211;but I&#8217;ll let some expert comment on that if they like).</p>
<p>[ note: Xforms uses xpath expressions; however, don't confuse learning xpath with learning xslt which also relies on xpath expressions. check out <a href="http://www.w3schools.com/xforms/xforms_xpath.asp" title="w3schools">http://www.w3schools.com/xforms/xforms_xpath.asp</a>]</p>
<p>I handle my data with arrays simply because I am a professor of English who has a lot of demands on his time that aren&#8217;t computer related, and since I&#8217;m handling my own personal data when programming, and I know my own schema, I have simply found it the best way to get involved with xforms and xml now without having to learn anything other than basic DOM manipulation (I&#8217;m also an old time procedural language fella&#8217; who tends to think in old ways, so it is only natural that I would take a procedural approach to doing things until I can master the more declarative approaches).  And I wish like heck I had more time to get all I could out of xforms and xpath, the more I learn about xforms, the more I see it&#8217;s power and simplicity.</p>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=72</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hiding dropovers with CSS and Xforms</title>
		<link>http://ztags4xforms.com/wordpress/?p=71</link>
		<comments>http://ztags4xforms.com/wordpress/?p=71#comments</comments>
		<pubDate>Wed, 19 Sep 2007 22:13:18 +0000</pubDate>
		<dc:creator>clarkepeters</dc:creator>
				<category><![CDATA[Xforms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://clarkepeters.wordpress.com/2007/09/19/hiding-dropovers-with-css-and-xforms/</guid>
		<description><![CDATA[A dropover is a drop box that is intended to drop down over any elements that are displayed below it.
For an example see Drop Down over/above lower text  (Xforms Switch and CSS).  In fact, you&#8217;ll need to look over that post to get an idea of what&#8217;s going on here (you may want [...]]]></description>
			<content:encoded><![CDATA[<p>A dropover is a drop box that is intended to drop down over any elements that are displayed below it.<br />
For an example see <a title="Permanent Link to Drop Down over/above lower text  (Xforms Switch and CSS)" rel="bookmark" href="http://ztags4xforms.com/wordpress/?p=51">Drop Down over/above lower text  (Xforms Switch and CSS)</a>.  In fact, you&#8217;ll need to look over that post to get an idea of what&#8217;s going on here (you may want to look at <a title="Permanent Link to Switch/Case Toggle Template" rel="bookmark" href="http://ztags4xforms.com/wordpress/?p=48">Switch/Case Toggle Template</a> or  <a title="Permanent Link to Using Switch Case as a drop down box" rel="bookmark" href="http://ztags4xforms.com/wordpress/?p=12">Using Switch Case as a drop down box</a>). <span id="more-71"></span></p>
<p>You&#8217;ll also need to look at  <a title="Permanent Link to No files selected (using xf:bind and relevant)" rel="bookmark" href="http://ztags4xforms.com/wordpress/?p=59">No files selected (using xf:bind and relevant)</a> &#8211;the point of that post not being the file selection but the ability to hide any portion of your document, dependent on some condition, by combining the use of xforms-group, xforms-bind, and xforms-relevant.  We&#8217;ll use all these in this solution.</p>
<p>First, let&#8217;s get to the problem.  I was using the css absolute position to allow my menu box to drop down over other elements. Then I decided to have two such boxes do the same thing. There is only one problem. When two absolute positioned divs are next to each other, either side-by-side or one above the other in a column style,  the second div text won&#8217;t hide.  A picture is worth a thousand words, so here:</p>
<p>in columnar fashion:</p>
<p><a title="dropovers0a.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers0a.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers0a.png" alt="dropovers0a.png" /></a><a title="dropovers0b.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers0b.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers0b.png" alt="dropovers0b.png" /></a></p>
<p>or in bar fashion</p>
<p><a title="dropovers.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers.png" alt="dropovers.png" /><br />
</a></p>
<p><a title="dropovers2.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers2.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers2.png" alt="dropovers2.png" /></a></p>
<p>and sometimes you get this, which is actually pretty cool, but not very useful:</p>
<p><a title="dropovers3.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers3.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers3.png" alt="dropovers3.png" /></a></p>
<p>Sticking with the bar menu, here&#8217;s how the divisions are set (this is the structure, not the exact coding):</p>
<pre>&lt;h:div style="padding:1ex; position:<span style="color: #800000;">relative</span>;"&gt;

&lt;h:div style="position:<span style="color: #800000;">absolute</span>; left:1ex; top:2ex;"&gt;
&lt;!-- ******** Main Menu *************--&gt;
&lt;h:div&gt;

&lt;h:div style="position:<span style="color: #800000;">absolute;</span> left:22ex; top:2ex;"&gt;
&lt;!-- ******** View File List ******* --&gt;
&lt;h:div&gt;

&lt;h:div&gt;</pre>
<pre>..... the rest of the xhtml+xforms doc</pre>
<pre>&lt;/h:html&gt;</pre>
<p>The best way to overcome this problem is to encase the &#8216;view file list&#8217; division inside an xf:group that depends on the relevancy of another element. By doing so, when the dependant element becomes some other value than 1&#8211;in our case, zero&#8211; then the &#8216;view file list&#8217; will simply disappear.<br />
code:</p>
<pre>&lt;h:div style="padding:1ex; position:relative;"&gt;

&lt;h:div style="position:absolute; left:1ex; top:2ex;"&gt;
&lt;!-- ******** Main Menu *************--&gt;
&lt;h:div&gt;

<span style="color: #800000;">&lt;xf:group model='mod2' ref='//fileListOn'&gt;</span>
&lt;h:div style="position:absolute; left:22ex; top:2ex;"&gt;
&lt;!-- ******** View File List ******* --&gt;
&lt;h:div&gt;
<span style="color: #800000;">   &lt;/xf:group&gt;</span>

&lt;h:div&gt;</pre>
<p>I have decided that in all my xhtml+xforms to keep a model &#8220;mod2&#8243; that is set aside exclusively for controlling controls.  So in our mod2, as shown in my earlier posts, we&#8217;ll add this (ignore all but the highlighted):</p>
<pre>&lt;xf:model id="mod2"&gt;
&lt;xf:instance id="inst2"&gt;
&lt;data xmlns=""&gt;
&lt;uplSelected&gt;0&lt;/uplSelected&gt;
&lt;uplTriggerOn/&gt;
&lt;uplTriggerOff/&gt;
&lt;delFileSelected&gt;0&lt;/delFileSelected&gt;
&lt;delTriggerOn/&gt;
&lt;delTriggerOff/&gt;
<span style="color: #800000;">         &lt;vwFileList&gt;1&lt;/vwFileList&gt;
&lt;fileListOn/&gt;</span>
&lt;/data&gt;
&lt;/xf:instance&gt;

&lt;xf:bind  nodeset="uplTriggerOn" relevant="//uplSelected = 1"/&gt;
&lt;xf:bind  nodeset="uplTriggerOff" relevant="//uplSelected = 0"/&gt;
&lt;xf:bind  nodeset="delTriggerOn" relevant="//delFileSelected = 1"/&gt;
&lt;xf:bind  nodeset="delTriggerOff" relevant="//delFileSelected = 0"/&gt;
<span style="color: #800000;">   &lt;xf:bind  nodeset="fileListOn" relevant="//vwFileList = 1"/&gt;
</span>&lt;/xf:model&gt;</pre>
<p>Notice that vwFileList is initially set to 1, this allows for an initial view of the &#8216;view list file&#8217; division.</p>
<p>So we need to set up how the vwFileList value will get changed from 1 to 0, making the vwFileList value a zero, hence, making the fileList On element irrelevant, hence, hiding the xf:group for &#8216;view list file&#8217; division. We&#8217;ll do this in our &#8216;main menu&#8217; Switch/case section. This way when someone clicks on the main menu to open it, the &#8216;view file list&#8217; will disappear. When they click on it again to close it,  the &#8216;view file list&#8217; will reappear. (I left out the styling below&#8211;keep in mind that the filedset width of  &#8216;main menu&#8217; and &#8216;view file list&#8217; is set at 24ex )</p>
<pre>&lt;xf:switch&gt;

&lt;xf:case id='menuShut'&gt;
&lt;xf:trigger appearance='minimal'&gt;
&lt;xf:label&gt;:: Main Menu ::&lt;/xf:label&gt;
&lt;xf:toggle case='menuOpen' ev:event='DOMActivate'/&gt;
<span style="color: #800000;">                &lt;xf:setvalue ev:event="DOMActivate" model="mod2"
ref='//vwFileList' value="'0'"/&gt;</span>
&lt;/xf:trigger&gt;
&lt;/xf:case&gt;

&lt;xf:case id='menuOpen'&gt;
&lt;xf:trigger appearance='minimal'&gt;
&lt;xf:label&gt;:: Main Menu ::&lt;/xf:label&gt;
&lt;xf:toggle case='menuShut' ev:event='DOMActivate'/&gt;
<span style="color: #800000;">                &lt;xf:setvalue ev:event="DOMActivate" model="mod2"
ref='//vwFileList' value="'1'"/&gt;</span>
&lt;/xf:trigger&gt;

.... the MENU contents here .....
.... the MENU contents here .....
&lt;/xf:case&gt;

&lt;/xf:switch&gt;</pre>
<p>The outcome will look like this, notice the disappearing &#8216;view file list&#8217; :</p>
<p><a title="dropovers.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers.png" alt="dropovers.png" /></a></p>
<p><a title="dropovers4.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers4.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers4.png" alt="dropovers4.png" /></a></p>
<p><a title="dropovers5.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers5.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/dropovers5.png" alt="dropovers5.png" /></a><!--more--></p>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=71</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No files selected (using xf:bind and relevant)</title>
		<link>http://ztags4xforms.com/wordpress/?p=59</link>
		<comments>http://ztags4xforms.com/wordpress/?p=59#comments</comments>
		<pubDate>Sun, 16 Sep 2007 08:26:35 +0000</pubDate>
		<dc:creator>clarkepeters</dc:creator>
				<category><![CDATA[Xforms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://clarkepeters.wordpress.com/2007/09/16/no-files-selected-using-xfbind-and-relevant/</guid>
		<description><![CDATA[I have an xhtml+xforms form in which users are viewing or deleting files from their server. (see earlier posts if you want to know more).
The file names are stored in an xml instance that the xforms is based on. The file names are listed as items in an xf:select1 control (actually in this case, it’s [...]]]></description>
			<content:encoded><![CDATA[<p>I have an xhtml+xforms form in which users are viewing or deleting files from their server. (see earlier posts if you want to know more).<br />
The file names are stored in an xml instance that the xforms is based on. The file names are listed as items in an xf:select1 control (actually in this case, it’s an itemset). When they click a file name, voila! they get to view their file (or delete it).</p>
<p>But what if they forgot to click on a file before clicking the load or submit button? <span id="more-59"></span>It’s unlikely, but if someone happens to be using this particular page frequently in one sitting, it’s not entirely unlikey either, and in such a case they’ll get a nasty error message which will freak them out (especailly if it were a situation where they were saving or deleting –they wouldn’t really know what happened).</p>
<p>So first let’s put an extra model in our xforms (you could just add an extra instance to your current model, I suppose, but It’s much easier, from my perspective, to reference a second model than a second instance–besides, currently, mozilla is having some trouble reading the xml instance when there are multiple instances). So here it is:</p>
<pre>
<font color="#0000ff">&lt;xf:model id=”mod2?&gt;
   &lt;xf:instance id=”inst2?&gt;
      &lt;data xmlns=”"&gt;
         &lt;delFileSelected&gt;0&lt;/delFileSelected&gt;
         &lt;delTriggerOn/&gt;
         &lt;delTriggerOff/&gt;

         &lt;vwFileSelected&gt;0&lt;/vwFileSelected&gt;
         &lt;vwTriggerOn/&gt;
         &lt;vwTriggerOff/&gt;
      &lt;/data&gt;
   &lt;/xf:instance&gt;

   &lt;xf:bind  nodeset=”delTriggerOn” relevant=”//delFileSelected = 1?/&gt;
   &lt;xf:bind  nodeset=”delTriggerOff” relevant=”//delFileSelected = 0?/&gt;
   &lt;xf:bind  nodeset=”vwTriggerOn” relevant=”//vwFileSelected = 1?/&gt;
   &lt;xf:bind  nodeset=”vwTriggerOff” relevant=”//vwFileSelected = 0?/&gt;
&lt;/xf:model&gt;</font></pre>
<p>For now, we’re going to ignore the “del….” parts of the model, I just included it here so that you can see that this model could be built to handle several different types of situations. So let’s just focus on the vw (view) elements, like below:</p>
<pre>
<font color="#0000ff">&lt;xf:model id=”mod2?&gt;
   &lt;xf:instance id=”inst2?&gt;
      &lt;data xmlns=”"&gt;
…
         &lt;vwFileSelected&gt;0&lt;/vwFileSelected&gt;
         &lt;vwTriggerOn/&gt;
         &lt;vwTriggerOff/&gt;
      &lt;/data&gt;
   &lt;/xf:instance&gt;
…
   &lt;xf:bind  nodeset=”vwTriggerOn” relevant=”//vwFileSelected = 1?/&gt;
   &lt;xf:bind  nodeset=”vwTriggerOff” relevant=”//vwFileSelected = 0?/&gt;
&lt;/xf:model&gt;</font></pre>
<p>These elements are going to control my controls. Basically it is all set around the value of the “vwFileSelected” element. If the element’s value is zero, we’ll hide one control and show the other. If the element equals one, vice-versa.<br />
We’ll do this by wrapping the controls with xf:group elements and each group element will refer back to vwTriggerOn or vwTriggerOff.<br />
Notice the xf: bind element. The vwTriggers depend on this bind–and hence, the value of vwFileSelected. If someone doesnt’ click on a file in the xf:select1 control, then the vwTriggerOff will show because the vwFileSelected is initially set at zero.<br />
Then, using xf:setvalue with event xforms-select inside the xf:select1 control, the vwFileSelected will be set to one and so the vwTriggers switch roles.<br />
In this example the &#8220;view&#8221; button will appear unfocused until someone selects a file, then it will appear in full color.<br />
As the images below will also show, it appears as if we have a single “view” trigger. But underneath the hood, they’re really two separate triggers which means, importantly, that even if someone attempts to click on it the trigger won’t work. Here’s the images:</p>
<pre>
<a href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/vwfile1.png" title="vwfile1.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/vwfile1.png" alt="vwfile1.png" /></a>

<a href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/vwfile2.png" title="vwfile2.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/vwfile2.png" alt="vwfile2.png" /></a></pre>
<p>Here’s the code&#8211;I left most of the styling out in order not to clutter the code, but you&#8217;ll get the same basic effect:</p>
<pre><font color="#0000ff">
   &lt;xf:select1 ref="viewFile" appearance="minimal"&gt;
      <font color="#800000">&lt;xf:setvalue model=”mod2? ref=”//vwFileSelected”
                        value=”‘1?” ev:event=”xforms-select”/&gt;</font>
        &lt;xf:label&gt;Select a Form: &lt;/xf:label&gt;

        &lt;xf:itemset nodeset=”//file”&gt;
          &lt;xf:value ref=”@full” /&gt;
          &lt;xf:label ref=”@text” /&gt;
        &lt;/xf:itemset&gt;

    &lt;/xf:select1&gt;(opens in new tab or window)

  <font color="#800000"> &lt;xf:group model=”mod2? ref=”vwTriggerOff”&gt;&lt;h:p/&gt;</font>
      &lt;xf:trigger appearance=”minimal”&gt;
         &lt;xf:label&gt;&lt;h:span style="color:#dododo&gt;
             View
         &lt;/h:span&gt;&lt;/xf:label&gt;
      &lt;/xf:trigger&gt;
   <font color="#800000">&lt;/xf:group&gt;</font>

 <font color="#800000">  &lt;xf:group model=”mod2? ref=”//vwTriggerOn”&gt;&lt;h:p/&gt;</font>
   &lt;xf:submit id="subm1zaz" class="subm"
      submission="xfviewstyle" appearance='minimal'&gt;
      &lt;xf:label&gt;
        &lt;h:fieldset style="color:#000033;"&gt;
        View
      &lt;/h:fieldset&gt;
      &lt;/xf:label&gt;
   &lt;/xf:submit&gt;
<font color="#800000">   &lt;/xf:group&gt;</font></font>

/* as a footnote I tried this with xf:load as shown below,
but the trigger wouldn't activate regardless of the vwFileSelected value.
Don't know if it's a bad xpath reference on my part
(and I tried every path route I could think of) or a Mozilla bug.
You can see the code below is exactly like the above only substituting
xf:load control for xf:submit. If anyone has a clue let me know. */
   &lt;xf:group model=”mod2? ref=”//vwTriggerOn”&gt;&lt;h:p/&gt;
      &lt;xf:trigger appearance = “minimal”&gt;
         &lt;xf:label&gt;&lt;h:span style="color:#000033&gt;
               View
         &lt;/xf:label&gt;
         &lt;xf:action ev:event=”DOMActivate” ref=”//viewFile”&gt;
            &lt;xf:load  ref=”//viewFile” show=”new” /&gt;
         &lt;/xf:action&gt;
      &lt;/xf:trigger&gt;
   &lt;/xf:group&gt;</pre>
<p>At any rate, it works great with submit control as I tested it quite thoroughly and also use it with my delete files optoin as well.</p>
<p>An alternate solution, is to simply do away with  the first xf:group (the fake &#8220;view&#8221; trigger) . In this case you&#8217;d have only the select box showing and then when someone clicked on a file, the &#8220;view&#8221; trigger would appear.</p>
<p>And yet another approach, if you like, you can add some text right below the trigger (not inside the trigger element but just below it) as such:</p>
<pre>
<font color="#0000ff">&lt;h:span style=’font-size:105%;color:#800000?&gt;
&lt;xf:output model=”mod2? value=”if(<font color="#800000">//vwFileSelected != 1</font>,’NO FILES SELECTED’,”)”/&gt;
&lt;/h:span&gt;</font></pre>
<p>The above gives a single message that dissappears after a selection is made. However, you can have an alternate text in the xf:output like this:</p>
<pre><font color="#0000ff">…’NO FILES SELECTED’,’OK’ )”</font></pre>
<p>If you have a deselect situation (and I saw no need for that in my viewing situation) make sure you set the xfFileSelected value back to zero so the &#8220;View&#8221; trigger loses focus again (and/or the ‘NO FILES SELECTED&#8217; message reappears). In the situation of a select with apperance = ‘full’ just add this line inside the select or select1 along with the other setvalue.</p>
<pre>      &lt;xf:setvalue model="mod2" ref="//vwFileSelected"
                        value="'0'" ev:event=“<font color="#800000">xforms-deselect</font>”/&gt;</pre>
<p>In my case, in my delete files situation, Mozilla won’t allow a deselect on an xf:select (multiple select) appearance=’minimal’, so I added this trigger right above my selection box. Notice that the value of my instance element is set to “” –nothing, and that the value of my “mod2? instance element is reset to zero.</p>
<pre>&lt;xf:trigger&gt;&lt;xf:label&gt;deselect choice/s&lt;/xf:label&gt;
   &lt;xf:setvalue ref="//deleteFiles" <font color="#800000">value=”"</font> ev:event=”DOMActivate”/&gt;
   &lt;xf:setvalue <font color="#800000">model=”mod2”</font> <font color="#800000">ref=”//delFileSelected” value=”0?</font> ev:event=”DOMActivate”/&gt;
&lt;/xf:trigger&gt;&lt;h:br/&gt;</pre>
<p>Again,what’s cool about this it that we never have to make a trip to the server nor lose the focus of our page while double checking that a control has been, or not been, selected–while simultaneously controlling the active state of the displayed trigger.</p>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=59</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drop Down over/above lower text  (Xforms Switch and CSS)</title>
		<link>http://ztags4xforms.com/wordpress/?p=51</link>
		<comments>http://ztags4xforms.com/wordpress/?p=51#comments</comments>
		<pubDate>Thu, 13 Sep 2007 12:01:31 +0000</pubDate>
		<dc:creator>clarkepeters</dc:creator>
				<category><![CDATA[Xforms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://clarkepeters.wordpress.com/2007/09/13/51/</guid>
		<description><![CDATA[Here are some images that show how the  Switch/Case Toggle works  (see   Switch/Case Toggle Template ) .  In this particular example, notice how the box drops down above the division below it  rather then pushing that division down (which is how it normally operates without any CSS styling).  [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some images that show how the  Switch/Case Toggle works  (see   <a title="Permanent Link to Swith/Case Toggle Template" rel="bookmark" href="http://ztags4xforms.com/wordpress/?p=48">Switch/Case Toggle Template</a> ) .  In this particular example, notice how the box drops down above the division below it  rather then pushing that division down (which is how it normally operates without any CSS styling).  In this case, all I have are two divisions, one division is wrapped around the Switch/Case Toggle and the other division encases the rest of the form. <span id="more-51"></span> I have only made one alteration with CSS and that is, I styled the top division that encases the Menu with  position set at absolute (&lt;h:div style=&#8221;position:absolute;&gt;&#8221;). That&#8217;s it, no left or right or top attributes, and the second division, the one sitting under the menu, has no styling.  (Actually, I do have some margins set in the menu division that moves my menu to the right, but that is irrelavant as I have tested it with and without margins.)</p>
<p>[ on a different note, if your interested how I got the "legend" look on a switch/case, see<a title="The Legendary Toggle" rel="bookmark" href="http://ztags4xforms.com/wordpress/?p=33"> Xforms: The Legendary Toggle</a> ]</p>
<p><a title="abspulldown3.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/abspulldown3.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/abspulldown3.png" alt="abspulldown3.png" /></a></p>
<p><a title="abspulldown4.png" href="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/abspulldown4.png"><img src="http://ztags4xforms.com/wordpress/wp-content/uploads/2007/09/abspulldown4.png" alt="abspulldown4.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=51</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Switch/Case Toggle Template</title>
		<link>http://ztags4xforms.com/wordpress/?p=48</link>
		<comments>http://ztags4xforms.com/wordpress/?p=48#comments</comments>
		<pubDate>Wed, 12 Sep 2007 12:39:31 +0000</pubDate>
		<dc:creator>clarkepeters</dc:creator>
				<category><![CDATA[Xforms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://clarkepeters.wordpress.com/2007/09/12/swithcase-toggle-template/</guid>
		<description><![CDATA[Here&#8217;s template I keep handy for what I call my switch/case toggle box&#8211; I use it especially for tips and notes but it could be used for just about anything.  
&#60;!-- ********** SWITCH/CASE TOGGLE***************************** --&#62;
&#60;!-- Lorem ipsum --&#62;
           &#60;xf:switch&#62;
      [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s template I keep handy for what I call my switch/case toggle box&#8211; I use it especially for tips and notes but it could be used for just about anything.  <span id="more-48"></span></p>
<pre><font color="#800000">&lt;!-- ********** SWITCH/CASE TOGGLE***************************** --&gt;
&lt;!-- Lorem ipsum --&gt;</font>
    <font color="#0000ff">       &lt;xf:switch&gt;
               &lt;xf:case id="shut"&gt;
                  &lt;xf:trigger appearance="minimal"&gt;
                     &lt;h:span style="color:olive; font-size:95%;"&gt;
                     &lt;xf:label&gt;:: toggle ::&lt;/xf:label&gt;
                     &lt;/h:span&gt;
                     &lt;xf:toggle case="open" ev:event="DOMActivate"/&gt;
                  &lt;/xf:trigger&gt;
               &lt;/xf:case&gt;
               &lt;xf:case id="open"&gt;
                  &lt;xf:trigger appearance="minimal"&gt;
                     &lt;h:span style="color:gray; font-size:95%;"&gt;
                     &lt;xf:label&gt;:: toggle ::&lt;/xf:label&gt;
                     &lt;/h:span&gt;
                     &lt;xf:toggle case="shut" ev:event="DOMActivate"/&gt;
                  &lt;/xf:trigger&gt;

                  &lt;h:div style="color:olive; font-size:95%;"&gt;</font>
<font color="#008000">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.</font>
                 <font color="#0000ff"> &lt;/h:div&gt;

               &lt;/xf:case&gt;
            &lt;/xf:switch&gt;</font>
<font color="#800000">
&lt;!-- ******* END SWITCH/CASE TOGGLE***************************** --&gt; </font></pre>
<pre></pre>
<p>For another approach with the same effect see <a href="http://ztags4xforms.com/wordpress/?p=73">A better Legendary Toggle </a></p>
]]></content:encoded>
			<wfw:commentRss>http://ztags4xforms.com/wordpress/?feed=rss2&amp;p=48</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
