Questions tagged [effects]

Non functional enhancements of user interaction with a product (most commonly visual and sound)

Do not use this tag for R effects package related posts.

989 questions
147
votes
11 answers

jQuery using append with effects

How can I use .append() with effects like show('slow') Having effects on append doesn't seem to work at all, and it give the same result as normal show(). No transitions, no animations. How can I append one div to another, and have a slideDown or…
David King
  • 1,920
  • 5
  • 18
  • 23
111
votes
4 answers

jQuery slide left and show

I extended the jQuery effects called slideRightShow() and slideLeftHide() with a couple functions that work similarly to slideUp() and slideDown() as seen below. However, I would also like to implement slideLeftShow() and slideRightHide(). I know…
Wickethewok
  • 6,173
  • 11
  • 39
  • 40
88
votes
15 answers

jQuery "blinking highlight" effect on div?

I'm looking for a way to do the following. I add a
to a page, and an ajax callback returns some value. The
is filled with values from the ajax call, and the
is then prepended to another
, which acts as a table column. I would…
ZolaKt
  • 4,561
  • 6
  • 40
  • 66
79
votes
1 answer

"Monad transformers more powerful than effects" - Examples?

The paper "Programming and reasoning with algebraic effects and dependent types" by Edwin C. Brady on effects in Idris contains the (unreferenced) claim that: Although [effects and monad transformers] are not equivalent in power — monads and monad…
geoff_h
  • 1,175
  • 6
  • 12
74
votes
5 answers

jQuery animate scroll

I'm not sure how to call the effect, but can someone point me into a library that would help me do the same effect as this website? http://www.makr.com Basically, it moves up the row to the top of the page on mouse click. A code snippet, preferably…
Marvzz
  • 1,485
  • 3
  • 15
  • 22
59
votes
3 answers

How many milliseconds do "slow", "normal", and "fast" represent in jQuery?

jQuery allows use of the string values "slow", "normal", and "fast" in animations (e.g.: $('#example').fadeOut('slow');). How many milliseconds do each of these values represent?
Matt Huggins
  • 73,807
  • 32
  • 140
  • 214
58
votes
6 answers

Blurring an image via CSS?

On many smartphones (Samsung Galaxy II being an example) when you browse through a photo gallery, its blurred copy is laid out in the background. Can this be achieved by CSS dynamically (ie. without the copy of the photo being prepared upfront…
user776686
  • 5,924
  • 9
  • 52
  • 94
51
votes
3 answers

How do you fadeIn and animate at the same time?

Using jQuery I'm creating a basic 'tooltip' animation so that the tooltip will appear in a little animation in which it fades into view as well as move vertically. So far I have this: $('.tooltip').fadeIn('slow'); $('.tooltip').animate({ top:…
JayNCoke
  • 1,051
  • 1
  • 11
  • 17
48
votes
6 answers

delay JQuery effects

I want to fade out an element and all its child elements after a delay of a few seconds. but I haven't found a way to specify that an effect should start after a specified time delay.
Dónal
  • 176,670
  • 166
  • 541
  • 787
44
votes
6 answers

Extract random effect variances from lme4 mer model object

I have a mer object that has fixed and random effects. How do I extract the variance estimates for the random effects? Here is a simplified version of my question. study <- lmer(Reaction ~ Days + (1|Subject), data = sleepstudy) study This gives a…
dynamo
  • 2,718
  • 3
  • 20
  • 32
25
votes
5 answers

How to attach callback to jquery effect on dialog show?

My problem is that I do not know how to attach callback to the jquery ui dialog show. The show is actually an option: $( ".selector" ).dialog({ show: 'slide' }); I want to have a callback after the slide animation is complete. I looked from the…
Pehmolelu
  • 3,336
  • 2
  • 24
  • 30
24
votes
5 answers

Android: How to create fade-in/fade-out sound effects for any music file that my app plays?

The application that I am working on plays music files. If a timer expires I want the music to fade out. How do I do that. I am using MediaPlayer to play music and music files are present in raw folder of my application.
binW
  • 11,886
  • 9
  • 51
  • 67
24
votes
1 answer

WPF window shadow effect

I am new to WPF technology. I have the following window declaration in WPF:
Victor
  • 11,135
  • 16
  • 65
  • 128
22
votes
3 answers

How to create fireworks particle graphics effect on android

Anybody has any idea how to make a fireworks effect by drawing on canvas? There is one nice example in wireworks live wallpaper (free app). There, many points move and leave trails in a star like explosion and gradually disappear. I think that…
Lumis
  • 20,819
  • 7
  • 57
  • 66
20
votes
2 answers

How can I create a drop shadow, inner glow and outer glow in Java Swing?

I am generating some images using the Graphics2D interface, and occasionally I'd like to be able to draw some text on the image and apply to it effects like the ones in Adobe Photoshop. Right now to generate a 'shadow' on the text I am drawing the…
Tom Neyland
  • 6,581
  • 2
  • 34
  • 52
1
2 3
65 66