Skip to main content

All Questions

Tagged with
0 votes
0 answers
38 views

Detect browser out of focus

I want to detect when the browser goes out of focus. More specifically, here is my case: I have my page opened and when I change the tab, it can be detected using visibilitychange. But when I go to ...
Diganta Kr Banik's user avatar
0 votes
0 answers
28 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 ...
grumpyman1's user avatar
0 votes
0 answers
285 views

page elements transitioning to visibility when they appear on screen in sveltekit

I have a webpage where I have some buttons that I want to appear as the user scrolls down the page. My problem is effectively two-fold. First of all, as I have shown below, I need to work out when the ...
Michael Williams's user avatar
-1 votes
3 answers
284 views

Not able to override default timeout while using explicit wait mechanism in cypress

I am using cypress-wait-until plugin to apply explicit wait in our framework. When I use it and maximum time given is say 30000 milliseconds, so ideally it should wait maximum 300000 ms (30 seconds) ...
Deepak's user avatar
  • 100
0 votes
0 answers
225 views

Apexcharts does not work with style visibility display = ‘none’

I have a simple web application using plain html/css/js (no framework). I have implemented a tabbed pane where the implementation is based on css turning visibility.display on/off. In one of the panes ...
user1486064's user avatar
1 vote
2 answers
89 views

Hidden button not appearing under specified conditions

I have a small game and when all hearts are lost, a reset button should appear. I can't for the life of me figure out why it's not showing up. I rewrote it 3 times, wondering if it was how I was ...
breanne1209's user avatar
0 votes
0 answers
23 views

I read that 'hidden' comps cause issues in IE. What is the safest method to show/hide elements for cross browser compatibility?

I have several components such as tooltips and menus that are not always visible. I read somewhere that visibility = hidden can throw errors in IE but I don't know how accurate that is. If so, for ...
Yvonne Ayala's user avatar
0 votes
0 answers
22 views

DOM Operation Unsuccessful - Show HTML in Element

Working code here is mixed with non-working code. The code works up until the line where it commands the innerText to be of x.innerHTML.substring(3,-3) This is the function I am calling on a click ...
Anthony Pulse's user avatar
0 votes
1 answer
49 views

How can I make an element's attribute only appear on hover when another element is hidden?

I'm having trouble figuring out how to make the data-title only appear on hovering of the up-arrow only when the footer is down/not showing. However, I would also appreciate another solution where the ...
florizer's user avatar
-1 votes
1 answer
94 views

Using only javascript and css: can I enable the user to selectively display and hide divs of different classes, via a single drop-down menu?

I have an html page consisting of 80-100 css-styled divs each containing a grid with an image and information about a single artwork. (Each div already has a unique Id, to enable linking-in to a ...
Dr No Know's user avatar
1 vote
0 answers
669 views

React Native: How do I change the scroll position of a ScrollView when the element is not visible?

I have a horizontal FlatList which renders a list of vertical ScrollView cards. When I scroll the FlatList, I would like the ScrollView cards to reset their scroll position to the top. I do not want ...
Thomas's user avatar
  • 11
0 votes
1 answer
65 views

document.getElementById('facebook').style.visibility="hidden" not working

Even thought my variables are set in a way that should set the visibility to hidden (pulling the variables from firebase), they remain visible. My code no go. See Firebase Variable Values <html> ...
Jake Labate's user avatar
0 votes
1 answer
58 views

auto redirect a page on visibilitystate with javascript

i'm working on a small sale website. i want to use visibilitystate to dictate when the user navigates to a new page, switches tabs, closes the tab, minimizes or closes the browser, or, on mobile, ...
TEE-JAY's user avatar
0 votes
3 answers
193 views

visibility style does not change second time click in javascript and css

I'm trying to create a responsive navbar. When screen size is reduced I'm using media query to style visibility of #nav-items to hidden and display a menu icon. I have written a javascript code to ...
Praveen Rathi's user avatar
0 votes
1 answer
242 views

Click event triggered on element but failing to toggle the visibility of the section containing it

I need to toggle a section (called "newHexagon")'s visibility by alternatively clicking two different h2's, "seeHexagon" and "hideHexagon". The former is external, the ...
Stefano's user avatar
  • 85

15 30 50 per page
1
2 3 4 5
26