Questions tagged [fadeto]

Adjust the opacity of the matched elements.

Adjust the opacity of the matched elements.

Description:

.fadeTo( duration, opacity [, easing ] [, complete ] )

where,
duration A string or number determining how long the animation will run.
opacity A number between 0 and 1 denoting the target opacity.
easing A string indicating which easing function to use for the transition.
complete A function to call once the animation is complete.

jQuery fadeTo Documentation

131 questions
0
votes
1 answer

Jquery fade icon back on mouseout to the value it had before mousenter

I have this code which fades some icons to opacity 1.0 on mouseenter and back to 0.3 on mouseleave. It works great except that I have since have these icons set to opacity 0.13 in a different responsive view, but the code below still fades them back…
byronyasgur
  • 4,627
  • 13
  • 52
  • 96
0
votes
0 answers

jQuery Ajax load() with a callback fadeTo() only honors fadeTo() opacity first time

Page in question is located at: http://pull4parkinsonsfoundation.org/clinical_trials I am Ajax loading a
    of links into an ID'd area by clicking a nav link that filters what's seen by fading out the current html and fading in the new. That all…
dashard
  • 877
  • 1
  • 10
  • 17
0
votes
0 answers

JQuery fadeTo lagging

Im using JQuery fadeTo effect to change an image's opacity to 0.2 on mouseover and change it back to 1 on mouseleave. The problem that I encounter is that whenever I trigger the mouseleave event the image has 0.2 opacity for a few seconds before…
Martin
  • 710
  • 2
  • 11
  • 18
0
votes
0 answers

Why does jQuery.fadeTo() scroll my horizontal page to the top (=to the left)?

I am running a horizontal website. I have a gallery which shows only one picture. For not having to refresh the whole page when changing the displayed picture, I used jQuery fadeIn, load and fadeOut. This worked nice in Safari, but in Firefox it…
luke
  • 342
  • 2
  • 6
  • 16
0
votes
1 answer

Laggy opacity change in Chrome with large scaled images

I have a simple slide show where I fade out the current photo before displaying the new one. It works great under FF and IE, but effect is very laggy in Chrome... I spotted that lagginess in Chrome appears only on large scaled images Here is the…
mad
  • 713
  • 7
  • 10
0
votes
2 answers

Jquery Mouseout dropdown menu

Im trying to fix my mouseout event. Ive got the element to show when Im hovering on it. But I want it to dissapear when theres a mouseout event on the ".page_item.page-item-2" element AND #dropdown element. Here's my…
oBo
  • 992
  • 2
  • 13
  • 28
0
votes
1 answer

Need help getting FadeTo method to work with window scroll event

I am trying to get each 'section' of my one page website Fade in and out based on the scroll position. I want the section's to remain as display:block so I am using the FadeTo method rather than FadeIn/FadeOut. The idea is to have each section…
user1512126
  • 99
  • 1
  • 1
  • 7
0
votes
2 answers

Time a jQuery fadeTo Effect?

Currently I am using jQuery fadeTO to fade in a div. However I have a minor issue of timing here. I have an Animated GIF file that I want to time with the jQuery fadeTO effect. I have attempted to uses window.onload to not have the script fire…
L84
  • 45,514
  • 58
  • 177
  • 257
0
votes
1 answer

ObjectAL : Crashing on fadeTo:duration:target:selector:

For some reason, which I'm not sure why, my app keeps crashing on the fadeTo method on a OALAudioTrack object. I have three different OALAudioTrack objects which are within an array and I only need to change a OALAudioTrack object if a given value…
Peter
  • 749
  • 10
  • 27
0
votes
2 answers

Why jQuery fadeTo() doesn't work on scroll()?

I don't know why this code is not working: $(window).scroll(function () { var $scrtop = $(window).scrollTop(), $topnavbar = $(".topbar,.navbar-fixed-top"); $topnavbar.mouseenter(function(){ …
msmafra
  • 1,704
  • 3
  • 21
  • 34
-1
votes
1 answer

FadeTo() bei scrollTop