Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-06-2010, 03:56 AM   PM User | #1
Kah Hoe Wan
New to the CF scene

 
Join Date: Oct 2010
Location: NYC
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Kah Hoe Wan is an unknown quantity at this point
script runs smooth on Safari but coppy on FF.

$(function() {
// HIDING THE CLASS
$(".ad-nav").css("opacity","0.0");

// ON MOUSE OVER
$(".ad-nav").hover(function () {

// SET OPACITY TO 100%
$(this).stop().animate({
opacity: 1.0
}, "slow");
},

// ON MOUSE OUT
function () {

// SET OPACITY BACK TO HIDE
$(this).stop().animate({
opacity: 0.0
}, "slow");
});
});

I am hiding a Div and showing it on mouse over. Fade Animation is smooth on Safari but a bit choppy FF. Can anyone come up with a solution to make it run smoothly on both? thanks.
Kah Hoe Wan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:54 PM.


Advertisement
Log in to turn off these ads.