<?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: A simple AJAX website with jQuery</title>
	<atom:link href="http://tutorialzine.com/2009/09/simple-ajax-website-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/</link>
	<description>Web Development Tutorials &#38; Resources</description>
	<lastBuildDate>Wed, 16 May 2012 02:12:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: sthen</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-23195</link>
		<dc:creator>sthen</dc:creator>
		<pubDate>Fri, 06 Apr 2012 14:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-23195</guid>
		<description>hi, got a question about using jquery library

when i change loaded script 

&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;&gt;&lt;/script&gt;

into new version f.e
&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&quot;&gt;&lt;/script&gt;

its collapsing, other page #page1 #page2 etc. is loading, but can&#039;t do it right. Any ideas, how to load new jquery library?</description>
		<content:encoded><![CDATA[<p>hi, got a question about using jquery library</p>
<p>when i change loaded script </p>
<p>&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;&gt;&lt;/script&gt;</p>
<p>into new version f.e<br />
&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&quot;&gt;&lt;/script&gt;</p>
<p>its collapsing, other page #page1 #page2 etc. is loading, but can't do it right. Any ideas, how to load new jquery library?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-22236</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 23 Feb 2012 16:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-22236</guid>
		<description>Hello,

The code works perfectly, however when I use another anchor for example to send people back to the top of the page, it treats it as an ajax query and it gives me the &quot;This page does not exist&quot; error. Is there a way to fix this?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>The code works perfectly, however when I use another anchor for example to send people back to the top of the page, it treats it as an ajax query and it gives me the &quot;This page does not exist&quot; error. Is there a way to fix this?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DJEROCK</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-22221</link>
		<dc:creator>DJEROCK</dc:creator>
		<pubDate>Wed, 22 Feb 2012 23:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-22221</guid>
		<description>Figured it out replace the function loadPage(url) with this: (Be sure to change out your $(&quot;.extLink&quot;).fancybox({ with what your fancybox link type is...)
&lt;pre&gt;
function loadPage(url)
{
	url=url.replace(&#039;#page&#039;,&#039;&#039;);
	
	$(&#039;#loading&#039;).css(&#039;visibility&#039;,&#039;visible&#039;);
	
	$.ajax({
		type: &quot;POST&quot;,
		url: &quot;load_page.php&quot;,
		data: &#039;page=&#039;+url,
		dataType: &quot;html&quot;,
		success: function(msg){
			if(parseInt(msg)!=0)
			{
				$(&#039;#pageContent&#039;).html(msg);
				$(&#039;#loading&#039;).css(&#039;visibility&#039;,&#039;hidden&#039;);
			}
			function(output){ 
				setTimeout( 
					function() { 
						$(&quot;#pageContent&quot;) 
						.empty() 
						.append(output) 
						.fadeIn(&#039;slow&#039;, function(){ 
							$(document).ready(function(){ 
								$(&quot;.extLink&quot;).fancybox({
									&#039;width&#039; : &#039;75%&#039;,
									&#039;height&#039; : &#039;100%&#039;,
									&#039;autoScale&#039; : false,
									&#039;transitionIn&#039; : &#039;elastic&#039;,
									&#039;transitionOut&#039; : &#039;fade&#039;,
									&#039;type&#039; : &#039;iframe&#039;
								}); 
							}) 
						}, 600);
					});
				}
		}
	});

}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Figured it out replace the function loadPage(url) with this: (Be sure to change out your $(&quot;.extLink&quot;).fancybox({ with what your fancybox link type is...)</p>
<pre>
function loadPage(url)
{
	url=url.replace('#page','');

	$('#loading').css('visibility','visible');

	$.ajax({
		type: &quot;POST&quot;,
		url: &quot;load_page.php&quot;,
		data: 'page='+url,
		dataType: &quot;html&quot;,
		success: function(msg){
			if(parseInt(msg)!=0)
			{
				$('#pageContent').html(msg);
				$('#loading').css('visibility','hidden');
			}
			function(output){
				setTimeout(
					function() {
						$(&quot;#pageContent&quot;)
						.empty()
						.append(output)
						.fadeIn('slow', function(){
							$(document).ready(function(){
								$(&quot;.extLink&quot;).fancybox({
									'width' : '75%',
									'height' : '100%',
									'autoScale' : false,
									'transitionIn' : 'elastic',
									'transitionOut' : 'fade',
									'type' : 'iframe'
								});
							})
						}, 600);
					});
				}
		}
	});

}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny3</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-22179</link>
		<dc:creator>Danny3</dc:creator>
		<pubDate>Tue, 21 Feb 2012 05:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-22179</guid>
		<description>Simple and neat. Martin, you are amazing, it&#039;s great that you add the files for every tutorial. Thank you!</description>
		<content:encoded><![CDATA[<p>Simple and neat. Martin, you are amazing, it's great that you add the files for every tutorial. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-22086</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 16 Feb 2012 20:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-22086</guid>
		<description>Hey Martin, I was just wondering how I could pass a simple GET parameter to one of these pages. Any help would be great.</description>
		<content:encoded><![CDATA[<p>Hey Martin, I was just wondering how I could pass a simple GET parameter to one of these pages. Any help would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charles</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-21928</link>
		<dc:creator>charles</dc:creator>
		<pubDate>Tue, 07 Feb 2012 07:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-21928</guid>
		<description>million thanks, martin.. this really helped me.. i tried many other, but this one worked perfectly.</description>
		<content:encoded><![CDATA[<p>million thanks, martin.. this really helped me.. i tried many other, but this one worked perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timur</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-21044</link>
		<dc:creator>Timur</dc:creator>
		<pubDate>Sun, 18 Dec 2011 05:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-21044</guid>
		<description>Very nice tutorial! Thank you!

I have one question, how to get one of the buttons to get active status to style with css?</description>
		<content:encoded><![CDATA[<p>Very nice tutorial! Thank you!</p>
<p>I have one question, how to get one of the buttons to get active status to style with css?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Formager</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-20861</link>
		<dc:creator>Greg Formager</dc:creator>
		<pubDate>Wed, 07 Dec 2011 16:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-20861</guid>
		<description>I have the same question - I would like to use different names for the pages instead of &quot;page_1&quot;, &quot;page_2&quot;, etc.

I can&#039;t figure out how to make this work..</description>
		<content:encoded><![CDATA[<p>I have the same question - I would like to use different names for the pages instead of "page_1", "page_2", etc.</p>
<p>I can't figure out how to make this work..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjun S Kumar</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-18900</link>
		<dc:creator>Arjun S Kumar</dc:creator>
		<pubDate>Mon, 01 Aug 2011 12:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-18900</guid>
		<description>I&#039;ve been using the AJAX part to be implemented on my personal site, and when I include the &lt;a href=&quot;http://www.prototypejs.org/&quot; rel=&quot;nofollow&quot;&gt;Prototype&lt;/a&gt; the AJAX part doesnt works! I&#039;ve been using prototype for using lighbox gallery plugin to use in my image gallery section. Any suggestions or fixes on this issue?</description>
		<content:encoded><![CDATA[<p>I've been using the AJAX part to be implemented on my personal site, and when I include the <a href="http://www.prototypejs.org/" rel="nofollow">Prototype</a> the AJAX part doesnt works! I've been using prototype for using lighbox gallery plugin to use in my image gallery section. Any suggestions or fixes on this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e11world</title>
		<link>http://tutorialzine.com/2009/09/simple-ajax-website-jquery/#comment-18847</link>
		<dc:creator>e11world</dc:creator>
		<pubDate>Fri, 29 Jul 2011 06:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=351#comment-18847</guid>
		<description>Also wondering if there&#039;s a way to change the Title of the pages loading in that div to effect the main title (for example your demo page right now says A simple AJAX website with jQuery) and I want to change that according to each page.</description>
		<content:encoded><![CDATA[<p>Also wondering if there's a way to change the Title of the pages loading in that div to effect the main title (for example your demo page right now says A simple AJAX website with jQuery) and I want to change that according to each page.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Object Caching 356/356 objects using apc
Content Delivery Network via cdn.tutorialzine.com

Served from: tutorialzine.com @ 2012-05-16 18:03:43 -->
