<?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>www.pokeroconnor.com &#187; jQuery &amp; JS</title>
	<atom:link href="http://www.pokeroconnor.com/category/jquery-js/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pokeroconnor.com</link>
	<description></description>
	<lastBuildDate>Thu, 25 Mar 2010 22:56:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>jQuery Access Last Element</title>
		<link>http://www.pokeroconnor.com/jquery-access-last-element/</link>
		<comments>http://www.pokeroconnor.com/jquery-access-last-element/#comments</comments>
		<pubDate>Fri, 01 May 2009 20:39:31 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[jQuery & JS]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=234</guid>
		<description><![CDATA[Just a quick one, if you want to manipulate the last instance of an element (or any element) on a page, you can do this SO easily and quickly with jQuery.
$(function() {
	  $("dt:last").addClass("last");
	});
This (obviously!) adds the class &#8216;last&#8217; to the final dt element in the document. The cool thing is you could use $(&#8221;dt:last-1&#8243;) [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick one, if you want to manipulate the last instance of an element (or any element) on a page, you can do this SO easily and quickly with jQuery.</p>
<pre>$(function() {
	  $("dt:last").addClass("last");
	});</pre>
<p>This (obviously!) adds the class &#8216;last&#8217; to the final dt element in the document. The cool thing is you could use $(&#8221;dt:last-1&#8243;) to access the second dt element, so flexible and easy to use&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/jquery-access-last-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Pagination and Glow</title>
		<link>http://www.pokeroconnor.com/jquery-pagination-and-glow/</link>
		<comments>http://www.pokeroconnor.com/jquery-pagination-and-glow/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 21:56:15 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[jQuery & JS]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=175</guid>
		<description><![CDATA[The main jQuery pagination plugin page, bit disappointing to be honest, a lot of vertical scrolling solutions which I think are pointless. But there is one little gem, which isn&#8217;t really what you would use for paginating large tables of mysql data for example, but which is ideal for paginating almost any kind of page [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://plugins.jquery.com/taxonomy/term/765">main jQuery pagination plugin</a> page, bit disappointing to be honest, a lot of vertical scrolling solutions which I think are pointless. But there is one little gem, which isn&#8217;t really what you would use for paginating large tables of mysql data for example, but which is ideal for <strong>paginating almost any kind of page element</strong>! That&#8217;s right, you can very, very easily paginate li&#8217;s, table rows, whatever you like with <a href="http://plugins.jquery.com/project/quick_paginate">Quick Paginate</a>. Definitely worth a look&#8230;</p>
<p>And one of the coolest effects I&#8217;ve seen, is the <a href="http://github.com/nakajima/jquery-glow/tree/master">glow plugin</a>. You&#8217;ve got to <a href="http://jquery-glow.patnakajima.net/">see the example</a>. However, the full effects of the glow need to be seen in Safari (for the time being), in other browsers you just get a cool fading color effect &#8211; but the future looks bright (ahem)!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/jquery-pagination-and-glow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax for Beginners</title>
		<link>http://www.pokeroconnor.com/ajax-for-beginners/</link>
		<comments>http://www.pokeroconnor.com/ajax-for-beginners/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 23:15:46 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[jQuery & JS]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=147</guid>
		<description><![CDATA[Quickest and easiest tutorial, and should be your first starting point as it serves as a good, simple introduction to the XMLHttpRequest object. Then one of the first AJAX tutorials is here. Typical creation of the object:
function ajaxFunction()
{
var xmlHttp;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.w3schools.com/Ajax/default.asp">Quickest and easiest tutorial</a>, and should be your first starting point as it serves as a good, simple introduction to the XMLHttpRequest object. Then <a href="http://www.codingforums.com/archive/index.php/t-74902.html">one of the first AJAX tutorials</a> is here. Typical creation of the object:</p>
<pre>function ajaxFunction()
{
var xmlHttp;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  }</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/ajax-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Auto Refresh Page</title>
		<link>http://www.pokeroconnor.com/javascript-auto-refresh-page/</link>
		<comments>http://www.pokeroconnor.com/javascript-auto-refresh-page/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 21:48:40 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[jQuery & JS]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=117</guid>
		<description><![CDATA[Thanks to this excellent blog, this is how to get a page to auto refresh on a timer using javascript (in this example its on a 10 second timer):
&#60;script type=&#8221;text/javascript&#8221; language=&#8221;javascript&#8221;&#62; 
var reloadTimer = null;
window.onload = function()
{
    setReloadTime(10); // In this example we&#8217;ll use 10 seconds.
}
function setReloadTime(secs) 
{
    if (arguments.length == 1) {
        if (reloadTimer) [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://www.netlobo.com/javascript_location_reload.html">this excellent blog</a>, this is how to get a page to auto refresh on a timer using javascript (in this example its on a 10 second timer):</p>
<p>&lt;script type=&#8221;text/javascript&#8221; language=&#8221;javascript&#8221;&gt; </p>
<p>var reloadTimer = null;</p>
<p>window.onload = function()</p>
<p>{</p>
<p>    setReloadTime(10); // In this example we&#8217;ll use 10 seconds.</p>
<p>}</p>
<p>function setReloadTime(secs) </p>
<p>{</p>
<p>    if (arguments.length == 1) {</p>
<p>        if (reloadTimer) clearTimeout(reloadTimer);</p>
<p>        reloadTimer = setTimeout(&#8221;setReloadTime()&#8221;, Math.ceil(parseFloat(secs) * 1000));</p>
<p>    }</p>
<p>    else {</p>
<p>        location.reload();</p>
<p>    }</p>
<p>}</p>
<p>&lt;/script&gt;</p>
<p>And you can do the following to add a link to refresh the page:</p>
<p>&lt;a href=&#8221;javascript:location.reload();&#8221;&gt;Refresh the page&lt;/a&gt;</p>
<p>reload() refreshes from the cache, so if you want to force it to get a fresh copy via GET from the server, pass &#8216;true&#8217; as a param. E.g. &lt;a onclick=&#8221;location.reload(true)&#8221; href=&#8221;#&#8221;&gt;Refresh the page&lt;/a&gt;</p>
<p>You can also do :<span class="code-keyword">&lt;</span>meta http-equiv=<span class="code-string">&#8220;</span><span class="code-string">Refresh&#8221;</span> content=<span class="code-string">&#8220;</span><span class="code-string">n;url&#8221;</span>/<span class="code-keyword">&gt;, just leave off the url if you want to refresh to the current page.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/javascript-auto-refresh-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginning jquery</title>
		<link>http://www.pokeroconnor.com/beginning-jquery/</link>
		<comments>http://www.pokeroconnor.com/beginning-jquery/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 22:16:14 +0000</pubDate>
		<dc:creator>PokerOConnor</dc:creator>
				<category><![CDATA[jQuery & JS]]></category>

		<guid isPermaLink="false">http://www.pokeroconnor.com/?p=35</guid>
		<description><![CDATA[For a starting point on jQuery, here&#8217;s a page with a load of useful links (at the bottom) from good old Smashing Magazine. 
Here&#8217;s a great tutorial resource for jQuery &#8211; tonne of good links off it too. One of the best, which starts with the most fundamental/basic topics, and works its way up to writing [...]]]></description>
			<content:encoded><![CDATA[<p>For a <a href="http://www.smashingmagazine.com/2008/09/16/jquery-examples-and-best-practices/">starting point on jQuery</a>, here&#8217;s a page with a load of useful links (at the bottom) from good old Smashing Magazine. </p>
<p>Here&#8217;s a <a href="http://www.noupe.com/tutorial/51-best-of-jquery-tutorials-and-examples.html">great tutorial resource for jQuery</a> &#8211; tonne of good links off it too. <a href="http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Setup">One of the best,</a> which starts with the most fundamental/basic topics, and works its way up to writing a jQuery plugin, is unsurprisingly one of jQuery&#8217;s own tutorials, by <a class="external text" title="http://bassistance.de/" href="http://bassistance.de/">Jörn Zaefferer.</a> A good, basic <a href="http://docs.jquery.com/Traversing/end">end()</a> example.</p>
<p>Here&#8217;s a <a href="http://colorcharge.com/wp-content/uploads/2007/12/jquery12_colorcharge.png">handy cheatsheet</a> too, and a great page on <a href="http://docs.jquery.com/Manipulation">manipulation </a><span style="color: #0000ee; text-decoration: underline;">capabilities</span>.</p>
<p>Pretty much <a href="http://wiki.novemberborn.net/sifr/How+to+use">all you need on SiFR is right here</a>. And here&#8217;s how to <a href="http://nexus.zteo.com/2007/05/18/create-your-own-sifr-flash-files-2/">create your own Flash files without using Adobe suite.</a> No you&#8217;ve got no excuse!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pokeroconnor.com/beginning-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
