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
1066
votes
40 answers

Use jQuery to hide a DIV when the user clicks outside of it

I am using this code: $('body').click(function() { $('.form_wrapper').hide(); }); $('.form_wrapper').click(function(event){ event.stopPropagation(); }); And this HTML:
Scott Yu - builds stuff
  • 11,673
  • 8
  • 42
  • 55
402
votes
14 answers

iPhone hide Navigation Bar only on first page

I have the code below that hides and shows the navigational bar. It is hidden when the first view loads and then hidden when the "children" get called. Trouble is that I cannot find the event/action to trigger it to hide again when they get back…
Lee Armstrong
  • 11,420
  • 15
  • 74
  • 122
261
votes
4 answers

Android - Programmatically Hide/Show Soft Keyboard

Possible Duplicate: How do you close/hide the Android soft keyboard programmatically? First thing first I already saw this thread. I tried the accepted methods given there, but nothing worked for me. I have two screens in my app. First one has 2…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
195
votes
28 answers

How to hide soft input keyboard on flutter after clicking outside TextField/anywhere on screen?

Currently, I know the method of hiding the soft keyboard using this code, by onTap methods of any widget. FocusScope.of(context).requestFocus(new FocusNode()); But I want to hide the soft keyboard by clicking outside of TextField or anywhere on the…
Ammy Kang
  • 11,283
  • 21
  • 46
  • 68
163
votes
9 answers

Hide/Show Column in a HTML Table

I have an HTML table with several columns and I need to implement a column chooser using jQuery. When a user clicks on a checkbox I want to hide/show the corresponding column in the table. I would like to do this without attaching a class to every…
Brian Fisher
  • 23,519
  • 15
  • 78
  • 82
160
votes
4 answers

jQuery show for 5 seconds then hide

I'm using .show to display a hidden message after a successful form submit. How to display the message for 5 seconds then hide?
josoroma
  • 1,887
  • 2
  • 14
  • 16
126
votes
12 answers

How do I hide javascript code in a webpage?

Is it possible to hide the Javascript code from the html of a webpage, when the source code is viewed through the browsers View Source feature? I know it is possible to obfuscate the code, but I would prefer it being hidden from the view source…
arun nair
  • 3,643
  • 14
  • 41
  • 49
119
votes
5 answers

bootstrap 4 responsive utilities visible / hidden xs sm lg not working

Having an issue with the new responsive utilities hidden / visible classes, when migrating to Bootstrap 4. I am aware that .hidden- classes have been removed from v3 and replaced with .hidden-*-up .hidden-*-down. Using the new…
115
votes
6 answers

Hide div but keep the empty space

I have the following div element: .description { color: #b4afaf; font-size: 10px; font-weight: normal; }
Some text here
Then I have a click function on an element to hide the above…
Y2theZ
  • 10,162
  • 38
  • 131
  • 200
114
votes
4 answers

Hide horizontal scrollbar on an iframe?

I need to hide the horizontal scollbar on an iframe using css, jquery or js.
nkcmr
  • 10,690
  • 25
  • 63
  • 84
103
votes
10 answers

How to hide console window in python?

I am writing an IRC bot in Python. I wish to make stand-alone binaries for Linux and Windows of it. And mainly I wish that when the bot initiates, the console window should hide and the user should not be able to see the window. What can I do for…
Godwin Austin
93
votes
5 answers

HighCharts Hide Series Name from the Legend

I try to solve this problem several times and give up. Now, when I have met him again, I decided to ask for some help. I have this code for my Legend: legend: { layout: 'vertical', align: 'right', verticalAlign: 'top', x: -10, y:…
gotqn
  • 42,737
  • 46
  • 157
  • 243
86
votes
5 answers

How can I use delay() with show() and hide() in Jquery

How can I use delay() with show() and hide() in Jquery ?
faressoft
  • 19,053
  • 44
  • 104
  • 146
85
votes
10 answers

Is there a way to change effective process name in Python?

Can I change effective process name of a Python script? I want to show a different name instead of the real name of the process when I get the system process list. In C I can set strcpy(argv[0],"othername"); But in Python argv[0] =…
Emilio
  • 3,901
  • 11
  • 44
  • 50
83
votes
16 answers

How to hide a column (GridView) but still access its value?

I have a GridView with a DataSource (SQL Database). I want to hide a column, but still be able to access the value when I select the record. Can someone show me how to do this? This is the column I want to hide and still want to access its…
Tassisto
  • 9,877
  • 28
  • 100
  • 157
1
2 3
99 100