<?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"
	>
<channel>
	<title>Comments on: Improving a Flickr Plugin with jQuery</title>
	<atom:link href="http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/</link>
	<description>Doing That Web Standards Thing</description>
	<pubDate>Fri, 21 Nov 2008 11:19:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1530</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Tue, 02 Sep 2008 18:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1530</guid>
		<description>@Henry-
Basically you just want to append an empty div to the body, and give it an opacity:

&lt;pre&gt;&lt;code&gt;$('body').append('&#60;div id="overlay"&gt;&#60;/div&gt;')
$('#overlay').css('opacity','0.5');&lt;/code&gt;&lt;/pre&gt;

Then you will have to add in some CSS to make sure it fills the entire window, has a background color, and is positioned appropriately.</description>
		<content:encoded><![CDATA[<p>@Henry-<br />
Basically you just want to append an empty div to the body, and give it an opacity:</p>
<pre><code>$('body').append('&lt;div id="overlay">&lt;/div>')
$('#overlay').css('opacity','0.5');</code></pre>
<p>Then you will have to add in some CSS to make sure it fills the entire window, has a background color, and is positioned appropriately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1528</link>
		<dc:creator>Henry</dc:creator>
		<pubDate>Tue, 02 Sep 2008 17:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1528</guid>
		<description>Great work on this.

Where did you go to "I modified it a little to use table-less markup and for the entire page to grey out."

I like the Facebox script buy I need to grey out the page as well.</description>
		<content:encoded><![CDATA[<p>Great work on this.</p>
<p>Where did you go to &#8220;I modified it a little to use table-less markup and for the entire page to grey out.&#8221;</p>
<p>I like the Facebox script buy I need to grey out the page as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blu</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1140</link>
		<dc:creator>blu</dc:creator>
		<pubDate>Thu, 07 Aug 2008 04:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1140</guid>
		<description>Thank you so much! I'll give it a try and let you know how it works

Quote
"Of course, instead of using JavaScript to pull in your flickr feed, you can just use this WordPress plugin."

Where's the fun in that right???


Blu</description>
		<content:encoded><![CDATA[<p>Thank you so much! I&#8217;ll give it a try and let you know how it works</p>
<p>Quote<br />
&#8220;Of course, instead of using JavaScript to pull in your flickr feed, you can just use this WordPress plugin.&#8221;</p>
<p>Where&#8217;s the fun in that right???</p>
<p>Blu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1139</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Thu, 07 Aug 2008 04:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1139</guid>
		<description>@blu-
Ok, I would say the easiest thing to do would be to wrap the image with the link. So this: 
&lt;pre&gt;&lt;code&gt;&lt;strong&gt;wrap("&#60;div class='flickr-thumb' /&#62;")&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;
 would be replaced with this 
&lt;pre&gt;&lt;code&gt;&lt;strong&gt;wrap('&#60;a href="'+item.link+'" rel="lightbox"/&gt;').wrap("&#60;div class='flickr-thumb' /&#62;")&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;

That way, you will be ready to add in my code. Of course you will need to change the selector to be what you have. Make sure to add in my JavaScript after the JavaScript that you have pulling in the flickr feed. Of course, instead of using JavaScript to pull in your flickr feed, you can just use &lt;a href="http://eightface.com/wordpress/flickrrss/" rel="nofollow"&gt;this WordPress plugin&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@blu-<br />
Ok, I would say the easiest thing to do would be to wrap the image with the link. So this: </p>
<pre><code><strong>wrap("&lt;div class='flickr-thumb' /&gt;")</strong></code></pre>
<p> would be replaced with this </p>
<pre><code><strong>wrap('&lt;a href="'+item.link+'" rel="lightbox"/>').wrap("&lt;div class='flickr-thumb' /&gt;")</strong></code></pre>
<p>That way, you will be ready to add in my code. Of course you will need to change the selector to be what you have. Make sure to add in my JavaScript after the JavaScript that you have pulling in the flickr feed. Of course, instead of using JavaScript to pull in your flickr feed, you can just use <a href="http://eightface.com/wordpress/flickrrss/" rel="nofollow">this WordPress plugin</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blu</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1138</link>
		<dc:creator>blu</dc:creator>
		<pubDate>Thu, 07 Aug 2008 03:23:01 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1138</guid>
		<description>Yeah! basically I got the flickr feed working, but  instead of just linking to my flickr page I'm looking for a way to show the medium pics in a lightbox effect. it's working now on the bottom left sidebar of &lt;a href="http://www.moroccoblu.com" rel="nofollow"&gt;THIS PAGE&lt;/a&gt; I took the linking off for now.  I know it can work but like i said i'm just getting the hang of it. 
Code for the flickr feed is :



&lt;pre&gt;&lt;code&gt;$(function(){
	$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?ids=1384346@N02&#38;lang=en-us&#38;format=json&#38;jsoncallback=?", function(data){
		$.each(data.items, function(index, item){
			$("&#60;img/&gt;").attr("src", item.media.m).addClass("thumb").appendTo(".flickr .inside").wrap("&#60;div class='flickr-thumb' /&gt;"); 
			if ( index == 7 ) return false; 
		});			  					
	});		
});&lt;/code&gt;&lt;/pre&gt;
	
	</description>
		<content:encoded><![CDATA[<p>Yeah! basically I got the flickr feed working, but  instead of just linking to my flickr page I&#8217;m looking for a way to show the medium pics in a lightbox effect. it&#8217;s working now on the bottom left sidebar of <a href="http://www.moroccoblu.com" rel="nofollow">THIS PAGE</a> I took the linking off for now.  I know it can work but like i said i&#8217;m just getting the hang of it.<br />
Code for the flickr feed is :</p>
<pre><code>$(function(){
	$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?ids=1384346@N02&amp;lang=en-us&amp;format=json&amp;jsoncallback=?", function(data){
		$.each(data.items, function(index, item){
			$("&lt;img/>").attr("src", item.media.m).addClass("thumb").appendTo(".flickr .inside").wrap("&lt;div class='flickr-thumb' />");
			if ( index == 7 ) return false;
		});
	});
});</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1135</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Thu, 07 Aug 2008 02:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1135</guid>
		<description>@blu-
So you are trying to combine the two methods? Do you have a URL you can show so that we can see what you&#8217;ve got?</description>
		<content:encoded><![CDATA[<p>@blu-<br />
So you are trying to combine the two methods? Do you have a URL you can show so that we can see what you&rsquo;ve got?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blu</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-1132</link>
		<dc:creator>blu</dc:creator>
		<pubDate>Thu, 07 Aug 2008 01:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-1132</guid>
		<description>This is just what I'm looking for, only I'm only getting started with jQery, so bare with me guys.  I can't seem to add this supernice function to my flickr feed ( I'm using  &lt;a href="http://www.viget.com/inspire/pulling-your-flickr-feed-with-jquery/" rel="nofollow"&gt;This great way &lt;/a&gt; to pull your feed from flickr but can't seem to figure out where to include this code to make it work. any ideas would be greatly appreciated!!

Blu</description>
		<content:encoded><![CDATA[<p>This is just what I&#8217;m looking for, only I&#8217;m only getting started with jQery, so bare with me guys.  I can&#8217;t seem to add this supernice function to my flickr feed ( I&#8217;m using  <a href="http://www.viget.com/inspire/pulling-your-flickr-feed-with-jquery/" rel="nofollow">This great way </a> to pull your feed from flickr but can&#8217;t seem to figure out where to include this code to make it work. any ideas would be greatly appreciated!!</p>
<p>Blu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taylan</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-916</link>
		<dc:creator>taylan</dc:creator>
		<pubDate>Sat, 07 Jun 2008 20:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-916</guid>
		<description>Nice plugin. Thank you.</description>
		<content:encoded><![CDATA[<p>Nice plugin. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skylog &#187; Blog Archive &#187; links for 2008-06-07</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-915</link>
		<dc:creator>Skylog &#187; Blog Archive &#187; links for 2008-06-07</dc:creator>
		<pubDate>Sat, 07 Jun 2008 06:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-915</guid>
		<description>[...] Improving a Flickr Plugin with jQuery (tags: jquery) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Improving a Flickr Plugin with jQuery (tags: jquery) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-912</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 06 Jun 2008 13:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-912</guid>
		<description>@Patrick-
Nice, glad is was helpful.

@Pat-
Yeah I need to do a little tweaking on the lightbox script. This is the line I need to fix: 

&lt;pre&gt;&lt;code&gt;$('#overlay').css('height',arrayPageSize[1]+10);&lt;/code&gt;&lt;/pre&gt;

It only needs to add the extra 10 pixels in IE 6 I believe. What browser were you using?</description>
		<content:encoded><![CDATA[<p>@Patrick-<br />
Nice, glad is was helpful.</p>
<p>@Pat-<br />
Yeah I need to do a little tweaking on the lightbox script. This is the line I need to fix: </p>
<pre><code>$('#overlay').css('height',arrayPageSize[1]+10);</code></pre>
<p>It only needs to add the extra 10 pixels in IE 6 I believe. What browser were you using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-911</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Fri, 06 Jun 2008 13:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-911</guid>
		<description>Hey, 

I've been looking for something like this for a long time now! Thanks so much. 

There is one thing I noticed when I opened one of the photos into the lightbox box. For some reason, even though the picture doesn't go anywhere near the bottom of my window, there is something that is causing a vertical scroll-bar to appear. Don't know if there's a "height:" issue somewhere?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hey, </p>
<p>I&#8217;ve been looking for something like this for a long time now! Thanks so much. </p>
<p>There is one thing I noticed when I opened one of the photos into the lightbox box. For some reason, even though the picture doesn&#8217;t go anywhere near the bottom of my window, there is something that is causing a vertical scroll-bar to appear. Don&#8217;t know if there&#8217;s a &#8220;height:&#8221; issue somewhere?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-910</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 06 Jun 2008 11:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-910</guid>
		<description>Thank you very much for this insightful little tutorial. This technique could come handy sometime.

Greetings</description>
		<content:encoded><![CDATA[<p>Thank you very much for this insightful little tutorial. This technique could come handy sometime.</p>
<p>Greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Hayler</title>
		<link>http://trevordavis.net/blog/tutorial/improving-a-flickr-plugin-with-jquery/#comment-909</link>
		<dc:creator>Richard Hayler</dc:creator>
		<pubDate>Fri, 06 Jun 2008 08:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=226#comment-909</guid>
		<description>I love using Flickr myself but wanted to display the photos in a gallery on my own site. If anyone is interested I would be happy to make this script available and maybe someone could make a plugin for WP. You can checkout the full functionality on my website at http://www.hayler.com/photos/

The script uses the Flickr API, some PHP code and lightbox. Currently I have this running on PHP4.</description>
		<content:encoded><![CDATA[<p>I love using Flickr myself but wanted to display the photos in a gallery on my own site. If anyone is interested I would be happy to make this script available and maybe someone could make a plugin for WP. You can checkout the full functionality on my website at <a href="http://www.hayler.com/photos/" rel="nofollow">http://www.hayler.com/photos/</a></p>
<p>The script uses the Flickr API, some PHP code and lightbox. Currently I have this running on PHP4.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
