Questions tagged [show]

Methods for displaying additional or previously hidden visual components, particularly with regard to HTML.

In HTML, setting the display property to an appropriate value, or using the show method, will display a previously hidden elements.

In other graphical environments, there may be menu items or other components not displayed by default. This tag is relevant to displaying any previously absent content.

2522 questions
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
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
155
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
  • 2,010
  • 5
  • 19
  • 23
145
votes
5 answers

How to "git show" the diffs for a merge commit?

When I have a merge commit and run git show , it shows only the commit log, not the the diffs: commit c0f50178901e09a1237f7b9d9173ec5d1c4936c Merge: ed234b ded051 Author: abc Date: Mon Nov 21 15:56:33 2016 -0800 Merge branch…
Sohaib Farooqui
  • 1,459
  • 2
  • 10
  • 5
119
votes
5 answers

How to print a double with two decimals in Android?

Maybe this is a silly question, but I cannot guess how to solve it if it's not creating a method. Maybe there's a "natural way" to do it, like in C for example. Here's the problem: I have a var: double a; And I want to show it only with 2 or 3…
ArcDare
  • 3,106
  • 4
  • 27
  • 38
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
50
votes
5 answers

Only show tables with certain patterns in mysql "show tables"

There are too many tables in a db. how can I only show tables with certain patterns? Or is there a way I can do paging like "| more" in shell command?
user398384
  • 1,124
  • 3
  • 14
  • 21
48
votes
5 answers

Creating a `Users` show page using Devise

I'm trying to create a User show page (that will function as a profile page) but am confused about how to do this with Devise. It doesn't seem as though Devise comes with any sort of show definition - is there any way I can access the controllers…
steffi2392
  • 1,345
  • 3
  • 19
  • 19
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
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
17 answers

Android show softkeyboard with showSoftInput is not working?

I have created a trivial application to test the following functionality. When my activity launches, it needs to be launched with the softkeyboard open. My code does not work?! I have tried various "state" settings in the manifest and different…
mobibob
  • 8,670
  • 20
  • 82
  • 131
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: