Questions tagged [hide]

Methods for hiding visual components, particularly with regard to HTML.

For hiding segments of webpages, several options exist, such as the setting CSS display property to none and hide method.

This tag is also used for hiding options in other graphical interfaces and generally applies to "hiding" any information.

4735 questions
82
votes
10 answers

Hide a Navigation Drawer Menu Item - Android

I have a navigation drawer. When an event is called, I want to hide one of my navigation menu item for user. How can I do that? protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
huzain07
  • 1,051
  • 2
  • 8
  • 17
68
votes
13 answers

Hide console of Windows Application

I have a Qt application, and when I run this application, there is a console opening behind it. In development it is nice because i see debug outputs on the console, but when I want to give this executable to the customer there should be no console…
ufukgun
  • 6,889
  • 8
  • 33
  • 55
57
votes
17 answers

Android - Hide all shown Toast Messages

How do I remove all toast messages currently displayed? In my App, there is a list, when a user clicks on an item, a toast message is displayed, 10 items - 10 toast messages. So if the user clicks 10 times, then presses the menu button, they have to…
crazyV
  • 571
  • 1
  • 4
  • 3
48
votes
2 answers

Hiding namespaces containing only internal types in a class library?

I have a class library that has a couple of namespaces containing only internal types. However, when using the class library in an application project, the namespaces shows up in intellisense, but of course they are empty. Is there any way for me to…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
48
votes
8 answers

Hide soft keyboard after dialog dismiss

I want to hide soft keyboard after AlertDialog dismiss, but it's still visible. Here is my code: alert = new AlertDialog.Builder(MyActivity.this); imm =…
Dmytro Zarezenko
  • 10,526
  • 11
  • 62
  • 104
47
votes
13 answers

Select2: Hide certain options dynamically

Basically what I'm looking for is the ability to hide options from the dropdown of select items. So, technically they would still be options, but you just wouldn't be able to click them since they're hidden. I've looked through the docs and have…
jacheson
  • 1,303
  • 2
  • 12
  • 16
46
votes
6 answers

jQuery if statement to check visibility

I'm trying to write a script that will hidden/show div depending on other elements visibility. The action should take place when i click on other element. Here's what I've wrote so far: $('#column-left form').hide(); …
Tomarz
  • 1,097
  • 4
  • 15
  • 25
46
votes
3 answers

Determine if CSS property is set to a certain value?

Just wondering how to determine a jQuery statement like this if( $("#test").css('display', 'block') == true) { return true; } Basically, I want to be able to determine IF an element has is currently being shown or hidden via the "display:block"…
Tom
  • 463
  • 1
  • 4
  • 4
44
votes
9 answers

Permanently hide Navigation Bar in an activity

Is it possible to permanently remove the Navigation Bar on an activity? I want to remove the bar with the buttons that appear at the button of the screen on a tablet, not the Action Bar. Here. I know it is not recommended to do that, I did not make…
steve_patrick
  • 735
  • 2
  • 9
  • 19
44
votes
12 answers

Hide Text with CSS, Best Practice?

Let's say I have this element for displaying the website logo: The #web-title would be styled with…
deathlock
  • 2,756
  • 5
  • 27
  • 48
42
votes
7 answers

Jquery: Hide all children, then show a specific element

I want to hide all child elements in a div. And then show a specific one passed on to the function. function subDisplay(name) { $("#navSub").each(function() { $(this).hide(); }); $(name).show(); } then i call the function from an…
Christian Bekker
  • 1,857
  • 4
  • 27
  • 43
42
votes
14 answers

Hide Show content-list with only CSS, no javascript used

I've been searching for a good trick to make a Hide/Show content or a list with only CSS and no javascript. I've managed to make this action: