<?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>Comments on: Deep Linking with jQuery</title>
	<atom:link href="http://www.thetutorialblog.com/jquery/deep-linking-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thetutorialblog.com/jquery/deep-linking-with-jquery/</link>
	<description></description>
	<lastBuildDate>Sun, 18 Jul 2010 12:34:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: grigzie</title>
		<link>http://www.thetutorialblog.com/jquery/deep-linking-with-jquery/comment-page-1/#comment-558</link>
		<dc:creator>grigzie</dc:creator>
		<pubDate>Sat, 15 May 2010 00:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=243#comment-558</guid>
		<description>NB: In the last post the DIV ID should have read #area where it reads #mainContent. 
Sorry!</description>
		<content:encoded><![CDATA[<p>NB: In the last post the DIV ID should have read #area where it reads #mainContent.<br />
Sorry!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grigzie</title>
		<link>http://www.thetutorialblog.com/jquery/deep-linking-with-jquery/comment-page-1/#comment-557</link>
		<dc:creator>grigzie</dc:creator>
		<pubDate>Fri, 14 May 2010 23:59:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=243#comment-557</guid>
		<description>I&#039;ve fixed the double loading issue by changing:

// Event handlers
$.address.init(function(event) {
   console.log(&quot;init: &quot; + $(&#039;[rel=address:&#039; + event.value + &#039;]&#039;).attr(&#039;href&#039;));
}).change(function(event) {
  $(&quot;#area&quot;).load($(&#039;[rel=address:&#039; + event.value + &#039;]&#039;).attr(&#039;href&#039;));
  console.log(&quot;change&quot;);
});

with:

 // Event handlers
$.address.externalChange(function(event) {
  console.log(&quot;init: &quot; + $(&#039;[rel=address:&#039; + event.value + &#039;]&#039;).attr(&#039;href&#039;));
  $(&quot;#mainContent&quot;).load($(&#039;[rel=address:&#039; + event.value + &#039;]&#039;).attr(&#039;href&#039;));
}).change(function(event) {
  console.log(&quot;change&quot;);
});

My next problem is that it will go backwards over divs that have been loaded via AJAX but won&#039;t go back to the initial page (the content that was originally loaded in the #area div before the AJAX loaded content entered the #area div).

Any help would be much appreciated!

Thanks again,
Andrew</description>
		<content:encoded><![CDATA[<p>I've fixed the double loading issue by changing:</p>
<p>// Event handlers<br />
$.address.init(function(event) {<br />
   console.log("init: " + $('[rel=address:' + event.value + ']').attr('href'));<br />
}).change(function(event) {<br />
  $("#area").load($('[rel=address:' + event.value + ']').attr('href'));<br />
  console.log("change");<br />
});</p>
<p>with:</p>
<p> // Event handlers<br />
$.address.externalChange(function(event) {<br />
  console.log("init: " + $('[rel=address:' + event.value + ']').attr('href'));<br />
  $("#mainContent").load($('[rel=address:' + event.value + ']').attr('href'));<br />
}).change(function(event) {<br />
  console.log("change");<br />
});</p>
<p>My next problem is that it will go backwards over divs that have been loaded via AJAX but won't go back to the initial page (the content that was originally loaded in the #area div before the AJAX loaded content entered the #area div).</p>
<p>Any help would be much appreciated!</p>
<p>Thanks again,<br />
Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grigzie</title>
		<link>http://www.thetutorialblog.com/jquery/deep-linking-with-jquery/comment-page-1/#comment-556</link>
		<dc:creator>grigzie</dc:creator>
		<pubDate>Fri, 14 May 2010 23:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=243#comment-556</guid>
		<description>Hi Wez,

Thanks for the great tutorial - I got almost everything working within minutes.

But I have a problem - the page seems to load into the #area div twice. Although this is imperceptible in your demo, when you start using more content it becomes noticeable. This is amplified if you try and add some jQuery animation!

I was wondering what I could do to prevent this from happening?

Thanks again for such an insightful tutorial.

Andrew</description>
		<content:encoded><![CDATA[<p>Hi Wez,</p>
<p>Thanks for the great tutorial - I got almost everything working within minutes.</p>
<p>But I have a problem - the page seems to load into the #area div twice. Although this is imperceptible in your demo, when you start using more content it becomes noticeable. This is amplified if you try and add some jQuery animation!</p>
<p>I was wondering what I could do to prevent this from happening?</p>
<p>Thanks again for such an insightful tutorial.</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.thetutorialblog.com/jquery/deep-linking-with-jquery/comment-page-1/#comment-337</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Tue, 30 Mar 2010 04:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=243#comment-337</guid>
		<description>any idea why this doesn&#039;t work with mozilla firefox?

I used a similar setup, and it works fine in Chrome, but when looking at the console in firefox a warning comes up : e.success.call is not a function
http://localhost/webDev/lostine/wp-content/themes/lostine/js/jquery-1.4.1.min.js
Line 121

I used the .post() function, but tried .load() as well and they have similar issues</description>
		<content:encoded><![CDATA[<p>any idea why this doesn't work with mozilla firefox?</p>
<p>I used a similar setup, and it works fine in Chrome, but when looking at the console in firefox a warning comes up : e.success.call is not a function<br />
<a href="http://localhost/webDev/lostine/wp-content/themes/lostine/js/jquery-1.4.1.min.js" rel="nofollow">http://localhost/webDev/lostine/wp-content/themes/lostine/js/jquery-1.4.1.min.js</a><br />
Line 121</p>
<p>I used the .post() function, but tried .load() as well and they have similar issues</p>
]]></content:encoded>
	</item>
</channel>
</rss>
