<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>jQuery HistoryプラグインのIE8対応 へのコメント</title>
	<atom:link href="http://wp.serpere.info/archives/783/feed" rel="self" type="application/rss+xml" />
	<link>http://wp.serpere.info/archives/783</link>
	<description>樹上で暮らすヘビのように生きたい</description>
	<lastBuildDate>Sun, 29 Jan 2012 15:44:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>テツ より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-946</link>
		<dc:creator>テツ</dc:creator>
		<pubDate>Mon, 28 Jun 2010 10:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-946</guid>
		<description>ご指示いただいた方法で対処することができました。
ありがとうございます。

なぜ、何度も履歴が読み込まれているのか不思議に思っていましたが、
まさかタブ用のidが履歴に読み込まれているとは想像もしませんでした！！

とても便利なですが、タブとの併用の際には注意が必要ですね（汗</description>
		<content:encoded><![CDATA[<p>ご指示いただいた方法で対処することができました。<br />
ありがとうございます。</p>
<p>なぜ、何度も履歴が読み込まれているのか不思議に思っていましたが、<br />
まさかタブ用のidが履歴に読み込まれているとは想像もしませんでした！！</p>
<p>とても便利なですが、タブとの併用の際には注意が必要ですね（汗</p>
]]></content:encoded>
	</item>
	<item>
		<title>tkyk より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-939</link>
		<dc:creator>tkyk</dc:creator>
		<pubDate>Thu, 24 Jun 2010 15:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-939</guid>
		<description>原因がおそらく判明しました。
HTMLの中に

&lt;a name=&quot;tab_proposal&quot; rel=&quot;nofollow&quot;&gt;
&lt;div id=&quot;tab_proposal&quot;&gt;

など、読み込むhashと同じidを持つ要素または同じnameを持つA要素があると
余計な履歴が追加されてしまうようです。
tab_proposal, tab_service, tab_jirei, tab_info
全てを取り除いたところ、私の環境ではうまく動作しました。

できればjquery history本体側で対処できると良いのですが、
ひとまず上記の対処を行ってみてもらえますか？</description>
		<content:encoded><![CDATA[<p>原因がおそらく判明しました。<br />
HTMLの中に</p>
<p>&lt;a name=&#8221;tab_proposal&#8221; rel=&#8221;nofollow&#8221;&gt;<br />
&lt;div id=&#8221;tab_proposal&#8221;&gt;</p>
<p>など、読み込むhashと同じidを持つ要素または同じnameを持つA要素があると<br />
余計な履歴が追加されてしまうようです。<br />
tab_proposal, tab_service, tab_jirei, tab_info<br />
全てを取り除いたところ、私の環境ではうまく動作しました。</p>
<p>できればjquery history本体側で対処できると良いのですが、<br />
ひとまず上記の対処を行ってみてもらえますか？</p>
]]></content:encoded>
	</item>
	<item>
		<title>テツ より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-937</link>
		<dc:creator>テツ</dc:creator>
		<pubDate>Tue, 22 Jun 2010 01:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-937</guid>
		<description>tkykさん、ご指摘ありがとうございます。

さっそく最新版のjquery.history.jsを入れて、スクリプトを修正したのですが、残念ながら症状は直りませんでした（汗

