<?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>alohahands.com Blog &#187; JavaScript</title>
	<atom:link href="http://alohahands.com/blog/index.php/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://alohahands.com/blog</link>
	<description>...just takin&#039; notes man.</description>
	<lastBuildDate>Tue, 25 Nov 2008 14:46:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debugging &amp; Accessibility</title>
		<link>http://alohahands.com/blog/2008/09/20/debugging-accessibility/</link>
		<comments>http://alohahands.com/blog/2008/09/20/debugging-accessibility/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 01:12:59 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[actionScript]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[personal computer]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/09/20/debugging-accessibility/</guid>
		<description><![CDATA[1. What techniques can a web designer use to optimize and debug Flash created web sites? Feel free to share any other tips that you found during your research that may be of value to creating animated web sites in Flash.
&#8220;Trace&#8221; statements are likely the most known debugging tool used for actionScript code. You can [...]]]></description>
			<content:encoded><![CDATA[<p>1. What techniques can a web designer use to optimize and debug Flash created web sites? Feel free to share any other tips that you found during your research that may be of value to creating animated web sites in Flash.</p>
<p>&#8220;Trace&#8221; statements are likely the most known debugging tool used for actionScript code. You can place a trace statement anywhere you want and have it output just about anything you want also.</p>
<p>trace(&#8221;I&#8217;m a trace action!&#8221;);</p>
<p>myTrace = &#8220;I&#8217;m the content of a variable&#8221;;<br />
trace(myTrace);</p>
<p>You can similarly use a text object you&#8217;ve placed directly on the stage to monitor during run time. You&#8217;ll only need to set something similar to: debug.text = myStringVariable;</p>
<p>Flash has an integrated debugger that is very powerful. To activate the<br />
debugger, you need to go into Control > Debug Movie. You will see<br />
the usual Test Movie setup but with an additional window aptly titled<br />
&#8216;Debugger&#8217;.</p>
<p>If you&#8217;re anything like me, you might use adobe&#8217;s liveDocs on line. I suppose it&#8217;s a debugging tool also. I plug in search criteria based on the error I&#8217;ve been delivered or the process I&#8217;m trying to complete. I also use forums and threads to help solve problems. I haven’t yet posted anything yet however.</p>
<p><a target="_new" href="http://www.actionscript.org/resources/articles/63/1/Common-Errors-and-Debugging/Page1.html">http://www.actionscript.org/resources/articles/63/1/Common-Errors-and-Debugging/Page1.html</a></p>
<p>2. What is accessibility and why is it important? What should a web designer keep in mind when designing a web site to maintain accessibility? How does accessibility effect a web site&#8217;s animation?</p>
<p>Accessibility is an approach to web design that aims to ensure the widest access to the content and features of a website. The term is often used to refer to accessibility for people with disabilities, particularly blindness. &#8230; <a target="_blank" href="http://alohahands.com/blog/www.monash.edu.au/staff/web/glossary.html">www.monash.edu.au/staff/web/glossary.html</a></p>
<p>Tim Berners-Lee, W3C director and inventor of the World Wide Web, defines it as access by everyone, regardless of disability.  Even though the World Wide Web is continuously growing, many users:<br />
•	use speech browsers or  &#8220;eyes busy&#8221;/&#8221;hands busy&#8221;, as businessmen in cars;<br />
•	don&#8217;t have the latest graphical browsers and plug-ins;<br />
•	surf with slow modems, or reside in rural or remote areas with limited access to the Internet;<br />
•	browse without graphics, using text-only browsers or subscribe to non-graphic services;<br />
•	access in noisy, high- or low-light environments;<br />
There are also many users with disabilities as;<br />
•	Visual &#8211; blind, low vision, color blind;<br />
•	Auditory &#8211; deaf, hard of hearing;<br />
•	Motor/physical &#8211; paraplegic;<br />
•	Cognitive/learning &#8211; dyslexic, learning disabled.<br />
•	They may not be able to see, hear, move, or may not be able to process some types of information easily or at all.<br />
•	They may have difficulty reading or comprehending text.<br />
•	They may not have or be able to use a keyboard or mouse.<br />
•	They may have a text-only screen, a small screen, or a slow Internet connection.<br />
•	They may not speak or understand fluently the language in which the document is written.<br />
• They may be in a situation where their eyes, ears, or hands are busy or interfered with (e.g., driving to work, working in a loud environment, etc.).<br />
•	They may have an early version of a browser, a different browser entirely, a voice browser, or a different operating system.<br />
Accessibility increases benefits for both parties: the User and the Web site Provider. It may also persuade developers to take in some alternate considerations. They may be more likely to use stronger contrasting colors or, web safe colors, abstain from flashing screens or quick moving objects and use simpler navigation.</p>
<p><a target="_new" href="http://www.w3.org/TR/WCAG10/">http://www.w3.org/TR/WCAG10/</a><br />
<a target="_new" href="http://www.rnib.org.uk/xpedio/groups/public/documents/publicwebsite/public_animatedimages.hcsp">http://www.rnib.org.uk/xpedio/groups/public/documents/publicwebsite/public_animatedimages.hcsp</a><br />
<a target="_new" href="http://www.webnauts.net/accessibility.html">http://www.webnauts.net/accessibility.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/09/20/debugging-accessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transitions, web site transitions</title>
		<link>http://alohahands.com/blog/2008/09/15/transitions-web-site-transitions/</link>
		<comments>http://alohahands.com/blog/2008/09/15/transitions-web-site-transitions/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 01:51:17 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[actionScript]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[personal computer]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/09/15/transitions-web-site-transitions/</guid>
		<description><![CDATA[According to the msdn website, “Transitions are time-varying filters that affect how a change of content is displayed.” Basically this means that a transition is the same as other events, but instead of an instantaneous change of state, it happens over a specified period of time.  Mostly, we see transitions used during slide shows containing [...]]]></description>
			<content:encoded><![CDATA[<p>According to the msdn website, “Transitions are time-varying filters that affect how a change of content is displayed.” Basically this means that a transition is the same as other events, but instead of an instantaneous change of state, it happens over a specified period of time.  Mostly, we see transitions used during slide shows containing different images.  These are usually a wipe, or fades; a screen slide from right to left or left to right or a fade in and out.  An interpage transition is a transition that affects the entire window as the window loads and/or unloads.    This can be the same type of fade as the slide show.</p>
<p>In my opinion a lot of the web site trends are revolutionary and based on the latest technology.  With a new software product and capability, something old becomes new again.  The concept of most web sites is “attraction”.  The owner of the site wants you to view their site.  Transitions may or may not keep our ADD intellects amused long enough to hang out longer than 10 seconds.  I think I read the average web page can expect a visitor to make up his mind about leaving the site at about 4 seconds.</p>
<p>What do I think about the growing trend of using transitions?  Well, depending on their use, I think there is great potential for transitions. I like to think that transitions can be used for wonderfully interesting visual explanations for complicated or convoluted processes; for example this one showing how our bodies use energy and the resultant free radicals are bounced down the electron transfer chain to O2 in the process of oxidative phosphorylation:  http://www.brookscole.com/chemistry_d/templates/student_resources/shared_resources/animations/oxidative/oxidativephosphorylation.html</p>
<p>Transition trends are pretty cool; some are so cool they’ll stick around for over a week.  If you only want to show off your new skills and your transition does not enhance or contribute to the value or message of your site (determined by the visitor) then you’re likely to come to your senses or latch on to the next super coolness.</p>
<p>http://www.webpagesthatsuck.com/does-my-web-site-suck/does-my-web-site-suck-checklist-part-one.html</p>
<p>http://www.webpagesthatsuck.com/topic60.htm</p>
<p>http://msdn.microsoft.com/en-us/library/ms532847.aspx</p>
<p>http://www.webdevelopersjournal.com/wacky/transitions/transitions.html</p>
<p>http://www.xeogen.com/</p>
<p>http://www.adobe.com/devnet/flash/articles/animation_guide_13.html<br />
http://tutorials.learnflash.com/tutorials/flash/bettertransitionss.html<br />
http://www.adobe.com/devnet/flash/articles/creating_animation_as3_02.html</p>
<p>The page located here:  http://www.jumpeyecomponents.com/Flash-Components/Transition-Effects/MovieClip-Transition-Effects-V3-45/<br />
has a graphic that transitions from one image to the next.</p>
<p>AS 2.0 thread on transitions:  http://forums.creativecow.net/thread/190/862393</p>
<p>http://www.robertpenner.com/presentations/rpenner_Animation_Workflows_in_Flash_CS3_FITC_2007.pdf</p>
<p>sliding door transition:  http://www.swishzone.com/index.php?area=resources&#038;tab=movies&#038;do=page&#038;action=detailed&#038;link_id=598</p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/09/15/transitions-web-site-transitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What type of information is important for interactive forms on a web site?</title>
		<link>http://alohahands.com/blog/2008/08/29/what-type-of-information-is-important-for-interactive-forms-on-a-web-site/</link>
		<comments>http://alohahands.com/blog/2008/08/29/what-type-of-information-is-important-for-interactive-forms-on-a-web-site/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 17:06:40 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/08/29/what-type-of-information-is-important-for-interactive-forms-on-a-web-site/</guid>
		<description><![CDATA[To determine what information is important for interactive forms you must understand the goal of the form.  What is the information needed?  Also, what information do you want the user to know?  Depending on the types of information you will have the user submit will determine the fields you will use in the form.
The basic [...]]]></description>
			<content:encoded><![CDATA[<p>To determine what information is important for interactive forms you must understand the goal of the form.  What is the information needed?  Also, what information do you want the user to know?  Depending on the types of information you will have the user submit will determine the fields you will use in the form.</p>
<p>The basic essentials are these:  For text and numeric data you will use text and combo boxes.  If you provide the information for the user to select, you may choose from radio buttons, lists, or combo boxes.  Of course, you may want the user to select multiple options.  The use of check boxes or list boxes will work nicely for multiple options.  The use of buttons is a no-brainer.  Whether it is text or looks like a button, you will use buttons to interact with the user to open files, play sound, movies, or submitting or clearing form data.</p>
<p>Have you thought about security and/or validation?  You might consider using digital signature to verify the user’s identity and form validation is the process of checking a form’s values against a standard of expected values. It is a way to proofread or spell check what your user has entered as input. An example would be an expected 9 number combination and the user entered an email address. This would return as invalid content. Typically checked are empty fields, valid and well formed email addresses, dates, and the aforementioned a number entered in a text expected field (or vice-verse). If the tested field contains the expected input then the result is returned true and the form data is expected to be good data. It is important to use validation for online forms to add an extra bit of reliability and save time by ensuring a certain level of quality.</p>
<p>References:</p>
<p>http://validator.w3.org/about.html<br />
http://www.w3schools.com/js/js_form_validation.asp<br />
2007 CivicPlus website management conference, “Next Generation Government Websites”</p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/08/29/what-type-of-information-is-important-for-interactive-forms-on-a-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pop-ups are bad, right?</title>
		<link>http://alohahands.com/blog/2008/07/14/pop-ups-are-bad-right/</link>
		<comments>http://alohahands.com/blog/2008/07/14/pop-ups-are-bad-right/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 20:20:31 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/07/14/pop-ups-are-bad-right/</guid>
		<description><![CDATA[http://www.scottrade.com/switch/?id=1#
This opens a Scottrade &#8220;Switch&#8221; page.  Their content=&#8221;If you&#8217;re tired of brokerage account and transfer fees, make the switch to Scottrade online brokerage. We&#8217;ll not only help you consolidate your stock trading, IRA and mutual fund accounts, we&#8217;ll give you up to $100 back!&#8221;
The only popup I could spot is the &#8220;open a new account&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>http://www.scottrade.com/switch/?id=1#</p>
<p>This opens a Scottrade &#8220;Switch&#8221; page.  Their content=&#8221;If you&#8217;re tired of brokerage account and transfer fees, make the switch to Scottrade online brokerage. We&#8217;ll not only help you consolidate your stock trading, IRA and mutual fund accounts, we&#8217;ll give you up to $100 back!&#8221;</p>
<p>The only popup I could spot is the &#8220;open a new account&#8221; text link or button.  It opens up a new smaller window:  https://apply.scottrade.com/applyonline/apply.aspx</p>
<p>If you choose to you may click on the link under, &#8220;Contact Us 1-800-619-SAVE&#8221; which is an email address:  support@scottrade.com  If you select the email address, you will have another popup window open: https://apply.scottrade.com/applyonline/SendEmail.aspx</p>
<p>I think that the pop-up windows are very low in number and controlled by the user and therefore not very annoying.  For the company, it allows for the main page to remain open and on the user&#8217;s desktop.</p>
<p>https://www.mcafeesecure.com/us/merchants-moreinfo.jsp</p>
<p>This is a McAfee site whose content=&#8221;PCI Compliance and Secure Website Certification from McAfee Secure. Automated network security audits provide an affordable means of ensuring your customers&#8217; transactions remain secure.&#8221;</p>
<p>Where to find the pop-up is the &#8220;Questions?&#8221; banner on the left side: Click here to chat with a customer service representative.  It opens up a chat window allowing the customer to chat and ask for help while staying on the page.  This is valuable tool for both the website owner and the user.<br />
This is great:  http://www.popuptest.com/   If you want to find popup windows, there you have it.  My popup blocker is working fine.  On the first link, there is supposed to be 10 popup windows and it caught all of them (but only notified me of 6).</p>
<p>Firefox 3.0 stopped all except:  http://www.popuptest.com/popuptest8.html   and this one: http://www.popuptest.com/popuptest6.html</p>
<p>So, of course, while each of these might be annoying, the  point is to test your browser&#8217;s pop-up defense and thus useful.</p>
<p>Obviously, not all pop-ups are unwanted.  The browser and/or pop-up killers should be smart enough to recognize or allow you the choice to view the pop-ups you actually want to view.</p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/07/14/pop-ups-are-bad-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swap Images &#8211; javaScript onmouseover; AS 2.0 swapDepths, array, function</title>
		<link>http://alohahands.com/blog/2008/07/08/swap-images-javascript-onmouseover-as-20-swapdepths-array-function/</link>
		<comments>http://alohahands.com/blog/2008/07/08/swap-images-javascript-onmouseover-as-20-swapdepths-array-function/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 19:10:06 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[actionScript]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/07/08/swap-images-javascript-onmouseover-as-20-swapdepths-array-function/</guid>
		<description><![CDATA[I thought you might get a kick out of this.  Through the class
and some on line studies, I was able to create essentially the
very same affect using 4 different coding methods. The first
three are in Flash 2.0 and the last one is using javaScript.
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
ARRAY:
var clipArray:Array = new Array(one_mc, two_mc, three_mc);
a_mc.onRollOver = function() {
showClip(one_mc);
}
b_mc.onRollOver = function() [...]]]></description>
			<content:encoded><![CDATA[<p>I thought you might get a kick out of this.  Through the class<br />
and some on line studies, I was able to create essentially the<br />
very same affect using 4 different coding methods. The first<br />
three are in Flash 2.0 and the last one is using javaScript.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>ARRAY:</strong></p>
<p>var clipArray:Array = new Array(one_mc, two_mc, three_mc);<br />
a_mc.onRollOver = function() {<br />
showClip(one_mc);<br />
}<br />
b_mc.onRollOver = function() {<br />
showClip(two_mc);<br />
}<br />
c_mc.onRollOver = function() {<br />
showClip(three_mc);<br />
}<br />
function showClip(l_Clip:Object):Void {<br />
for (i=0; i<br />
{<br />
hideClip(clipArray[i]);<br />
}<br />
l_Clip._visible = true;<br />
}<br />
function hideClip(l_clip):Void {<br />
l_clip._visible = false;<br />
}<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>FUNCTION:</strong></p>
<p>a_mc.onRollOver = function() {<br />
onShow(one_mc);<br />
}<br />
b_mc.onRollOver = function() {<br />
onShow(two_mc);<br />
}<br />
c_mc.onRollOver = function() {<br />
onShow(three_mc);<br />
}<br />
function onShow(movClip:Object):Void {<br />
onHide();<br />
movClip._visible = true;<br />
}<br />
function onHide():Void {<br />
one_mc._visible = false;<br />
two_mc._visible = false;<br />
three_mc._visible = false;<br />
}<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>SWAPDEPTHS:</strong></p>
<p>a_mc.onRollOver = function() {<br />
onTop(one_mc);<br />
}<br />
b_mc.onRollOver = function() {<br />
onTop(two_mc);<br />
}<br />
c_mc.onRollOver = function() {<br />
onTop(three_mc);<br />
}<br />
function onTop (movClip:Object):Void {<br />
movClip.swapDepths(0);<br />
}</p>
<p><img title="javaScript onmouseover event" alt="javaScript onmouseover event" src="http://alohahands.com/IT470/Images/jsonmouseover.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/07/08/swap-images-javascript-onmouseover-as-20-swapdepths-array-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Validation</title>
		<link>http://alohahands.com/blog/2008/06/19/validation/</link>
		<comments>http://alohahands.com/blog/2008/06/19/validation/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 14:22:47 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/06/19/validation/</guid>
		<description><![CDATA[What is validation? Why is it important to use validation for your online forms?
Validation is the process of checking a forms values against a standard of expected values.  It is a way to proofread or spell check what your user has entered as input.  An example would be an expected 9 number combination [...]]]></description>
			<content:encoded><![CDATA[<p>What is validation? Why is it important to use validation for your online forms?</p>
<p>Validation is the process of checking a forms values against a standard of expected values.  It is a way to proofread or spell check what your user has entered as input.  An example would be an expected 9 number combination and the user entered an email address.  This would return as invalid content.  Typically checked are empty fields, valid and well formed email addresses, dates, and the aforementioned a number entered in a text expected field (or vice-verse).  If the tested field contains the expected input then the result is returned true and the form data is expected to be good data.   It is important to use validation for online forms to add an extra bit of reliability and save time by ensuring a certain level of quality.</p>
<p>http://validator.w3.org/about.html</p>
<p>http://www.w3schools.com/js/js_form_validation.asp</p>
<p>What are the advantages and disadvantages of using client-side form validation over server-side validation?</p>
<p>JavaScript can be used to validate input data in HTML forms before sending off the content to a server.  Client-side validation is completed on the user&#8217;s machine and therefore does not need to be sent anywhere to be processed.  This means it can be handled with JavaScript and any erroneous or suspect input will be caught before an attempt to transmit the data.  This will save time and add a bit of reliability to the collected information and its likeliness to successfully run on the server.  Without this JavaScript client-side server checking, the information would be sent out and return, after a bit of a wait, with a not so welcoming message indicating there was a problem with the submitted content.  Of course, there is a concern of possible spoofing of the information after the client-side form validation has completed.</p>
<p>Spoofing:     A generic term covering a range of computer network attacks whereby the attacker attempts to forge or intercede in a chain of communication. This can take a number of forms: email spoofing, IP spoofing and webpage spoofing.  http://www.parliament.vic.gov.au/SARC/E-Democracy/Final_Report/Glossary.htm</p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/06/19/validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.560 seconds -->
