I am maintaining a web site that does some magic behavior (well, it adds a few characters that are not in the html) to elements tagged: class=”popupover-host” I can’t find this referenced in the css, and so far don’t see it referenced in any .js In the browser, it is pre rendered, and …
Tag: html
Bootstrap modal being rendered inside side bar
I’m losing my head over this modal which keeps showing up inside my side div area, I haven’t found anything about it on the bootstrp5 documentation nor on any online forums. I just need it to render centered on the page, and the fade effect to affect all background, as per the bootstrap documentat…
onScroll isn’t firing any action (HTML)
I’m trying (and failing) to use “onScroll” on a div. All others commands are working properly. I already tried use only the onScroll and gave me nothing too. Why it isn’t working? Code: I added a second code to show the “onClick” working properly on “body”, but …
Hide scroll and implement it with JS
I’m a beginner to HTML and JavaScript. I’m building a tabs bar, in which I want to have the option to scroll it horizontally, not with a traditional browser scroll, but with arrow buttons that I’ve created. Here is how my tabs bar looks like: This is the best I’ve managed to do: I mana…
Can someone suggest an HTML oninvalid Event Attribute work around in the context of my code?
Does anyone have a work around for Safari and google chrome for the HTML oninvalid Event Attribute not correctly working? In the context of my application, within the name field at first, I inputted an invalid answer which was a number, then after I corrected the answer to a valid input. However, the input &#…
How to get elements in order that are placed via translate3d
I am building a Chrome extension that interacts with Youtube comments visible on the screen in my Youtube backend. I want the extension to traverse the list of comments and highlight them one by one like so: I get the comments on the screen in the following way: and then maintain currentIndex to know at what …
How to make a dropdown menu transition with CSS?
I have created a responsive navigation-bar/menu but I want it to appear with a sliding animation from the top to the bottom when the needed button is presed. The menu does appear on itself but it completely ignores the transitioni have set it to execute. I tried multiple methods – using webkit library, …
search text march Entire text
developers. I need help. I have given below the code. when I type anything in the search box typed value matches the beginning of a list item. But I want when I type anything in the search box typed value to match any part of the search item and the text color will be red. I try so many times
If parent div has specific class toggle another div using JS
How can I display a div if a parent div has a specific class using JS? In the code below I would like to display the div with class .hidden-gray only if parent div below has class .matched and child div has class .gray. And, the div with class .hidden-purple only if parent below div has class .matched and chi…
input type number – max value
I have an input However, if the user write manually for example 200, the input accept it. Is it something normal ? I can validate the entry with javascript but if there is a build in in the html input it would be great 🙂 Thanks Answer I don’t think there is a solution directly with HTML; the max and