<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>Development memo &#187; Javascript</title>
	<atom:link href="http://officesoya.net/weblog/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://officesoya.net/weblog</link>
	<description>Rough Consensus　And Running code</description>
	<lastBuildDate>Mon, 21 Jun 2010 09:22:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://officesoya.net/weblog/tag/javascript/feed/" />
		<item>
		<title>OpenCartのfilemanegerでフォルダが表示されない（IE）</title>
		<link>http://officesoya.net/weblog/2010/03/08/opencart1-4-0bug/</link>
		<comments>http://officesoya.net/weblog/2010/03/08/opencart1-4-0bug/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 05:01:51 +0000</pubDate>
		<dc:creator>soya</dc:creator>
				<category><![CDATA[OpenCart]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://officesoya.net/weblog/?p=184</guid>
		<description><![CDATA[Firefoxは問題ないが、IEではフォルダが表示されない。OpenCart　v1.4.0
原因はjavascriptにあった。
admin/view/template/common/filamanger.tpl
の13 [...]]]></description>
			<content:encoded><![CDATA[<pre>Firefoxは問題ないが、IEではフォルダが表示されない。OpenCart　v1.4.0
原因はjavascriptにあった。
admin/view/template/common/filamanger.tpl
の130行目
<pre class="brush: jscript;">
valid_children : 'all',
</pre>
<p>allの後の「,」を削除する
<pre class="brush: jscript;">
valid_children : 'all'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://officesoya.net/weblog/2010/03/08/opencart1-4-0bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://officesoya.net/weblog/2010/03/08/opencart1-4-0bug/" />
	</item>
		<item>
		<title>Javascript　elementの値がとれず、ハマリました</title>
		<link>http://officesoya.net/weblog/2009/03/17/javascrip/</link>
		<comments>http://officesoya.net/weblog/2009/03/17/javascrip/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 01:37:23 +0000</pubDate>
		<dc:creator>soya</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[thickbox]]></category>
		<category><![CDATA[DOM]]></category>

		<guid isPermaLink="false">http://officesoya.net/weblog/?p=143</guid>
		<description><![CDATA[DOM(thickbox)で読み込んだページの先でJavascriptによるフォームの精査をするスクリプトを書いたのですが、elementの値がとれず、原因を調べるのに少々時間がかかりました。
原因はフォーム名の重複でし [...]]]></description>
			<content:encoded><![CDATA[<p>DOM(thickbox)で読み込んだページの先でJavascriptによるフォームの精査をするスクリプトを書いたのですが、elementの値がとれず、原因を調べるのに少々時間がかかりました。</p>
<p>原因はフォーム名の重複でした。こんな基本的なところで引っかかるなんて・・・。DOMで読み込んだものがFORMの0番目だと思い込んでいたので、それがそもそもの間違いでした。DOMを呼び出している側のFORMが0番目になります。</p>
<p>結局DOMで読み込んだ側のFORMに名前をつけてやって無事解決しました。</p>
<p>いずれまたはまりそうな気がしたのでメモっておきます。</p>
]]></content:encoded>
			<wfw:commentRss>http://officesoya.net/weblog/2009/03/17/javascrip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://officesoya.net/weblog/2009/03/17/javascrip/" />
	</item>
		<item>
		<title>ポップアップブロックでハマったのでメモ</title>
		<link>http://officesoya.net/weblog/2008/10/15/popup/</link>
		<comments>http://officesoya.net/weblog/2008/10/15/popup/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 11:19:46 +0000</pubDate>
		<dc:creator>soya</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://officesoya.net/weblog/?p=76</guid>
		<description><![CDATA[ＩＥ７とＦｉｒｅｆｏｘでローカルで動作確認したのち、本番サーバーへファイルをアップロードし、動作確認をしたわけですが、なぜか
window.open(url);
が動作せず。
ポップアップブロッカーのことは知っていたけど [...]]]></description>
			<content:encoded><![CDATA[<p>ＩＥ７とＦｉｒｅｆｏｘでローカルで動作確認したのち、本番サーバーへファイルをアップロードし、動作確認をしたわけですが、なぜか</p>
<p>window.open(url);</p>
<p>が動作せず。<br />
ポップアップブロッカーのことは知っていたけど、最初にポップアップする際に「どうしますか？」みたいに聞かれると思っていた。原因不明なので</p>
<p>ini_setエラーレポーティングをE_ALLに。そしてApacheのerror.logを調べて見ることに。<br />
しかし、これといってエラーは出されてなかった。</p>
<p>次に</p>
<pre class="brush: jscript;">
win = windou.open(url);
alert(win);
</pre>
<p>をやってみたらnullが帰ってきた。お帰り。<br />
じゃなくて返ってきた。</p>
<p>調べてみるとポップアップブロックなどでウィンドウを開くことができなかった場合はnullを返すらしいです。<br />
ということで</p>
<pre class="brush: jscript;">
win = windou.open(url);
if (win==null) alert('ブロックされています');
</pre>
<p>としました。</p>
]]></content:encoded>
			<wfw:commentRss>http://officesoya.net/weblog/2008/10/15/popup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://officesoya.net/weblog/2008/10/15/popup/" />
	</item>
	</channel>
</rss>
