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
17
votes
1 answer

How to hide the console window of a C program?

I've been looking around but I couldn't find the solution to my problem, even with some supposedly solved problems that resemble mine. I want to hide the console window when my C program runs. #include #include #include…
Athropos
  • 253
  • 1
  • 2
  • 8
16
votes
3 answers

Hide Eclipse Menu Bar (auto-hide)

I'm trying to hide Eclipse menu bar to save some screen real estate. I found I can do this using perspectives but that would permanently take out the menu from that perspective. The behavior that I want to get is something along of auto-hide, so…
AVP06
  • 1,079
  • 1
  • 10
  • 16
16
votes
9 answers

How to execute Jquery code only once??

I have one jquery method and i used call that method on click of a button . So in that code i have one line " $("#loadingMessage").css('padding-top','6%'); " i need this line execute only once when we call that method first time,later that i gone…
Bangalore
  • 1,572
  • 4
  • 20
  • 50
16
votes
7 answers

Make input invisible through css?

I have a form where depending on the website's brand one of two input fields should be visible at one given spot. I figured I just put both input fields in the same container and then through my stylesheet set one of them to display:none; This does…
Boris Callens
  • 90,659
  • 85
  • 207
  • 305
15
votes
2 answers

jQuery on click $(document) - get clicked element

I'm trying to figure out how to get the clicked element whey using $(document).click() method: $(document).click(function() { if ($(this) !== obj) { obj2.hide(); } }); In the example above the obj is the object is the dropdown menu…
user398341
  • 6,339
  • 17
  • 57
  • 75
15
votes
4 answers

Hide an element's next sibling with Javascript

I have an element grabbed from document.getElementById('the_id'). How can I get its next sibling and hide it? I tried this but it didn't work: elem.nextSibling.style.display = 'none'; Firebug error was elem.nextSibling.style is undefined.
DisgruntledGoat
  • 70,219
  • 68
  • 205
  • 290
15
votes
4 answers

Hide GCC warning "set but not used"?

I want to do a function to get a pointer on a struct. I done this : void *getTokenList() { static t_token *list; return &list; } At compilation, I have this warning : warning: variable ‘list’ set but not used…
jean
  • 171
  • 1
  • 2
  • 7
15
votes
2 answers

What exactly does Android's @hide annotation do?

Lots of internal APIs in Android are marked @hide. What exactly does this do? Another answer says that it only hides the methods from Javadoc, but that you can use reflection to access them. That makes no sense though - if they are only hidden from…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
15
votes
3 answers

jQuery: move window viewport to show freshly toggled element

I have a snippet of jQuery in doc ready which toggles a div containing a textarea: $('div#addnote-area').hide(); // hide the div $('a#addnote-link').click(function() { // click event listener on link $('div#addnote-area').toggle(); // toggle…
k00k
  • 17,314
  • 13
  • 59
  • 86
15
votes
7 answers

Hide scrollbar in firefox

I want to hide a scroll bar in page but I can scroll like it has a scroll bar. so I cant use overflow:hidden because I want that I can scroll like normal but cannot see a scroll bar. so I use this css code (class not-scroll-body is a class of body…
Mei
  • 183
  • 1
  • 1
  • 9
14
votes
6 answers

Django: how to hide/overwrite default label with ModelForm?

i have the following, but why does this not hide the label for book comment? I get the error 'textfield' is not defined: from django.db import models from django.forms import ModelForm, Textarea class Booklog(models.Model): Author =…
thedeepfield
  • 6,138
  • 25
  • 72
  • 107
14
votes
7 answers

JQuery: Hide anchor if href is empty

Been on this one for a while now. Basically, I need to check where a href on an anchor tag with the class .pdf-download is empty, and if it is, hide it. I have attempted a few options but with no luck. This is what i have so…
Guy
  • 357
  • 2
  • 5
  • 16
14
votes
3 answers

css hide button until div hover

We want to hide button until we hover over the div layer. FIDDLE here > Click to view Essentially, I would like to be able to apply this to other elements also, but this will do for now, any help appreciated
422
  • 5,714
  • 23
  • 83
  • 139
14
votes
2 answers

Batch File Command Hide Password

I have this batch file I wrote to open putty and want to make it a universal script for others. The script is as follows @echo off ::Written by Mark Gulick:: ::Today's Date 20150316:: set /p U="Enter Username: " set /p P="Enter Password: " set /p…
Mark Gulick
  • 143
  • 1
  • 1
  • 5
14
votes
6 answers

Hide UIToolbar UIBarButtonItems

I have a UIToolbar that I set up using IB with three buttons, left, middle and right. In some situations I would like to not display the middle button. Does anybody know of a way to hide a specific button on inside a UIToolBar? There is no hide…
jmurphy
  • 1,891
  • 3
  • 22
  • 28