<?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>Custom Software and Web Application Development Blog&#187; Software Development</title>
	<atom:link href="http://mfsotx.org/category/mfso-tx/feed/" rel="self" type="application/rss+xml" />
	<link>http://mfsotx.org</link>
	<description>Useful Information Source of Events in IT Sphere</description>
	<lastBuildDate>Thu, 26 Aug 2010 15:29:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>iframe content depending on menu choice.</title>
		<link>http://mfsotx.org/iframe-content-depending-on-menu-choice/</link>
		<comments>http://mfsotx.org/iframe-content-depending-on-menu-choice/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 16:32:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://mfsotx.org/iframe-content-depending-on-menu-choice/</guid>
		<description><![CDATA[Hey all, I am struggling to develop my website based on what I can find on the web without any formal training. I have succeeded in creating a two level menu where the 2nd level is displayed (expanded in accordeo fashion) when moving the cursor over the 1st level button thanks to a javascript found [...]]]></description>
			<content:encoded><![CDATA[<p>Hey all,</p>
<p>I am struggling to develop my website based on what I can find on the web without any formal training.</p>
<p>I have succeeded in creating a two level menu where the 2nd level is displayed (expanded in accordeo fashion) when moving the cursor over the 1st level button thanks to a javascript found on the web which I customized.<span id="more-24"></span></p>
<p>The 2nd level of menu choices are to select one the months of the year for which the programmed activities of our association would be displayed in an iframe on the same page without refreshing the page.</p>
<p>In fact, I&#8217;d like any menu selection, be it level 1 or 2, to use the same iframe space on the screen.<br />
The statement contains a link to be used when clicked on the particular menu key. How can I &#8220;replace&#8221; this link so that when clicked upon a partiular key the appropriate src=&#8221;document.html&#8221; finds its way into the iframe?</p>
<p>if its a link, don`t you just need a target reference to load the link in the iframe? Or am I mssing what you need?</p>
<p>However, &#8230; (there&#8217;s almost always a but &#8230;).</p>
<p>In one instance my iframe is used to contain the (google) agenda of the club. Amazingly IE respects the size given in the iframe, but FF expands happily beyond the screen width. How can I force FF to respect the iframe size ?</p>
<p>if you come up with ideas let me know.</p>
<p>thanks!</p>
<p>Related content:</p>
]]></content:encoded>
			<wfw:commentRss>http://mfsotx.org/iframe-content-depending-on-menu-choice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java inside Java</title>
		<link>http://mfsotx.org/java-inside-java/</link>
		<comments>http://mfsotx.org/java-inside-java/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 16:00:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://mfsotx.org/java-inside-java/</guid>
		<description><![CDATA[I have a client that wants to run a .js file inside a .js file because of the registration form. *( if (notes2 == &#8220;yes&#8221;) { document.write(&#8216;&#60;fieldset&#62;&#60;legend&#62;&#8217;); document.write(&#8216;Notes Area&#60;br&#62;&#60;/legend&#62;&#8217;); document.write(&#8216;&#60;center&#62;Blurb Text Here that shows up on webpage&#60;br&#62;&#60;br&#62;&#60;script type=&#8221;text/javascript&#8221; src=&#8221;http://forms.example.com/form/XX/4#*$!#*$!xx.js&#8221;&#62;&#60;/script&#62;&#60;br&#62;More blurb text that shows up after the reg. box&#60;/center&#62;&#8217;); document.write(&#8216;&#60;/fieldset&#62;&#8217;); document.write(&#8216;&#60;br&#62;&#60;br&#62;&#8217;); } )* This code places [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2" color="#000000" face="verdana">I have a client that wants to run a .js file inside a .js file because of the registration form. </font><font size="2" color="#000000" face="verdana">*( </font></p>
<p><font size="2" color="#000000" face="verdana">if (notes2 == &#8220;yes&#8221;) {<br />
document.write(&#8216;&lt;fieldset&gt;&lt;legend&gt;&#8217;); </font></p>
<p><font size="2" color="#000000" face="verdana">document.write(&#8216;Notes Area&lt;br&gt;&lt;/legend&gt;&#8217;); </font></p>
<p><font size="2" color="#000000" face="verdana">document.write(&#8216;&lt;center&gt;Blurb Text Here that shows up on webpage&lt;br&gt;&lt;br&gt;&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://forms.example.com/form/XX/4#*$!#*$!xx.js&#8221;&gt;&lt;/script&gt;&lt;br&gt;More blurb text that shows up after the reg. box&lt;/center&gt;&#8217;); </font></p>
<p><font size="2" color="#000000" face="verdana">document.write(&#8216;&lt;/fieldset&gt;&#8217;);<br />
document.write(&#8216;&lt;br&gt;&lt;br&gt;&#8217;);<br />
}<br />
)* </font></p>
<p><font size="2" color="#000000" face="verdana">This code places the box where it should be in Firebox but in IE 7 the registration box is at the bottom of the table, not between the two text blurbs. Any idea how I can get this to show up in IE? if it&#8217;s &#8220;just not rendering&#8221; try breaking up the code. Weird things sometimes happen with Javascript within document.write. </font></p>
<p><font size="2" color="#000000" face="verdana">document.write(&#8216;&lt;scr&#8217;+'ipt type=&#8221;text/jav&#8217;+'ascr&#8217;+'ipt&#8221; src=&#8221;http://forms.example.com/form/XX/4#*$!#*$!xx.js&#8221;&gt;&lt;/scr&#8217;+ipt&gt;&#8217;); </font></p>
<p><font size="2" color="#000000" face="verdana">Second, your formatting is likely a result of a combination of Quirks mode and deprecated tags/discouraged approaches to formatting. <strong>Use a valid document type</strong> and <strong>validate your pages</strong>, this will make 90% of your formatting problems go away, Javascript or not. </font></p>
<p><font size="2" color="#000000" face="verdana">To solve that, here is how I&#8217;d handle this (but move inline styles to external style sheets.) You may have to insert text-align:center and width:400px (or some valid value) to get the effects you want: </font></p>
<p><font size="2" color="#000000" face="verdana">document.write(&#8216;&lt;fieldset style=&#8221;margin:auto;&#8221;&gt;&#8217;);<br />
document.write(&lt;legend&gt;&#8217;Notes Area&lt;br&gt;&lt;/legend&gt;&#8217;);<br />
document.write(&#8216;&lt;p style=&#8221;text-align:center&#8221;&gt;Blurb Text Here that shows up on webpage&lt;/p&gt;&#8217;); </font></p>
<p><font size="2" color="#000000" face="verdana">document.write(&#8216;&lt;div style=&#8221;margin:auto;&#8221;&gt;&#8217;);<br />
document.write(&#8216;&lt;scr&#8217;+'ipt type=&#8221;text/jav&#8217;+'ascr&#8217;+'ipt&#8221; src=&#8221;http://forms.example.com/form/XX/4#*$!#*$!xx.js&#8221;&gt;&lt;/scr&#8217;+ipt&gt;&#8217;);<br />
document.write(&#8216;&lt;/div&gt;&#8217;); </font></p>
<p><font size="2" color="#000000" face="verdana">&lt;!&#8211;<br />
if you still have problems<br />
add document.write(&#8216;&lt;div style=&#8221;clear:both;&#8221;&gt;&lt;/div&gt;&#8217;);<br />
right here<br />
&#8211;&gt; </font></p>
<p><font size="2" color="#000000" face="verdana">document.write(&#8216;&lt;p style=&#8221;text-align:center&#8221;&gt;More blurb text that shows up after the reg. box&lt;/p&gt;&#8217;);<br />
document.write(&#8216;&lt;/fieldset&gt;&#8217;);  </font></p>
<p><font size="2" color="#000000" face="verdana">Note the clearing div, you probably won&#8217;t need it, or can set the last p to clear, or overflow: none on the div containing the script &#8211; but overall, Standards Mode and semantic output should help you.<!-- /post -->    </font></p>
]]></content:encoded>
			<wfw:commentRss>http://mfsotx.org/java-inside-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parse XML with asp</title>
		<link>http://mfsotx.org/parse-xml-with-asp/</link>
		<comments>http://mfsotx.org/parse-xml-with-asp/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 15:32:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://mfsotx.org/parse-xml-with-asp/</guid>
		<description><![CDATA[I am using asp and sending data to my payment gateway for processing. When processed it returns xml back to me that I use. How do I get the values from this response? Response would be returned in this format: &#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&#62; &#60;Result&#62; &#60;TransTime&#62;Mon Nov 08 20:21:06 PST 2004&#60;/TransTime&#62; &#60;OrderID&#62;2004110820210605147&#60;/OrderID&#62; &#60;Approved&#62;APPROVED&#60;/Approved&#62; &#60;ReturnCode&#62;Y:TEST:TESTTRANS:M:X:YYY&#60;/ReturnCode&#62; &#60;ErrMsg&#62;&#60;/ErrMsg&#62; &#60;TaxTotal&#62;5.00&#60;/TaxTotal&#62; [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2" color="#000000" face="verdana">I am using asp and sending data to my payment gateway for processing. When processed it returns xml back to me that I use. How do I get the values from this response? </font><font size="2" color="#000000" face="verdana">Response would be returned in this format: </font></p>
<p><font size="2" color="#000000" face="verdana">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;Result&gt;<br />
&lt;TransTime&gt;Mon Nov 08 20:21:06 PST 2004&lt;/TransTime&gt;<br />
&lt;OrderID&gt;2004110820210605147&lt;/OrderID&gt;<br />
&lt;Approved&gt;APPROVED&lt;/Approved&gt;<br />
&lt;ReturnCode&gt;Y:TEST:TESTTRANS:M:X:YYY&lt;/ReturnCode&gt;<br />
&lt;ErrMsg&gt;&lt;/ErrMsg&gt;<br />
&lt;TaxTotal&gt;5.00&lt;/TaxTotal&gt;<br />
&lt;ShipTotal&gt;15.00&lt;/ShipTotal&gt;<br />
&lt;SubTotal&gt;55.00&lt;/SubTotal&gt;<br />
&lt;FullTotal&gt;75.00&lt;/FullTotal&gt;<br />
&lt;PaymentType&gt;CC&lt;/PaymentType&gt;<br />
&lt;CardNumber&gt;411111&#8230;1111&lt;/CardNumber&gt;<br />
&lt;CardExpMonth&gt;05&lt;/CardExpMonth&gt;<br />
&lt;CardExpYear&gt;07&lt;/CardExpYear&gt;<br />
&lt;TransRefNumber&gt;1bd0082c392b7c5b&lt;/TransRefNumber&gt;<br />
&lt;CardIDResult&gt;M&lt;/CardIDResult&gt;<br />
&lt;AVSResult&gt;X&lt;/AVSResult&gt;<br />
&lt;CardAuthNumber&gt;TEST&lt;/CardAuthNumber&gt;<br />
&lt;CardRefNumber&gt;TESTTRANS&lt;/CardRefNumber&gt;<br />
&lt;CardType&gt;VISA&lt;/CardType&gt;<br />
&lt;IPResult&gt;YYY&lt;/IPResult&gt;<br />
&lt;IPCountry&gt;CA&lt;/IPCountry&gt;<br />
&lt;IPRegion&gt;Ontario&lt;/IPRegion&gt;<br />
&lt;IPCity&gt;Toronto&lt;/IPCity&gt;<br />
&lt;/Result&gt; </font></p>
<p><font size="2" color="#000000" face="verdana">This is the code I am using to test with for now: </font></p>
<p><font size="2" color="#000000" face="verdana">set xml = Server.CreateObject(&#8220;Microsoft.XMLHTTP&#8221;)<br />
set xmlDoc = Server.CreateObject(&#8220;Microsoft.XMLDOM&#8221;) </font></p>
<p><font size="2" color="#000000" face="verdana">xml.open &#8220;POST&#8221;, &#8220;##HOST ADDRESS##&#8221;, false<br />
xml.setRequestHeader &#8220;Content-Type&#8221;, &#8220;application/x-www-form-urlencoded&#8221;<br />
xml.send (orderString)<br />
xmlResponseStr = xml.responseText<br />
Response.Write(&#8220;&lt;br /&gt;&lt;br /&gt;&#8221;)<br />
Response.write(xmlResponseStr) </font></p>
<p><font size="2" color="#000000" face="verdana">&#8216; Parse Returned XML<br />
set xmlDoc = Server.CreateObject(&#8220;Microsoft.XMLDOM&#8221;)<br />
xmlDoc.async = True<br />
xmlDoc.Load(xml.responseXML) </font></p>
<p><font size="2" color="#000000" face="verdana">Set itemList = xmlDoc.getElementsByTagName(&#8220;*&#8221;) </font></p>
<p><font size="2" color="#000000" face="verdana">Dim xmlApproved </font></p>
<p><font size="2" color="#000000" face="verdana">Response.Write(&#8220;&lt;br /&gt;&lt;br /&gt;&#8221;) </font></p>
<p><font size="2" color="#000000" face="verdana">For Each item In itemList<br />
Response.Write(&#8220;IN HERE&#8221;)<br />
For each child in item.childNodes<br />
Response.Write(&#8220;IN DEEPER&#8221;)<br />
Response.Write(child.nodeName)<br />
Response.Write(&#8220;&lt;br /&gt;&lt;br /&gt;&#8221;)<br />
Next<br />
Next </font></p>
<p><font size="2" color="#000000" face="verdana">Set xmlDoc = Nothing<br />
Set itemList = Nothing<br />
Set xml = nothing<br />
%&gt; </font></p>
<p><font size="2" color="#000000" face="verdana">As you may see this is the first time I have ever attempted something like this.   <!-- /post -->   </font></p>
]]></content:encoded>
			<wfw:commentRss>http://mfsotx.org/parse-xml-with-asp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
