All Questions
Tagged with javascript html
501,672 questions
0
votes
1
answer
31
views
Can't embed YouTube videos in React.js
I am trying to embed a youtube video in my react.js website, I have tried multiple different code samples in my file as seen below:
<h1>Embedd Test1</h1>
<YouTube videoId="6pH4Ot-...
0
votes
0
answers
14
views
Odoo Contact Form won't Autofill correctly
I'm using odoo for my webstore and want to an "inquire" button on each product that goes to contact page with the product name passed in the url and then autofilled into the contact form.
...
1
vote
0
answers
41
views
How to make "holes" on an overlay to show what's under the overlay? [duplicate]
I'm trying to create a simple block in HTML, CSS, and eventually JS.
The overlay cover the whole screen, the texts are white, basically, i need to cut the overlay where there are the video-gap divs to ...
-1
votes
1
answer
24
views
How to display 3 elements by 3 of an array in HTML using array.sclice() method in javascript
I have found a way to display a portion of an array using arrayName.slice(start, end), i made a funtion to feed the start and end to the slice method so i can use it with onClick button to click next ...
0
votes
0
answers
16
views
How to modify Widget iframe background to transparent?
I’ve embedded the Freshdesk help widget into my app, which supports both light and dark themes. In dark mode, the widget appears with a white boxed background (see the image). In light mode, the ...
1
vote
1
answer
22
views
When using ctx.moveTo() with Html Canvas Tag ctx.arc(), moveTo() draws a line
For the purpose of improving myself and because I was bored, I was learning the canvas tags in html by following the doc of mozilla and we were drawing a face there. I tried to make the face as given ...
0
votes
1
answer
61
views
css gets transitioned at first mount
I have a svelte app that mounts some progress dots into a pretty plain html site.
simplified the ProgressDots.svelte has this:
hello
<div class="progress-dots">
<div class="...
0
votes
1
answer
24
views
foundation slider with active thumbnail in the visible area
I'm using the orbit modul from foundation that works fine. I have reused the area of the bullets for the thumbnails of the large slider images. This also works so far, the active thumbnail is also ...
1
vote
1
answer
37
views
Drag and Drop Swap in cards is not working
here is my code, and i am trying to Drag a .card (which includes an image),Drop it onto another .card and swap their content so they switch places visually. But it is not happening and also not ...
1
vote
3
answers
173
views
Is there a vanilla javascript way to have two different elements be treated as the same for the purposes of hover state? [closed]
I'm working on a text highlight component, the idea is for paragraph of text, you might highlight a word or a sentence and this in the page margin some comment corresponding to that highlight will be ...
0
votes
1
answer
75
views
Javascript Assign same string to multiple Properties
I'm building a form where the user selects drop downs 1 - 5. Based on what they select for Drop Down 1, Drop Down 2 will display specific options, selecting Drop Down 2 will set Drop Down 3, etc.
...
1
vote
1
answer
41
views
CSS - Failed to separate the double-bordered divs inside table during printing in electron JS
This is my HTML structure of table I am printing out.
<body>
<div class="tableFormat">
<button onclick="window.print()">Print</button>
&...
1
vote
1
answer
68
views
How to prevent margin collapsing without altering margins? [duplicate]
I'm studying CSS margin collapsing rules and have some confusion regarding the W3C specification. The documentation states that margins collapse when adjacent elements meet these conditions:
"no ...
0
votes
1
answer
102
views
Load or type music notes on textarea and Increase them onclick
var notes = ['do', 'do#', 're', 're#', 'mi', 'fa', 'fa#',
'sol', 'sol#', 'la', 'la#', 'si'
];
function stepUp() {
var text = document.getElementById('textarea');
if (typeof text.count == '...
0
votes
0
answers
17
views
MudBlazor MudMenu not opening on ChangePassword page in Blazor Server with ASP.NET Core Identity
I am developing a Blazor Server application based on .NET 9 that uses ASP.NET Core Identity. The identity components (like ChangePassword) are coming from the MudBlazor template. Now, for some reasone,...