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
1
vote
2 answers

Javascript/Jquery animations

I am a little bit confused about how javascript and the jquery lib works. example. on a click event i want to have my image fade change sources and then fade back in. I figured in my head this should work. you execute one code and then you execute…
Lpc_dark
  • 2,834
  • 7
  • 32
  • 49
1
vote
1 answer

jQuery fadeTo() performance on many elements

I'm doing a cool fadey hover effect on a gallery of images to indicate which one you are hovering over - however when there are more than 20 or so images it really kills performance. Here's how I'm doing it (very basic) $('img').on('hover',…
totallyNotLizards
  • 8,489
  • 9
  • 51
  • 85
1
vote
2 answers

mouseleave function fadeTo initial value (turn back)

I'm doing a background player. When the user clicks the #play button, the main menu fade to 0.1 to not obstruct the view. But he can use the main menu at any time by passing the mouse over it and back to opacity 1. When he removes the mouse, becomes…
LGVentura
  • 1,547
  • 1
  • 11
  • 17
1
vote
1 answer

Changing fadeTo to a slide in Jquery

The standard galeriffic gallery fades between images when the thumbnails are clicked. How can I change the gallery so that instead the image slides off the page to the right, revealing the next image underneath instead? Thanks so all elements (images) under the "notowned" tag are grayed out. However, it is quite…
kutu
  • 13
  • 3
1
vote
4 answers

TypeError: Object # has no method 'fadeTo'

I am trying to fade a div using this code: Javascript: