Opposite of [tag::hidden] or [tag::invisible] depending upon context.
Questions tagged [visible]
956 questions
22
votes
3 answers
Android: Getting a count of the visible children in a listview
Is there are way to get a count of the number of visible listview children?
I have a listview with info linked to a database that can change at any time. When the database is changed, I send out a broadcast notifying the ui class handling the list…

Chris
- 1,140
- 3
- 9
- 15
17
votes
3 answers
Get the first and last visible element in a scrollable div
I have list of thumbs in a scrollable div, animated with next/prev button. Each click on "next "button should match the attribute of the first visible element. Each click on "prev" button should give me the attribute of the last visible element.
I…

Thomas
- 1,444
- 1
- 13
- 25
17
votes
7 answers
Angular 4 - how to trigger an animation when a div comes into the viewport?
I've been building a new site using Angular 4 and i'm trying to re-create a effect where when a div becomes visible (when you scroll down the screen) then that can then trigger a angular animation to slide the div in form the sides.
I've been able…

Ultronn
- 532
- 1
- 5
- 19
17
votes
3 answers
jQuery - remove background-color when an element is visible
I would like to remove the background-color (only the background-color) of the menu once another element is visible. I wrote this code, but it doesn't work - anybody can help?
$(function() {
if($("#wrapperHome").is(":visible")) {
$("#menu…

didi
- 287
- 1
- 6
- 16
15
votes
4 answers
How to get the "real" value of the Visible property?
If you set the Visible property of a Windows Forms control to true, that property still returns false if any of the control's parent windows are hidden. Is there a way to get the true, underlying visibility flag of the control in case the parent…

Qwertie
- 16,354
- 20
- 105
- 148
14
votes
3 answers
conditionally show hide asp.net Gridview column

zey
- 5,939
- 14
- 56
- 110
13
votes
3 answers
jQuery detect visible but hidden elements
This seems like it should be fairly easy - but I can't find the right selector for it
According to the docs (http://api.jquery.com/hidden-selector/ and http://api.jquery.com/visible-selector/)...
Elements can be considered hidden for several…

Paul
- 9,409
- 13
- 64
- 113
13
votes
5 answers
Finding if element is visible (JavaScript )
I have a javascript function that tries to determine whether a div is visible and does various processes with that variable. I am successfully able to swap an elements visibility by changing it's display between none and block; but I cannot store…

Devon Bernard
- 2,250
- 5
- 19
- 32
12
votes
1 answer
What is the best way to determine if a window is actually visible in WPF
I'm trying to toggle the display of a small window based on the click of a notify icon in a system tray app. This is simple enough to implement, however when the small window is displayed and another application takes focus and therefore moves in…

LaserJesus
- 8,230
- 7
- 47
- 65
11
votes
3 answers
How to disable cgridview view button or setting visiability to false
can some buddy please suggest how to disable view button on cgridview widget and how to add more button like active..
$this->widget('zii.widgets.grid.CGridView',…

Coder
- 153
- 1
- 2
- 10
11
votes
4 answers
Selenium C# Webdriver How to detect if element is visible
Is there a way in the latest version of Selenium DotNet Webdriver (2.22.0) to check to see if an element is visible before clicking/interacting with it?
The only way I've found is to try to handle the ElementNotVisible exception that occurs when you…

user1442482
- 113
- 1
- 1
- 4
10
votes
2 answers
How can I tell if a Delphi control is currently visible?
I need a way to for a custom control (descended from TCustomControl) to tell if it is currently visible. I'm not talking about the .Visible property; I mean whether or not it's actually being displayed on-screen at the moment. Does anyone know how…

Mason Wheeler
- 82,511
- 50
- 270
- 477
10
votes
6 answers
Toggle button visibility in android activity
I have an activity with two play and pause buttons (currently invisible) and a seekbar. When I press the play button, the pause button should become visible, and when I press the pause button it should turn invisible.
How would I do that?
import…

hossein
- 123
- 1
- 1
- 5
9
votes
2 answers
Error: Format: "svg" not recognized. Use one of:
Hallo I try to create a decisiontree with my csv datasheet. I installed in anaconda and python the graphviz package with the following command:
conda install graphviz
pip install graphviz
to get my tree visible. Here is my code that I have wrote in…

Razielruss
- 139
- 1
- 7
9
votes
1 answer
leaflet: Detect when marker is out of view
I have a table with geo location results in which the user can click to set that location in the map. The map is already loaded, and the user might have paned/scolled, and all those locations might be out of sight.
So when the user clicks the button…

Mariano Desanze
- 7,847
- 7
- 46
- 67