<?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: Slide Elements in Different Directions</title>
	<atom:link href="http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions</link>
	<description>Tips, techniques, and tutorials for the jQuery JavaScript library</description>
	<lastBuildDate>Sat, 13 Mar 2010 15:20:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Indialike</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79840</link>
		<dc:creator>Indialike</dc:creator>
		<pubDate>Fri, 12 Mar 2010 06:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79840</guid>
		<description>Very nice and useful tutorials for web designers,
Thanks for posting.</description>
		<content:encoded><![CDATA[<p>Very nice and useful tutorials for web designers,<br />
Thanks for posting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max2474</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79801</link>
		<dc:creator>max2474</dc:creator>
		<pubDate>Sat, 06 Mar 2010 17:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79801</guid>
		<description>Very peculiar. Seems to be an issue with Internet Explorer 8, although some odd effects on some others. &quot;Opera&quot; + &quot;Google Chrome&quot; worked perfectly. Firefox cant load the video, Safari cant load the music, and IE8 you have to click twice on.

Not worried about the video or music ATM as this wont be end content, but if you can help with the double click on IE8, would be a huge help.

Which browser do you usually use btw?</description>
		<content:encoded><![CDATA[<p>Very peculiar. Seems to be an issue with Internet Explorer 8, although some odd effects on some others. &#8220;Opera&#8221; + &#8220;Google Chrome&#8221; worked perfectly. Firefox cant load the video, Safari cant load the music, and IE8 you have to click twice on.</p>
<p>Not worried about the video or music ATM as this wont be end content, but if you can help with the double click on IE8, would be a huge help.</p>
<p>Which browser do you usually use btw?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79792</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Sat, 06 Mar 2010 02:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79792</guid>
		<description>So sorry you were having problems posting your comments! They didn&#039;t even arrive as spam on my end. Probably stopped by the web host. They&#039;re ultra-tight on security, so they sometimes lock down stuff that should be let through.

Anyway, I went to the page you referred to in your comment, but I didn&#039;t experience the same problem as you. The slide worked on the first click for me. Which browser (and version) are you using? Maybe that has something to do with it.</description>
		<content:encoded><![CDATA[<p>So sorry you were having problems posting your comments! They didn&#8217;t even arrive as spam on my end. Probably stopped by the web host. They&#8217;re ultra-tight on security, so they sometimes lock down stuff that should be let through.</p>
<p>Anyway, I went to the page you referred to in your comment, but I didn&#8217;t experience the same problem as you. The slide worked on the first click for me. Which browser (and version) are you using? Maybe that has something to do with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max2474</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79791</link>
		<dc:creator>max2474</dc:creator>
		<pubDate>Sat, 06 Mar 2010 01:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79791</guid>
		<description>ok....seems to be when you post site info..odd. anyhow....

Just wanted to say thanks for the info, has managed to get me further than any similar tutorial.

Have come across an oddity though. lmao - trying to eplain without giving site info will be interesting.

In the last example on this page (slide right), using the code given in the reply to comment 9 - 
http examples learningjquery com slide -  (insert as needed) you need to click twice to get the slide to work. Not much to look at, but you can see here - max2474 DOT pcriot DOT com SLASH slide DOT htm   - no www&#039;s.

Hope this makes sence, is my 9th attempt to comment!

Please help if you can, either way, thanks for helping me get this far :)</description>
		<content:encoded><![CDATA[<p>ok&#8230;.seems to be when you post site info..odd. anyhow&#8230;.</p>
<p>Just wanted to say thanks for the info, has managed to get me further than any similar tutorial.</p>
<p>Have come across an oddity though. lmao &#8211; trying to eplain without giving site info will be interesting.</p>
<p>In the last example on this page (slide right), using the code given in the reply to comment 9 &#8211;<br />
http examples learningjquery com slide &#8211;  (insert as needed) you need to click twice to get the slide to work. Not much to look at, but you can see here &#8211; max2474 DOT pcriot DOT com SLASH slide DOT htm   &#8211; no www&#8217;s.</p>
<p>Hope this makes sence, is my 9th attempt to comment!</p>
<p>Please help if you can, either way, thanks for helping me get this far :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max2474</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79790</link>
		<dc:creator>max2474</dc:creator>
		<pubDate>Sat, 06 Mar 2010 00:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79790</guid>
		<description>hmm...cant post</description>
		<content:encoded><![CDATA[<p>hmm&#8230;cant post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrianaleites</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79764</link>
		<dc:creator>adrianaleites</dc:creator>
		<pubDate>Tue, 02 Mar 2010 03:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79764</guid>
		<description>Problem solved! Isn&#039;t the perfect transition i was expecting for but at least it works.

&lt;code&gt;
	jQuery(document).ready(function() {

	var showText=&quot;SHOW IMAGE&quot;;
	var hideText=&quot;HIDE IMAGE&quot;;
	
	jQuery(&#039;#column0&#039;).hide();

	jQuery(&quot;#link&quot;).click(function(){
  	jQuery(&quot;#column0&quot;).animate( { width:&quot;toggle&quot;}, 1500 );
	jQuery(&quot;#columns&quot;).animate( {width:&quot;toggle&quot;}, 1500);
  
	if (jQuery(&#039;#link&#039;).text()==showText) {
	jQuery(&#039;#link&#039;).text(hideText);
	}
	else {
	jQuery(&#039;#link&#039;).text(showText);
	}

	});
	
});&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Problem solved! Isn&#8217;t the perfect transition i was expecting for but at least it works.</p>
<p><code><br />
	jQuery(document).ready(function() {</p>
<p>	var showText="SHOW IMAGE";<br />
	var hideText="HIDE IMAGE";</p>
<p>	jQuery('#column0').hide();</p>
<p>	jQuery("#link").click(function(){<br />
  	jQuery("#column0").animate( { width:"toggle"}, 1500 );<br />
	jQuery("#columns").animate( {width:"toggle"}, 1500);</p>
<p>	if (jQuery('#link').text()==showText) {<br />
	jQuery('#link').text(hideText);<br />
	}<br />
	else {<br />
	jQuery('#link').text(showText);<br />
	}</p>
<p>	});</p>
<p>});</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrianaleites</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79763</link>
		<dc:creator>adrianaleites</dc:creator>
		<pubDate>Mon, 01 Mar 2010 23:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79763</guid>
		<description>hi! my page have a main div with width:960px. This div contains 5 divs (columns) with float:left... the first one is hidden. And i want to slide this hidden div when click a link. It works fine using this script:
&lt;code&gt;
&lt;/code&gt;&lt;code&gt;jQuery.noConflict();
jQuery(document).ready(function() {

	var showText=&quot;Show image&quot;;
	var hideText=&quot;Hide image&quot;;
	
	jQuery(&#039;#column1&#039;).hide();

	jQuery(&quot;#link&quot;).click(function(){
  	jQuery(&quot;#column1&quot;).animate( { width:&quot;toggle&quot;}, 1500 );
	
	if (jQuery(&#039;#link&#039;).text()==showText) {
	jQuery(&#039;#link&#039;).text(hideText);
	}
	else {
	jQuery(&#039;#link&#039;).text(showText);
	}

	});
	
});&lt;/code&gt;


The problem is that when i click the link &quot;Show image&quot;, the rest of the columns are pushed down to the page bottom. I just want the others divs to slide out of the page to right, or hide or something!
I already tried it to hide the other columns, but with no results:

&lt;code&gt;
	jQuery.noConflict();

	jQuery(document).ready(function() {

	var showText=&quot;Show image&quot;;
	var hideText=&quot;Hide image&quot;;
	
	jQuery(&#039;#column1&#039;).hide();

	jQuery(&quot;#link&quot;).click(function(){
  	jQuery(&quot;#column1&quot;).animate( { width:&quot;toggle&quot;}, 1500 );
	jQuery(&quot;#column2&quot;, &quot;#column3&quot;, &quot;#column4&quot;, &quot;#column5&quot;).hide();
	
	if (jQuery(&#039;#link&#039;).text()==showText) {
	jQuery(&#039;#link&#039;).text(hideText);
	}
	else {
	jQuery(&#039;#link&#039;).text(showText);
	}

	});
	
});
&lt;/code&gt;

If anyone got any idea to put this working fine, please give me some tips.
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>hi! my page have a main div with width:960px. This div contains 5 divs (columns) with float:left&#8230; the first one is hidden. And i want to slide this hidden div when click a link. It works fine using this script:<br />
<code><br />
</code><code>jQuery.noConflict();<br />
jQuery(document).ready(function() {</p>
<p>	var showText="Show image";<br />
	var hideText="Hide image";</p>
<p>	jQuery('#column1').hide();</p>
<p>	jQuery("#link").click(function(){<br />
  	jQuery("#column1").animate( { width:"toggle"}, 1500 );</p>
<p>	if (jQuery('#link').text()==showText) {<br />
	jQuery('#link').text(hideText);<br />
	}<br />
	else {<br />
	jQuery('#link').text(showText);<br />
	}</p>
<p>	});</p>
<p>});</code></p>
<p>The problem is that when i click the link &#8220;Show image&#8221;, the rest of the columns are pushed down to the page bottom. I just want the others divs to slide out of the page to right, or hide or something!<br />
I already tried it to hide the other columns, but with no results:</p>
<p><code><br />
	jQuery.noConflict();</p>
<p>	jQuery(document).ready(function() {</p>
<p>	var showText="Show image";<br />
	var hideText="Hide image";</p>
<p>	jQuery('#column1').hide();</p>
<p>	jQuery("#link").click(function(){<br />
  	jQuery("#column1").animate( { width:"toggle"}, 1500 );<br />
	jQuery("#column2", "#column3", "#column4", "#column5").hide();</p>
<p>	if (jQuery('#link').text()==showText) {<br />
	jQuery('#link').text(hideText);<br />
	}<br />
	else {<br />
	jQuery('#link').text(showText);<br />
	}</p>
<p>	});</p>
<p>});<br />
</code></p>
<p>If anyone got any idea to put this working fine, please give me some tips.<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79682</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Tue, 09 Feb 2010 05:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79682</guid>
		<description>Hi Karl,

Great post . . . thanks a lot. 
I implemented the same thing, but instead of a button to trigger the slide, i have used an image with the onClick event, calling a javascript function to change the image on click . The image shown is to be toggled on every click to indicate the change in direction . . .  It works great in firefox...   The problem i am facing is that in IE6 , the first time i click the image , the image changes indicating change of direction, but the slide doesnt work.  From the second click onwards, the slide starts working fne, but  because it failed for the first click,  the image shown is each time the opposite of what it needs to be  . . . . any idea how this could be fixed.
I alos used a button instead of an image as you have shown, , and the even the first button click doesnt make it slide . . .</description>
		<content:encoded><![CDATA[<p>Hi Karl,</p>
<p>Great post . . . thanks a lot.<br />
I implemented the same thing, but instead of a button to trigger the slide, i have used an image with the onClick event, calling a javascript function to change the image on click . The image shown is to be toggled on every click to indicate the change in direction . . .  It works great in firefox&#8230;   The problem i am facing is that in IE6 , the first time i click the image , the image changes indicating change of direction, but the slide doesnt work.  From the second click onwards, the slide starts working fne, but  because it failed for the first click,  the image shown is each time the opposite of what it needs to be  . . . . any idea how this could be fixed.<br />
I alos used a button instead of an image as you have shown, , and the even the first button click doesnt make it slide . . .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79565</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Mon, 18 Jan 2010 13:46:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79565</guid>
		<description>As long as you have the CSS defined correctly (using the &lt;code&gt;bottom&lt;/code&gt; property and setting &lt;code&gt;position&lt;/code&gt; to &lt;code&gt;relative&lt;/code&gt; or &lt;code&gt;absolute&lt;/code&gt;), all you need to do is use the &lt;code&gt; .slideUp()&lt;/code&gt; method. Just don&#039;t hide it initially.</description>
		<content:encoded><![CDATA[<p>As long as you have the CSS defined correctly (using the <code>bottom</code> property and setting <code>position</code> to <code>relative</code> or <code>absolute</code>), all you need to do is use the <code> .slideUp()</code> method. Just don&#8217;t hide it initially.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2009/02/slide-elements-in-different-directions/comment-page-1#comment-79564</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Mon, 18 Jan 2010 13:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=348#comment-79564</guid>
		<description>Make an image slide the same way you make a div slide. Just change the selector.</description>
		<content:encoded><![CDATA[<p>Make an image slide the same way you make a div slide. Just change the selector.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
