Questions tagged [fade]

Fade refers to the UI technique of having page elements gradually gain or lose visibility, usually in response to a user action.

1685 questions
8
votes
5 answers

Apply fading edges to ImageView

Is there any way to apply vertical/horizontal fading edges to an ImageView component? I already tried android:fadingEdge but unfortunately this attribute is deprecated and will be ignored as of API level 14, Any ideas?
Ali
  • 2,012
  • 3
  • 25
  • 41
8
votes
0 answers

Multi line TextView edge fading

I have a long text with multiple lines. I want to wrap the TextView inside the ScrollView such that the edge of ScrollView apply a TEMPORARY alpha gradient TextView as the user scroll the text. The fading does not appear at all. I intentionally set…
Mohsen Afshin
  • 13,273
  • 10
  • 65
  • 90
8
votes
3 answers

how does jquery fadeIn work? Doing the same with animate()

I love the simple jQuery fadeIn() function, especially because it works without having to set any opacity values to the selector! Just setting it to display:none and using fadeIn() always works. However I'm not using jQuery for my current project…
matt
  • 42,713
  • 103
  • 264
  • 397
8
votes
6 answers

jQuery Scale and Fade at the same time

So I can make a div to scale nicely from it's center pivot: http://jsfiddle.net/uTDay/ However, the transition starts to change when I add in content inside the div: http://jsfiddle.net/uTDay/1/ Notice that it no longer shrink from center. I also…
kyooriouskoala
  • 583
  • 1
  • 4
  • 12
7
votes
4 answers

jQuery - correct way to wait for fade to finish

I have a problem where I want to fade out an image, then move the image to an empty
  • container. However, the image doesn't fade, instead it just seems like the fade is being overridden by the move, using html(). Below is what I'm trying to do.…
  • Harry F
    • 122
    • 3
    • 10
    7
    votes
    2 answers

    Fade page transition to an anchor

    I'm trying to make a smooth transition to a anchor within a page. The objective is when you click the link pointing to the anchor, the page fades out (scrolls) and fades in with the called anchor itself. I have this mark-up, it fades in/out…
    ermac
    • 428
    • 1
    • 5
    • 13
    7
    votes
    5 answers

    Fade in on mouse movement

    How do I fade in div content on first mouse movement, like on google.com, using JavaScript? I don't want it to fade out again.
    alexwithk
    • 71
    • 1
    • 3
    7
    votes
    2 answers

    Swift - Fading cells in UITableView

    I'm having troubles with my UITableView in swift on Xcode 6 : I would like my UITableView cells to fade in / out when appearing / disappearing. I looked a lot on the web for fade animations but I didn't find what I wanted because it's based on…
    foofoo
    • 73
    • 1
    • 5
    7
    votes
    2 answers

    Rotating text with Javascript

    I'd like to cycle through an array of words creating a text rotation affect. I have most of it working as expected. Is there any way I can use a css transition on the length of the p element? When traversing from an object with char.length > 10 to…
    Cole Roberts
    • 954
    • 3
    • 15
    • 25
    7
    votes
    2 answers

    ios uitableview fade bottom cell and top cell as you scroll

    I am fading out cells of my uitableview as they scroll out of view, or fading them in as they scroll into view. The issue I am facing is that if I scroll really fast sometimes the cells that are completely visible remain dimmed. Here is my code…
    Atul Bhatia
    • 1,633
    • 5
    • 25
    • 50
    7
    votes
    6 answers

    Fade in / fade out background color of an HTML element with Javascript (or jQuery)

    I have a table whose row needs to be highlighted & then cleared. I'm using contextual classes to color the table rows (not a necessary requirement). The javascript part is given below. How can I animate i.e. fadeIn / fadeOut the coloring of rows…
    user
    • 17,781
    • 20
    • 98
    • 124
    7
    votes
    1 answer

    css fade in transition for block text when hovering image?

    So this is my code and I was looking to use css3 transitions to fade in the text and background colour when you hover the image. I've tried numerous selectors and transition types but cant seem to get it right any help is greatly appreciated. see…
    Superfast Goose
    • 147
    • 1
    • 1
    • 7
    7
    votes
    2 answers

    Raphael.js - can I use .show/.hide with fade effect?

    Is there a way to make element fade in or fade out using Raphael.js? My code is something like: var elem = paper.circle(10, 10, 10) elem.hide(); Is there an attribute to .hide() to make fade effect, something like: var elem = paper.circle(10, 10,…
    Demeter
    • 106
    • 1
    • 8
    7
    votes
    2 answers

    Fade in/Fade out for MAAttachedWindow

    I'm using Matt Gemmell's MAAttachedWindow (http://mattgemmell.com/source) with an NSStatusItem to display a custom view in the menu bar. I'm confused as to how to get it to fade in and fade out. Normally I'd do something like this: [window…
    indragie
    • 18,002
    • 16
    • 95
    • 164
    7
    votes
    4 answers

    Fade edges of UITableView

    I've made a little research about my problem and unfortunately there was no solution for my problem. The closest was Fade UIImageView as it approaches the edges of a UIScrollView but it's still not for me. I want my table to apply an "invisibility…
    Chris Rutkowski
    • 1,774
    • 1
    • 26
    • 36