All Questions
11
questions
0
votes
0
answers
29
views
How do I hide an entire HTML page, but make the page still renders and still exist?
I'm making an extension to hide the ChromeOS bookshelf by displaying a completely hidden tab, so the device would register a window being drawn, but the user could not interact or notice it.
This is ...
0
votes
1
answer
652
views
Show/Hide divs based on Time/Opening Hours
I am trying to show/hide divs based on opening hours.
The div .open contains the headline "Our store is open" and the other div .close contains the headline "Our store is close".
...
0
votes
1
answer
2k
views
How to hide an object in Javascript? [duplicate]
i want to hide images with the same class in Javascipt. i have 3 images to hide but i don't know how can i do it. I tried it but did't work:
html
<img src="img1.png" class="tool"...
1
vote
3
answers
113
views
How to hide and show content under a bar of links?
How do you make a set of links behave like buttons, when one is pressed, it shows some hidden content and when another is pressed it hides the previous content and shows some other content? The first ...
0
votes
0
answers
66
views
Show button only if last page was a specific one
I try to only display a button if the last one was a specific one, see my code:
var oldURL = document.referrer;
var sitename = "admin_tool.html";
var x = document.getElementById("myDIV");
if (oldURL =...
1
vote
1
answer
89
views
Elemente will make it invisible when clicked script in php
German will not appear when clicked and will show english. If English is clicked, German will appear. I've investigated hide, show, visibile parts. I even wrote a JavaScript script, but it did not ...
-1
votes
1
answer
40
views
Hide <div> tag once the client starts scrolling down via CSS or Javascript
Is it possible to hide a div once the person starts scrolling down and have it reappear when he/she scrolls back to the very top?
If yes, can anyone show me how or an example? Very grateful.
...
0
votes
0
answers
102
views
Toggle between showing and hiding an element in Javascript
I am working on toggling between showing and hiding an element when an icon is clicked.
JS Function that toggles between showing and hiding the element
function connectionShowHideToggle(element)
{
...
-17
votes
2
answers
1k
views
Close ad to continue as free user?
I have a 300px x 250px ad which is in this form:
<script type="text/javascript" src="advert.com" ></script>
I want to create a button underneath the ad which says:
"Close ad to ...
0
votes
2
answers
1k
views
jQuery - Hide element but maintain the space [duplicate]
Is there any thing similar to the css property and value visibility: hidden in jQuery? The hide function doesn't maintain the space.
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 ...