<?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>Bo Wu&#039;s IT Lab &#187; Web</title>
	<atom:link href="http://www.bowu.org/category/web/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bowu.org</link>
	<description>If winter comes, can spring be far behind?</description>
	<lastBuildDate>Thu, 29 Dec 2011 18:09:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>How to Remove Spaces From a Text Field</title>
		<link>http://www.bowu.org/web/remove-spaces-text-field.html</link>
		<comments>http://www.bowu.org/web/remove-spaces-text-field.html#comments</comments>
		<pubDate>Thu, 11 Aug 2011 18:48:14 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.bowu.org/?p=585</guid>
		<description><![CDATA[This page shows you how to remove spaces from a text field. Any spaces entered by the user will be removed when they click anywhere outside the text field. Try it here: Step 1 Add the following code to your head: &#60;script language=&#34;javascript&#34; type=&#34;text/javascript&#34;&#62; function removeSpaces(string) { &#160;return string.split(' ').join(''); } &#60;/script&#62; Step 2 Use [...]]]></description>
			<content:encoded><![CDATA[<p>This page shows you how to remove spaces from a text field. Any spaces entered by the user will be removed when they click anywhere outside the text field. Try it here:</p>
<p>Step 1</p>
<p>Add the following code to your head:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;<br />
function removeSpaces(string) {<br />
&nbsp;return string.split(' ').join('');<br />
}<br />
&lt;/script&gt;</div></div>
<p>Step 2</p>
<p>Use the following code for your text field:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;form&gt;<br />
&lt;input type=&quot;text&quot; onblur=&quot;this.value=removeSpaces(this.value);&quot;&gt;<br />
&lt;input type=&quot;button&quot; value=&quot;Click&quot;&gt;<br />
&lt;/form&gt;</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bowu.org/web/remove-spaces-text-field.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a Background Picture to a Flash Object</title>
		<link>http://www.bowu.org/web/background-flash-ie-firefox.html</link>
		<comments>http://www.bowu.org/web/background-flash-ie-firefox.html#comments</comments>
		<pubDate>Fri, 07 May 2010 23:57:20 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.bowu.org/?p=352</guid>
		<description><![CDATA[I added a background picture to a flash object embedded in a web page. In order to make the background picture can be displayed through the flash animation, I added oneobject parameter: &#60;param NAME=&#34;wmode&#34; VALUE=&#34;transparent&#34;&#62; The whole html code are as follows: &#60;table width=&#34;760&#34; border=&#34;0&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34; background=&#34;image/01.jpg&#34;&#62; &#160; &#160; &#160; &#60;tr&#62; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-359" title="flash" src="http://www.bowu.org/wp-content/uploads/2010/05/flash.jpg" alt="flash Add a Background Picture to a Flash Object" width="180" height="180" /></p>
<p>I added a background picture to a flash object embedded in a web page.  In order to make the background picture can be displayed through the flash animation, I added oneobject parameter:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;param NAME=&quot;wmode&quot; VALUE=&quot;transparent&quot;&gt;</div></div>
<p>The whole html code are as follows:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;table width=&quot;760&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; background=&quot;image/01.jpg&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;object codeBase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&quot; height=&quot;200&quot; width=&quot;760&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param NAME=&quot;movie&quot; VALUE=&quot;images/index.swf&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param NAME=&quot;quality&quot; VALUE=&quot;high&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param NAME=&quot;wmode&quot; VALUE=&quot;transparent&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;embed src=&quot;images/index.swf&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;760&quot; height=&quot;200&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/embed&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/object&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;/table&gt;</div></div>
<p>The above code can work properly when a user is using Internet Explorer (IE).  However, when a user is using Firefox, the background of the flash is blank.  The reason is the Firefox does not recognize the</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;param NAME=&quot;wmode&quot; VALUE=&quot;transparent&quot;&gt;</div></div>
<p>So, I need to add it to the <b>embed src</b> as follows:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;table width=&quot;760&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; background=&quot;image/01.jpg&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;object codeBase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&quot; height=&quot;200&quot; width=&quot;760&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param NAME=&quot;movie&quot; VALUE=&quot;images/index.swf&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param NAME=&quot;quality&quot; VALUE=&quot;high&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param NAME=&quot;wmode&quot; VALUE=&quot;transparent&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;embed src=&quot;images/index.swf&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;760&quot; height=&quot;200&quot; wmode=&quot;transparent&quot; scale=&quot;noborder&quot; align=&quot;left&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/embed&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/object&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;/table&gt;</div></div>
<p>For the Firefox browser, you also need to set align=&#8221;&#8230;&#8221; to make it be displayed in the right position.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bowu.org/web/background-flash-ie-firefox.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
