Skip to main content

All Questions

Tagged with
9 votes
3 answers
14k views

Symbol visibility using g++

I compiled a C++ library under Linux/Mac with its symbols hidden. I've used __attribute__ ((visibility("hidden"))) for all my classes and compiled with options (-c -O2 -fPIC -MMD -MP -MF). ...
JoeSlav's user avatar
  • 4,735
30 votes
4 answers
156k views

Make one div visible and another invisible

I have two div tags, one is for the search and the other is for the results. What I need is for when the submit button is clicked the results are returned and placed into the results div (with an ...
mattgcon's user avatar
  • 4,818
3 votes
4 answers
27k views

How to make the text hidden in hover

I am creating a menu that each item has a text and in hover an email replaces. So I do not know how to remove the text in hover. here is my code so far: #home { font: 30px 'LeagueGothicRegular',...
Alex Jj's user avatar
  • 1,383
3 votes
3 answers
6k views

Bug in Chrome or bad CSS? (anchor with visibility hidden)

Test this simple line in any HTML: <a href="anything"><span style="visibility:hidden;">insible text here</span></a> (you can test it directly from here: http://jsfiddle.net/...
Enrique's user avatar
  • 4,793
2 votes
5 answers
3k views

Hiding images with blank src using jquery

I have 4 sub images on a page that get their src attribute from a database. they all have a class="subImage". When there is no DB entry I would like to hide the element as opposed to have a broken ...
Pete Norris's user avatar
  • 1,056
1 vote
1 answer
25k views

JavaScript: Uncaught TypeError: Cannot read property 'style' of null [duplicate]

I am building this small cookiescript which creates a cookie when clicking on a button and then hides the message. But now I am building the function to hide the message (div#cookie) when the cookie ...
Chloë Vd Eeden's user avatar
0 votes
2 answers
3k views

javascript - does a click event fire on an element if it's not visible?

If you change the visibility of an element visibility: hidden, will a click event still fire if the user clicks it? I want to "hide" an element (i.e. <span>) and disable the click event from ...
johntrepreneur's user avatar