Comments on: Image Fade Revisited http://jqueryfordesigners.com/image-fade-revisited/ Tutorials and screencasts Thu, 22 Sep 2011 12:58:42 +0000 hourly 1 http://wordpress.org/?v=3.3.1 By: Mike http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-7412 Mike Sun, 24 Jan 2010 02:37:57 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-7412 <p>Hey guys,</p> <p>Below is my version of the code. I have tested this and the fading effect displays EXACTLY the same in IE6, IE8, FF3.5 (win + linux), Chrome 3 (win + linux), Konqueror (linux) and Opera (linux). It degrades nicely when javascript is turned off (simple css rollover) and contains the link text when the style sheet is disabled. Can anyone spot anything wrong with this version? (as I am new to css, javascript and jquery - it seems to work a little too well).</p> <p>[Author edit: moved to JS Bin]: http://jsbin.com/iroxu3/edit#html</p> Hey guys,

Below is my version of the code. I have tested this and the fading effect displays EXACTLY the same in IE6, IE8, FF3.5 (win + linux), Chrome 3 (win + linux), Konqueror (linux) and Opera (linux). It degrades nicely when javascript is turned off (simple css rollover) and contains the link text when the style sheet is disabled. Can anyone spot anything wrong with this version? (as I am new to css, javascript and jquery – it seems to work a little too well).

[Author edit: moved to JS Bin]: http://jsbin.com/iroxu3/edit#html

]]>
By: Dimbeko http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-7161 Dimbeko Mon, 04 Jan 2010 23:24:08 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-7161 <p>Another great script!</p> <p>I have been using it for my website main menu: http://www.dabproject.com/ No issues, no errors, extremely easy to implement and modify. It shows a real power of JQuery!</p> <p>The script can be used anywhere, not only for menu elements. I have an idea to use it like roll-over for my portfolio demonstration but have not implemented yet.</p> <p>Thank you!</p> Another great script!

I have been using it for my website main menu: http://www.dabproject.com/ No issues, no errors, extremely easy to implement and modify. It shows a real power of JQuery!

The script can be used anywhere, not only for menu elements. I have an idea to use it like roll-over for my portfolio demonstration but have not implemented yet.

Thank you!

]]>
By: Quinn http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-7142 Quinn Sun, 27 Dec 2009 20:49:41 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-7142 <p>Hello - i'm having problems with this on Internet Explorer. The leftmost "button" on both instances of the nav running on my site seem to float on top of the other ones... only in IE! If anyone can look at the code and help I would be grateful! -- http://quinnianniciello.com Thanks!</p> Hello – i’m having problems with this on Internet Explorer. The leftmost “button” on both instances of the nav running on my site seem to float on top of the other ones… only in IE! If anyone can look at the code and help I would be grateful! — http://quinnianniciello.com Thanks!

]]>
By: scherii http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-6780 scherii Wed, 21 Oct 2009 07:30:52 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-6780 <p>First I'd like to thank you for this great website.</p> <p><p>Do you know how to fade transparent pngs in IE (without that annoying black border)? I've tried it with unitpngfix - but that does not seem to work..</p> <pre>EDIT: sry, it seems that unitpngfix doesn't work with background-position e.g. css sprites.</pre></p> First I’d like to thank you for this great website.

Do you know how to fade transparent pngs in IE (without that annoying black border)? I’ve tried it with unitpngfix – but that does not seem to work..

EDIT: sry, it seems that unitpngfix doesn't work with background-position e.g. css sprites.
]]>
By: Ben http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-6769 Ben Sat, 17 Oct 2009 06:22:15 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-6769 <p>Thanks for the code, still useful today! I've employed this code for a site I'm working on for my friend who is using a vertical scroller with images as a navigation for his portfolio. What I am trying to do now is activate the hover image of the specific image when it is clicked on, so it appears in full opacity compared to the others. I didn't quite understand what Lane did. I've created a new class with the same properties as the hover and added it through some pathname/indexOf logic to the link, but with no success. Any help would be appreciated. http://www.randyberinger.com/kiwi. Thanks!</p> Thanks for the code, still useful today! I’ve employed this code for a site I’m working on for my friend who is using a vertical scroller with images as a navigation for his portfolio. What I am trying to do now is activate the hover image of the specific image when it is clicked on, so it appears in full opacity compared to the others. I didn’t quite understand what Lane did. I’ve created a new class with the same properties as the hover and added it through some pathname/indexOf logic to the link, but with no success. Any help would be appreciated. http://www.randyberinger.com/kiwi. Thanks!

]]>
By: Vale http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-6409 Vale Wed, 30 Sep 2009 19:47:28 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-6409 <p>If you disable javascript on the demo page, is not going to fallback to the css original version of the navbar (background position swapping on mouse hover).</p> If you disable javascript on the demo page, is not going to fallback to the css original version of the navbar (background position swapping on mouse hover).

]]>
By: vale http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-6313 vale Sun, 27 Sep 2009 13:18:48 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-6313 <p>Hey thanks for explaining this, great tutorial. I'm not understanding how to let this fallback fine when javascript is disabled (or the user is using IE6) keeping the background shift on link's hover state. Thanks.</p> Hey thanks for explaining this, great tutorial. I’m not understanding how to let this fallback fine when javascript is disabled (or the user is using IE6) keeping the background shift on link’s hover state. Thanks.

]]>
By: Al http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-6166 Al Wed, 23 Sep 2009 19:15:46 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-6166 <p>hi, i 've just used that navigation thing, but it seems doesn't work well 'cause i put other image instead dragon-sprite.jpg and i added the transitions on the image just like the original, but it doesn't do anything, if anyone could help me i'd apreciate it tnx :)</p> hi, i ‘ve just used that navigation thing, but it seems doesn’t work well ’cause i put other image instead dragon-sprite.jpg and i added the transitions on the image just like the original, but it doesn’t do anything, if anyone could help me i’d apreciate it tnx :)

]]>
By: Lane http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-5666 Lane Mon, 07 Sep 2009 01:15:05 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-5666 <p>Nevermind. I figured it out. Just added this to the js:</p> <p>$('#nav li a').filter(function () { return !$(this).hasClass("active"); }) .append('').each(function() {</p> <p>and this to the CSS</p> <p>ul .hi a#home:hover, ul a#home span.hover ul a#home.active {</p> <p>width: 49px; background-position: -158px -30px;</p> <p>}</p> Nevermind. I figured it out. Just added this to the js:

$(‘#nav li a’).filter(function () { return !$(this).hasClass(“active”); }) .append(”).each(function() {

and this to the CSS

ul .hi a#home:hover, ul a#home span.hover ul a#home.active {

width: 49px; background-position: -158px -30px;

}

]]>
By: Lane http://jqueryfordesigners.com/image-fade-revisited/comment-page-2/#comment-5664 Lane Mon, 07 Sep 2009 00:42:10 +0000 http://jqueryfordesigners.com/image-fade-revisited/#comment-5664 <p>Hi Rem! As usual, great tut. One question, how would you keep a link faded in when it is active? (ie. Keep Portfolio lit up when you are on the portfolio page?)</p> Hi Rem! As usual, great tut. One question, how would you keep a link faded in when it is active? (ie. Keep Portfolio lit up when you are on the portfolio page?)

]]>