I am unable to resolve this error; I’ve been “fighting” to solve it for two days. This is the error: 215: Uncaught TypeError: Cannot read properties of undefined (reading ‘style’) at showSlides I would not like there to be some setup problem regarding the querySelector or the fun…
Tag: html
Getting the correct ID to delete in site with multiple posts
I just ran into an issue I just can’t get my head around. I have a site with all the applications a user has made, looking like this: I have a button to delete/cancel on each post this exact post (Bewerbung zurückziehen). When pressing that button, a modal opens with some text. When he presses the delet…
Is it possible to create tables within Angular ts files?
So I have an array which holds different categories to compare different companies. Depending on the user selection there may be 3 categories or 10 to display. I am looking for a dynamic way to insert tables on demand depending on how many categories are selected. Is there a library in Angular or around somew…
Hoverintent fails to hide div on hover
I hover on top of the div with the id=”navbar” and it just won’t seem to do anything. i have added this to my head code: my old code that worked Answer Im not familiar with hoverIntent, so this is a general observation. For over and out you are not passing a reference to a function, but rath…
Wrap is not working on dynamically loaded element. Why?
The wrap(); works well on its own, but when it is called after the load();, it doesn’t. What could be done to make it work? I tried to put the wrap(); code inside a separate .js file, but that didn’t work. I also tried to load the wrap(); inside: $( window ).on( “load”, function() { &#…
path broke when uploaded to server (link from js to html)
I programmed a webside and a bunch of it broke when I uploaded it onto the server (until now I only ever programmed locally and not very often at that) I fixed nearly everything but the links between pages. What works is the “a” element in html to link but most of my pages are linking to oneanothe…
bootstrap datepicker fixed at the top of the page
I’m making a form that has a date picker, I’m using bootstrap datepicker In addition, the main bootstrap field should be hidden, I have three of my own fields, when you click on any of them, the calendar should open, now everything works, the calendar opens, but is fixed at the top of the page. Ca…
Adding onclick function in anchor tag which is not working [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last year. Improve this question I am have made dropdown using bootstarap. I have added onlcick funtions in my anchor tags in d…
How to make a one-pager navigation with waypoints to enable/disable nav elements?
I’m stuck at my one-pager navigation logic. As you can see in my detailed example below, I already have a dynamic navigation depending on the scroll position. Also, when you click a navigation item, you are getting scrolled down to the specific section. What I’m stuck at is the point to add/remove…
First arg must be a Blob object or a File object. Image compressor
I am making an image compressor. In the image you see a simple design with a dragon drop to fill in ur files. But i want to download the image i keep getting one error (displayed below). [This is what i got so far.][1] [1]: https://i.stack.imgur.com/2RJ3v.png This is my download funtion but when i press the b…