<?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: MicroTut: The jQuery Hover Method</title>
	<atom:link href="http://tutorialzine.com/2010/02/the-jquery-hover-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/</link>
	<description>Web Development Tutorials &#38; Resources</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:23:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Martin Angelov</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-4659</link>
		<dc:creator>Martin Angelov</dc:creator>
		<pubDate>Wed, 14 Apr 2010 16:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-4659</guid>
		<description>@ Deoxys

The OR operator has the following meaning - &quot;if the left-hand side argument is false, null or undefined, use the right one&quot;. It can be used outside of an IF statements with the same meaning.

In the line:

&lt;pre&gt;this.check = this.check &#124;&#124; 1;&lt;/pre&gt;

we tell JS to assign to &lt;b&gt;this.check&lt;/b&gt; its own value if it exists (practically remain the same), otherwise assign 1 (which happens the first time the function is run because then &lt;b&gt;this.check&lt;/b&gt; is undefined).

It would be the same as:

&lt;pre&gt;
if(this.check == undefined) this.check=1;
&lt;/pre&gt;

Hope it became a bit clearer.</description>
		<content:encoded><![CDATA[<p>@ Deoxys</p>
<p>The OR operator has the following meaning &#8211; &#8220;if the left-hand side argument is false, null or undefined, use the right one&#8221;. It can be used outside of an IF statements with the same meaning.</p>
<p>In the line:</p>
<pre>this.check = this.check || 1;</pre>
<p>we tell JS to assign to <b>this.check</b> its own value if it exists (practically remain the same), otherwise assign 1 (which happens the first time the function is run because then <b>this.check</b> is undefined).</p>
<p>It would be the same as:</p>
<pre>
if(this.check == undefined) this.check=1;
</pre>
<p>Hope it became a bit clearer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deoxys</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-4655</link>
		<dc:creator>Deoxys</dc:creator>
		<pubDate>Wed, 14 Apr 2010 12:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-4655</guid>
		<description>Can someone explain me this line?
this.check = this.check &#124;&#124; 1;

What does it do in normal English language? ;-)

I always thought that &#124;&#124; only exists in IF and Co.... what does it do here?</description>
		<content:encoded><![CDATA[<p>Can someone explain me this line?<br />
this.check = this.check || 1;</p>
<p>What does it do in normal English language? ;-)</p>
<p>I always thought that || only exists in IF and Co&#8230;. what does it do here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jones</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-3094</link>
		<dc:creator>Jones</dc:creator>
		<pubDate>Thu, 25 Feb 2010 10:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-3094</guid>
		<description>nice work.</description>
		<content:encoded><![CDATA[<p>nice work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sophy</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-3090</link>
		<dc:creator>sophy</dc:creator>
		<pubDate>Thu, 25 Feb 2010 07:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-3090</guid>
		<description>Nice article I like it. Could I ask some questions? How to do featured slideshow the same your blog work with wordpress?

Best Regard,</description>
		<content:encoded><![CDATA[<p>Nice article I like it. Could I ask some questions? How to do featured slideshow the same your blog work with wordpress?</p>
<p>Best Regard,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Angelov</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-3079</link>
		<dc:creator>Martin Angelov</dc:creator>
		<pubDate>Wed, 24 Feb 2010 19:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-3079</guid>
		<description>@ Fernandos

Those are some interesting menus. A jQuery navigation menu with the hover method might actually make it into a full tutorial, and not just a micro one : )

@ Adreas

You shouldn&#039;t be worried about memory leaks with this example. If, however, you are uncomfortable with leaving the variable increment without a limit, you can add this line below &lt;b&gt;this.check = this.check &#124;&#124; 1;&lt;/b&gt;

&lt;blockquote&gt;
this.check%=2;
&lt;/blockquote&gt;

@ Al

We had some problems with our server. Everything is online now.</description>
		<content:encoded><![CDATA[<p>@ Fernandos</p>
<p>Those are some interesting menus. A jQuery navigation menu with the hover method might actually make it into a full tutorial, and not just a micro one : )</p>
<p>@ Adreas</p>
<p>You shouldn&#8217;t be worried about memory leaks with this example. If, however, you are uncomfortable with leaving the variable increment without a limit, you can add this line below <b>this.check = this.check || 1;</b></p>
<blockquote><p>
this.check%=2;
</p></blockquote>
<p>@ Al</p>
<p>We had some problems with our server. Everything is online now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-3078</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Wed, 24 Feb 2010 19:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-3078</guid>
		<description>Hey thanks for the tut. The demo link says 404 Not Found .. is there any demo ?</description>
		<content:encoded><![CDATA[<p>Hey thanks for the tut. The demo link says 404 Not Found .. is there any demo ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-3072</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Wed, 24 Feb 2010 15:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-3072</guid>
		<description>I have some concerns about this.check  and memory leaks. Is this the proper way to do it instead of using the jquery data methods?</description>
		<content:encoded><![CDATA[<p>I have some concerns about this.check  and memory leaks. Is this the proper way to do it instead of using the jquery data methods?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernandos</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-3071</link>
		<dc:creator>Fernandos</dc:creator>
		<pubDate>Wed, 24 Feb 2010 15:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-3071</guid>
		<description>Hi Martin :)

Hey the jQuery 1.4 way of appyling a hover state is new to me.
You could write a follow up micro-tutorial that would fit very well to this tutorial about using the hover state on a real menu.

I&#039;ve already done this last year on my page, look at the menu and the footer. Especially the catalgue button is nice. I think users would like to see how this is done with an actual menu or an item.
(the url http://www.fif-moebel.de )


Also I&#039;d like to mention http://colorpowered.com/blend/ which is a better implementation of the hover state, because it allows nice degradations. though I&#039;ve achieved good degradation too, but for the cost of extra css.

cheers
Fernandos</description>
		<content:encoded><![CDATA[<p>Hi Martin :)</p>
<p>Hey the jQuery 1.4 way of appyling a hover state is new to me.<br />
You could write a follow up micro-tutorial that would fit very well to this tutorial about using the hover state on a real menu.</p>
<p>I&#8217;ve already done this last year on my page, look at the menu and the footer. Especially the catalgue button is nice. I think users would like to see how this is done with an actual menu or an item.<br />
(the url http://www.fif-moebel.de )</p>
<p>Also I&#8217;d like to mention http://colorpowered.com/blend/ which is a better implementation of the hover state, because it allows nice degradations. though I&#8217;ve achieved good degradation too, but for the cost of extra css.</p>
<p>cheers<br />
Fernandos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-3063</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 24 Feb 2010 12:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-3063</guid>
		<description>@ Martin Angelov

Thanks for the help mate!</description>
		<content:encoded><![CDATA[<p>@ Martin Angelov</p>
<p>Thanks for the help mate!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Angelov</title>
		<link>http://tutorialzine.com/2010/02/the-jquery-hover-method/#comment-3060</link>
		<dc:creator>Martin Angelov</dc:creator>
		<pubDate>Wed, 24 Feb 2010 11:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=732#comment-3060</guid>
		<description>@ Chris

You&#039;ll have to set the opacity to 0.4 on page load manually first. You can do this with the following line:

&lt;blockquote&gt;
$(&#039;.selectorClass&#039;).css(&#039;opacity&#039;,0.4);
&lt;/blockquote&gt;

The line above should go into your &lt;b&gt;$(document).ready()&lt;/b&gt;.

After this you can copy one of the three methods above, just switch the places of 0.4 and 1.</description>
		<content:encoded><![CDATA[<p>@ Chris</p>
<p>You&#8217;ll have to set the opacity to 0.4 on page load manually first. You can do this with the following line:</p>
<blockquote><p>
$(&#8216;.selectorClass&#8217;).css(&#8216;opacity&#8217;,0.4);
</p></blockquote>
<p>The line above should go into your <b>$(document).ready()</b>.</p>
<p>After this you can copy one of the three methods above, just switch the places of 0.4 and 1.</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 355/356 objects using apc
Content Delivery Network via cdn.tutorialzine.com

Served from: tutorialzine.com @ 2012-02-08 14:00:10 -->