修正したサンプルは下記URLになります。
http://www.geocities.jp/hdmcs293/test/jquery_history/sample02.html</description>
		<content:encoded><![CDATA[<p>tkykさん、ご指摘ありがとうございます。</p>
<p>さっそく最新版のjquery.history.jsを入れて、スクリプトを修正したのですが、残念ながら症状は直りませんでした（汗</p>
<p>修正したサンプルは下記URLになります。<br />
<a href="http://www.geocities.jp/hdmcs293/test/jquery_history/sample02.html" rel="nofollow">http://www.geocities.jp/hdmcs293/test/jquery_history/sample02.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>tkyk より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-936</link>
		<dc:creator>tkyk</dc:creator>
		<pubDate>Mon, 21 Jun 2010 15:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-936</guid>
		<description>コメントありがとうございます。
確かにIEで確認するとご指摘通りの症状が出ていますね…。

ざっと見た限りかなり古いバージョンのjQuery Historyを使用されているようなので、
まずは最新版に切り替えてみてもらえますか？

最新版は以下のURLから入手できます。
http://github.com/tkyk/jquery-history-plugin/raw/master/jquery.history.js

スクリプトの構成が変わったので、

$.historyInit
$.historyLoad

をそれぞれ

$.history.init
$.history.load

に変更してください。

それでもまだ症状が出るようならチェックしてみます。</description>
		<content:encoded><![CDATA[<p>コメントありがとうございます。<br />
確かにIEで確認するとご指摘通りの症状が出ていますね…。</p>
<p>ざっと見た限りかなり古いバージョンのjQuery Historyを使用されているようなので、<br />
まずは最新版に切り替えてみてもらえますか？</p>
<p>最新版は以下のURLから入手できます。<br />
<a href="http://github.com/tkyk/jquery-history-plugin/raw/master/jquery.history.js" rel="nofollow">http://github.com/tkyk/jquery-history-plugin/raw/master/jquery.history.js</a></p>
<p>スクリプトの構成が変わったので、</p>
<p>$.historyInit<br />
$.historyLoad</p>
<p>をそれぞれ</p>
<p>$.history.init<br />
$.history.load</p>
<p>に変更してください。</p>
<p>それでもまだ症状が出るようならチェックしてみます。</p>
]]></content:encoded>
	</item>
	<item>
		<title>テツ より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-935</link>
		<dc:creator>テツ</dc:creator>
		<pubDate>Mon, 21 Jun 2010 04:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-935</guid>
		<description>はじめまして、テツと申します。

tkykさんのサイトを参考にjquery_historyの勉強をさせていただいています。

tkykさんのソースを参考にサンプルを作ってみたのですが、以前、さとさんのコメントにあったような症状がでてきて、IEのみ挙動が意図したとおりにならなくて困っています。

色々調べたりしたのですが、力不足で解決することができずに年月のみ経って困っています（汗
自分で作ったサンプルは下記URLになるのですが、ぜひ、アドバイスいただきたいと思いコメントさせていただきました。
どうぞ宜しくお願い致します。
http://www.geocities.jp/hdmcs293/test/jquery_history/sample1.html</description>
		<content:encoded><![CDATA[<p>はじめまして、テツと申します。</p>
<p>tkykさんのサイトを参考にjquery_historyの勉強をさせていただいています。</p>
<p>tkykさんのソースを参考にサンプルを作ってみたのですが、以前、さとさんのコメントにあったような症状がでてきて、IEのみ挙動が意図したとおりにならなくて困っています。</p>
<p>色々調べたりしたのですが、力不足で解決することができずに年月のみ経って困っています（汗<br />
自分で作ったサンプルは下記URLになるのですが、ぜひ、アドバイスいただきたいと思いコメントさせていただきました。<br />
どうぞ宜しくお願い致します。<br />
<a href="http://www.geocities.jp/hdmcs293/test/jquery_history/sample1.html" rel="nofollow">http://www.geocities.jp/hdmcs293/test/jquery_history/sample1.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Hossein より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-919</link>
		<dc:creator>Hossein</dc:creator>
		<pubDate>Wed, 19 May 2010 21:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-919</guid>
		<description>All my problems were solved,Thanks a million. :)</description>
		<content:encoded><![CDATA[<p>All my problems were solved,Thanks a million. <img src='http://wp.serpere.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>tkyk より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-918</link>
		<dc:creator>tkyk</dc:creator>
		<pubDate>Wed, 19 May 2010 11:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-918</guid>
		<description>Hmm... maybe you should use jquery&#039;s live events.
http://api.jquery.com/live/

I updated the code and added a new example which is similar to your case. Please check it.
http://www.serpere.info/jquery-history-plugin/samples/ajax/
Latest source code: http://github.com/tkyk/jquery-history-plugin/blob/master/jquery.history.js</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; maybe you should use jquery&#8217;s live events.<br />
<a href="http://api.jquery.com/live/" rel="nofollow">http://api.jquery.com/live/</a></p>
<p>I updated the code and added a new example which is similar to your case. Please check it.<br />
<a href="http://www.serpere.info/jquery-history-plugin/samples/ajax/" rel="nofollow">http://www.serpere.info/jquery-history-plugin/samples/ajax/</a><br />
Latest source code: <a href="http://github.com/tkyk/jquery-history-plugin/blob/master/jquery.history.js" rel="nofollow">http://github.com/tkyk/jquery-history-plugin/blob/master/jquery.history.js</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Hossein より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-916</link>
		<dc:creator>Hossein</dc:creator>
		<pubDate>Sun, 16 May 2010 20:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-916</guid>
		<description>hi,

many many thanks :).I removed &quot;mootools&quot; from my project:(
another problem :
when i load a page by Ajax if Ajax pages contain a link rel=&quot;hostory&quot;, after Ajax page load,document.ready not recognize clicked link and give me no action.
In previous versions i used this function for resolve problem but in updated version &quot;IE7&quot; don&#039;t handle loadHistory(hash) function.

my old function :

function onc(divID) {
	    clearTimeout(FadeTm);
	 	var hash = document.getElementById(divID).href;
		var hash = hash.toLowerCase();
		hash = hash.replace(/^.*#/, &#039;&#039;);
	    jQuery.historyLoad(hash);
		//return false;
	}</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>many many thanks <img src='http://wp.serpere.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .I removed &#8220;mootools&#8221; from my project:(<br />
another problem :<br />
when i load a page by Ajax if Ajax pages contain a link rel=&#8221;hostory&#8221;, after Ajax page load,document.ready not recognize clicked link and give me no action.<br />
In previous versions i used this function for resolve problem but in updated version &#8220;IE7&#8243; don&#8217;t handle loadHistory(hash) function.</p>
<p>my old function :</p>
<p>function onc(divID) {<br />
	    clearTimeout(FadeTm);<br />
	 	var hash = document.getElementById(divID).href;<br />
		var hash = hash.toLowerCase();<br />
		hash = hash.replace(/^.*#/, &#8221;);<br />
	    jQuery.historyLoad(hash);<br />
		//return false;<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>tkyk より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-915</link>
		<dc:creator>tkyk</dc:creator>
		<pubDate>Sun, 16 May 2010 13:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-915</guid>
		<description>First, the API changed from the old one. Please replace `$.historyInit&#039; with `$.history.init&#039; and `$.historyLoad` with `$.history.load&#039;.

Then generally speaking you should use `jQuery.history&#039; instead of `$.history&#039; when you use jQuery and other javascript libraries together.

MooTools-1.2.4 in my sample page:
http://www.serpere.info/tmp/jquery-history-mootools/sample/
http://www.serpere.info/tmp/jquery-history-mootools/sample/history_test.js
Does it work?

Unfortunately I hardly know about MooTools. So I can&#039;t advise you more on how to use this plugin and MooTools together.</description>
		<content:encoded><![CDATA[<p>First, the API changed from the old one. Please replace `$.historyInit&#8217; with `$.history.init&#8217; and `$.historyLoad` with `$.history.load&#8217;.</p>
<p>Then generally speaking you should use `jQuery.history&#8217; instead of `$.history&#8217; when you use jQuery and other javascript libraries together.</p>
<p>MooTools-1.2.4 in my sample page:<br />
<a href="http://www.serpere.info/tmp/jquery-history-mootools/sample/" rel="nofollow">http://www.serpere.info/tmp/jquery-history-mootools/sample/</a><br />
<a href="http://www.serpere.info/tmp/jquery-history-mootools/sample/history_test.js" rel="nofollow">http://www.serpere.info/tmp/jquery-history-mootools/sample/history_test.js</a><br />
Does it work?</p>
<p>Unfortunately I hardly know about MooTools. So I can&#8217;t advise you more on how to use this plugin and MooTools together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Hossein より</title>
		<link>http://wp.serpere.info/archives/783/comment-page-1#comment-914</link>
		<dc:creator>Hossein</dc:creator>
		<pubDate>Fri, 14 May 2010 15:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://wp.serpere.info/?p=783#comment-914</guid>
		<description>I found problem.i used &quot;mootools&quot; in my page and it is discordant with &quot;jq.history&quot; new changes.may be check it?</description>
		<content:encoded><![CDATA[<p>I found problem.i used &#8220;mootools&#8221; in my page and it is discordant with &#8220;jq.history&#8221; new changes.may be check it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

