2,523,958 questions
Advice
0
votes
4
replies
49
views
Trying to make confetti effect after clicking an image
I'm trying to use tsparticles to make some confetti go off after clicking an image, but I can't seem to work out how.
Here's my code:
(async engine => {
await loadConfettiFallingPreset(...
Advice
0
votes
2
replies
41
views
Angular application has two files main.ts and index.html
angular application has two files Main.ts and index.html which one to use.i recently encountered a tutorial called w3schools.com where it contained two files Main.ts and Index.html.can you suggest ...
0
votes
0
answers
52
views
My firefox extension does NOT automatically start when I start my browser, don't know why
The title basically. I have a extension called NoClanker which blocks out AI websites automatically. It's been a while since I updated it since life got busy. The extension does not automatically ...
Advice
0
votes
0
replies
22
views
Plugin development for woocommerce : RFQ Broadcast Layer with Pincode Filtering
I’m working on extending the RFQ (Request for Quote) functionality in a WooCommerce-based multivendor setup using Dokan Pro.
"RFQ full form is Request for Quote where buyers can ask for quotation ...
-3
votes
0
answers
47
views
403 forbidden error when pass user_id to Intercom in React app [closed]
I already have Intercom workspace, and I want to integrate Intercom for my React app. I use @Intercom/messenger-js-sdk and when I call boot() or Intercom() with app_id only - it is working good, but ...
2
votes
1
answer
84
views
How to spawn random object on button press in Javascript
I am working on a Virtual pet javascript game for my website inspired by chao garden. I currently have a working spawner to create the pet, but it currently on randomizing which pet you get when you ...
1
vote
2
answers
94
views
scroll driven image sequence animation only plays first animation
I want to put 'multiple scroll driven image sequence animations' on the same page. I tried many times but I cannot get the solution.
Whatever I tried, only the top one is working, but the others are ...
Best practices
0
votes
2
replies
86
views
How to implement real-time GPS tracking for multiple vehicles using WebSockets or polling?
I am working on a system similar to a School Bus Tracking System, where I need to track multiple vehicles (buses) in real time and display their live location on a web dashboard.
Currently, I am using ...
Best practices
0
votes
0
replies
33
views
YouTube IFrame API: Is conditional autoplay queue progression required when document.visibilityState is 'hidden'?
I'm building a video archive site that uses the YouTube IFrame Player API to embed VODs from official channels. The site has a user-toggleable "autoplay next video" feature similar to ...
0
votes
0
answers
56
views
How to print the pages as they are with TipTap Pagination React?
I'm using Tiptap with React and having trouble with the printing view. When I try to print, black borders appear because of the Tiptap Pagination extension. I've tried the following code to hide them, ...
Advice
0
votes
3
replies
70
views
postEfficient mapping between index and permutation for very large n
I am exploring methods to compute a specific permutation from its index (ranking/unranking) without generating all permutations.
My focus is on very large values of n (e.g., up to 1000), where full ...
-1
votes
0
answers
43
views
Background leaflet image TileLayer goes black when returning to frozen tab
I am building a map website using leaflet.
Sometimes when the map is open on a Chrome browser tab, if you switch back to that tab the background map image will be black, and the only way to get it ...
-7
votes
0
answers
51
views
Link at bottom right goes to 'domain/undefined' [closed]
a friend of mine has used leaflet on a website template for Halcyon Worlds, and there's two links at the bottom right of the map, "Leaflet | MyWorld" on my site and "Leaflet | MyWorld&...
Advice
0
votes
5
replies
83
views
How to handle and sanitize user input strings in a web form using JavaScript?
I am working on a web application where users can submit text input through a form. I want to ensure that the input is properly sanitized and stored without causing security issues such as XSS or ...
0
votes
3
answers
72
views
Attach JS eventlistener to layered target
On our landing page we have 'cards' that mention a specific category, along with some specific programs within that category. The goal is to separate clicks on the panel itself from click on the ...