id
stringlengths
7
11
source
stringclasses
1 value
category
stringclasses
11 values
title
stringlengths
15
214
text
stringlengths
70
30.5k
url
stringlengths
57
160
tags
stringlengths
3
113
created_at
int64
1.22B
1.79B
se_50382553
stackoverflow
FRONTEND_DEVELOPMENT
Asynchronous Bounded Queue in JS/TS using async/await
Asynchronous Bounded Queue in JS/TS using async/await I'm trying to wrap my head around async/await, and I have the following code: class AsyncQueue<T> { queue = Array<T>() maxSize = 1 async enqueue(x: T) { if (this.queue.length > this.maxSize) { // Block until available } ...
https://stackoverflow.com/questions/50382553/asynchronous-bounded-queue-in-js-ts-using-async-await
javascript, typescript, asynchronous, async-await
1,526,524,559
se_29321698
stackoverflow
FRONTEND_DEVELOPMENT
console.log not working inside angular controller
console.log not working inside angular controller Hi i have been trying to get into angular.j. I have tried the following code. But the console.log() not seems to be working. Anything am missing?? like angular concepts or something? var foodshareModule= angular.module('food',['ui.router','ngResource']); console.log(...
https://stackoverflow.com/questions/29321698/console-log-not-working-inside-angular-controller
javascript, angularjs
1,427,571,615
se_53887173
stackoverflow
FRONTEND_DEVELOPMENT
Jest mock the same function twice with different arguments
Jest mock the same function twice with different arguments I'm new to JEST and I'm currently testing a Javascript component that makes an API call in its onComponentDidMount. Depending on the return data of the ajax call (api call) my component either display a table or a simple text. My JEST test are fairly simple, ...
https://stackoverflow.com/questions/53887173/jest-mock-the-same-function-twice-with-different-arguments
javascript, reactjs, jestjs
1,545,405,694
se_45402253
stackoverflow
FRONTEND_DEVELOPMENT
Modal Bootstrap / Multiple modal on one-page / modal-open Class
Modal Bootstrap / Multiple modal on one-page / modal-open Class I've got a serious issue with modal from Bootstrap. When I open a modal box in my website, there's absolutly no problem (the modal-open class is correctly added on the body) the modal is correct, shade ok and content clear : <button type="button" data-tog...
https://stackoverflow.com/questions/45402253/modal-bootstrap-multiple-modal-on-one-page-modal-open-class
javascript, html, css, twitter-bootstrap, bootstrap-modal
1,501,433,017
se_74452117
stackoverflow
FRONTEND_DEVELOPMENT
How do I extract the metadata from a FLAC audio file, using front-end JavaScipt?
How do I extract the metadata from a FLAC audio file, using front-end JavaScipt? I'm a newby to web development and I'm stuck with retrieving metadata like Composer from FLAC audiofiles. I tried to extract this information with jsmediatags.js and musicmetadata.js in Chrome with Javascript, and I could only read the ti...
https://stackoverflow.com/questions/74452117/how-do-i-extract-the-metadata-from-a-flac-audio-file-using-front-end-javascipt
javascript, browser, metadata, mp3, flac
1,668,546,152
se_79992207
stackoverflow
FRONTEND_DEVELOPMENT
Generating grouped PDF from paginated API data in React/jsPDF without loading all rows into memory
Generating grouped PDF from paginated API data in React/jsPDF without loading all rows into memory I am generating a financial report PDF in a React application using jsPDF + jspdf-autotable. The report is grouped by Account Head and has three levels of totals: Account total (same account number) Group total (same a...
https://stackoverflow.com/questions/79992207/generating-grouped-pdf-from-paginated-api-data-in-react-jspdf-without-loading-al
javascript, pagination, pdf-generation, jspdf, jspdf-autotable
1,786,444,311
se_79993596
stackoverflow
FRONTEND_DEVELOPMENT
How do i put a image (that isn&#39;t in the project page) on a canvas in Js?
How do i put a image (that isn&#39;t in the project page) on a canvas in Js? I'm trying to create a Miro/Freeform for personal use, but, for that I need a image. I already tryed here, Stack, Github Copilot and more and nothing worked. image code thing: if (currentTool === 'imagem') { const input = document.cre...
https://stackoverflow.com/questions/79993596/how-do-i-put-a-image-that-isnt-in-the-project-page-on-a-canvas-in-js
javascript, html, image, canvas
1,786,561,996
se_70899604
stackoverflow
FRONTEND_DEVELOPMENT
SWC with JavaScript: How to handle CSS imports and how to absolute imports?
SWC with JavaScript: How to handle CSS imports and how to absolute imports? Summary How can you tell SWC to compile CSS files imported in React components? How can you tell SWC to compile absolute imports in tests and in React components? Here is a minimal reproducible example. Context We're migrating from Babel to...
https://stackoverflow.com/questions/70899604/swc-with-javascript-how-to-handle-css-imports-and-how-to-absolute-imports
javascript, css, reactjs, absolute-path, swc-compiler
1,643,399,914
se_71855147
stackoverflow
FRONTEND_DEVELOPMENT
How can I get this Apple-like image sequence animation to start in the middle of the website, instead of only on top?
How can I get this Apple-like image sequence animation to start in the middle of the website, instead of only on top? I couldn't find an example where this image sequence animation is triggered at any other part except on the top of the website. The animation is working fine as it is, the problem is: if i put any cont...
https://stackoverflow.com/questions/71855147/how-can-i-get-this-apple-like-image-sequence-animation-to-start-in-the-middle-of
javascript, image, animation, frontend, requestanimationframe
1,649,842,384
se_4650692
stackoverflow
FRONTEND_DEVELOPMENT
Way to know if user clicked Cancel on a Javascript onbeforeunload Dialog?
Way to know if user clicked Cancel on a Javascript onbeforeunload Dialog? I am popping up a dialog box when someone tries to navigate away from a particular page without having saved their work. I use Javascript's onbeforeunload event, works great. Now I want to run some Javascript code when the user clicks "Cancel"...
https://stackoverflow.com/questions/4650692/way-to-know-if-user-clicked-cancel-on-a-javascript-onbeforeunload-dialog
javascript, jquery, dom-events, onbeforeunload
1,294,688,049
se_79993535
stackoverflow
FRONTEND_DEVELOPMENT
How to interop with JavaScript DOM and handle static typing in Virune?
How to interop with JavaScript DOM and handle static typing in Virune? I am not the developer or maintainer of Virune; I am using it in my own project. I am currently trying to write code for a project I am working on using a programming language called Virune. Virune is a statically typed programming language that co...
https://stackoverflow.com/questions/79993535/how-to-interop-with-javascript-dom-and-handle-static-typing-in-virune
javascript, dom-events
1,786,545,069
se_19427921
stackoverflow
FRONTEND_DEVELOPMENT
jQuery div&#39;s height changes
jQuery div&#39;s height changes Consider the following HTML layout: <div class="wrapper"> <div class="sidebar-left"></div> <div class="main-content"> <div class="main-content-inner"></div> </div> </div> .main-content and .sidebar-left are getting an inline height, set by an equalheights function using Javas...
https://stackoverflow.com/questions/19427921/jquery-divs-height-changes
javascript, html, jquery
1,382,016,105
se_61401475
stackoverflow
FRONTEND_DEVELOPMENT
Why is &#39;type: module&#39; in package.json file?
Why is &#39;type: module&#39; in package.json file? I upgraded the node and built the existing file. But it didn't build, and there was an error. Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: │ │ ~~/nuxt.config.js │ │ require() of ...
https://stackoverflow.com/questions/61401475/why-is-type-module-in-package-json-file
javascript, node.js, vue.js, nuxt.js
1,587,704,518
se_59426933
stackoverflow
FRONTEND_DEVELOPMENT
Is the key code from KeyboardEvent in Android unidentified?
Is the key code from KeyboardEvent in Android unidentified? I want to get a Char from the keydown event. In all browsers I can use event.key and it works fine, but in android the result is something else: event.key: unidentified event.code: '' event.which: `229` (for [a-z0-9] is always this number) window.event.keyCod...
https://stackoverflow.com/questions/59426933/is-the-key-code-from-keyboardevent-in-android-unidentified
javascript, android, keyboard-events
1,576,852,301
se_50610024
stackoverflow
FRONTEND_DEVELOPMENT
How to write a general height-altering JavaScript function
How to write a general height-altering JavaScript function You can write something like function changeHeight() { document.getElementById('chartdiv').style.height = "200px" } #chartdiv { height: 50px; width: 300px; border: 1px solid #F00; } <div id="chartdiv"></div> <button type="button" onClick="changeHeigh...
https://stackoverflow.com/questions/50610024/how-to-write-a-general-height-altering-javascript-function
javascript, html, css
1,527,699,741
se_62553391
stackoverflow
FRONTEND_DEVELOPMENT
Webassembly, file input and virtual file system
Webassembly, file input and virtual file system I would like to create a web application that utilizes some C library (EDFLib) to read EDF files. The idea would be that the user picks a local file through a <input type="file" /> to be parsed by the C library. The C library uses fopen to read a given path file to parse...
https://stackoverflow.com/questions/62553391/webassembly-file-input-and-virtual-file-system
javascript, webassembly
1,592,995,983
se_40643613
stackoverflow
FRONTEND_DEVELOPMENT
Why is document.all defined but typeof document.all returns &quot;undefined&quot;?
Why is document.all defined but typeof document.all returns &quot;undefined&quot;? I was doing some research on JavaScript's typeof operator, and stumbled across the following weirdness: Exceptions All current browsers expose a non-standard host object document.all with type Undefined. typeof document.all ==...
https://stackoverflow.com/questions/40643613/why-is-document-all-defined-but-typeof-document-all-returns-undefined
javascript, dom
1,479,335,755
se_79992308
stackoverflow
FRONTEND_DEVELOPMENT
How can a Chrome extension automatically initialize a Supabase database schema for users without requiring them to run SQL manually?
How can a Chrome extension automatically initialize a Supabase database schema for users without requiring them to run SQL manually? I am developing a Chrome extension that uses Supabase as its backend. I want to use a BYOK (Bring Your Own Key) architecture, where each user provides their own Supabase project URL and ...
https://stackoverflow.com/questions/79992308/how-can-a-chrome-extension-automatically-initialize-a-supabase-database-schema-f
best-practices, javascript, database, google-chrome-extension, supabase-js
1,786,473,107
se_37287148
stackoverflow
FRONTEND_DEVELOPMENT
iOS Safari/Chrome - Unwanted scrolling when focusing an input inside the modal
iOS Safari/Chrome - Unwanted scrolling when focusing an input inside the modal Tested in Safari and Chrome - the same result, so I think it's iOS issue. This happens only if there's an input inside the modal and I tap that input. In the same moment that input got focus and native iOS keyboard become visible. Page b...
https://stackoverflow.com/questions/37287148/ios-safari-chrome-unwanted-scrolling-when-focusing-an-input-inside-the-modal
javascript, html, ios, css, vertical-scrolling
1,463,523,616
se_79992180
stackoverflow
FRONTEND_DEVELOPMENT
Avoid synthetic sounds overlapping
Avoid synthetic sounds overlapping I have the following simple program in HTML and JavaScript: let Soundon = 0; document.addEventListener('click', function(evt) { let Key = evt.target.id; if (Key == "btn1") frq = 200; if (Key == "btn2") frq = 300; if (Key == "btn3") frq = 400; if (Key == "btn4") frq = 5...
https://stackoverflow.com/questions/79992180/avoid-synthetic-sounds-overlapping
javascript, html
1,786,438,958
se_20655399
stackoverflow
FRONTEND_DEVELOPMENT
Find all objects where value is undefined
Find all objects where value is undefined I have my objects stored in indexeddb. I have an index on a text property on the object. I want to find all the objects, where the value of these is undefined. I've been working with IDBKeyRange.only(key) however, if I pass null or undefined or string empty it throws DataErro...
https://stackoverflow.com/questions/20655399/find-all-objects-where-value-is-undefined
javascript, indexeddb
1,387,362,009
se_75739162
stackoverflow
FRONTEND_DEVELOPMENT
Best way to make part of a website editable for owner?
Best way to make part of a website editable for owner? I am doing a simple website for my friend for his restaurant and I want to ask what's the best way to allow the friend to edit the daily menu on the website when he wants to. Let's say I have the menu done via an unordered list, so I am looking for a way to allow ...
https://stackoverflow.com/questions/75739162/best-way-to-make-part-of-a-website-editable-for-owner
javascript, html, asp.net
1,678,835,195
se_59657030
stackoverflow
FRONTEND_DEVELOPMENT
Calculate number images in a row to fit container while keeping aspect ratio
Calculate number images in a row to fit container while keeping aspect ratio I want to create a masonry horizontal layout like this library. It contain collection of images with different height and width each other. The layout can have one or more rows, as long as it meets this criteria: Row width fit to the mason...
https://stackoverflow.com/questions/59657030/calculate-number-images-in-a-row-to-fit-container-while-keeping-aspect-ratio
javascript, reactjs, algorithm, logic, masonry
1,578,542,230
se_50876591
stackoverflow
FRONTEND_DEVELOPMENT
External link Alternative for JS
External link Alternative for JS I'm trying to create an external link for a JavaScript program I created and I tried using https://www.000webhost.com but they blocked me, so pleases is there any better way I can do this, plus am still a learner in programming, Here is the code I created and I want it to be linked: do...
https://stackoverflow.com/questions/50876591/external-link-alternative-for-js
javascript, html, css
1,529,069,292
se_50565796
stackoverflow
FRONTEND_DEVELOPMENT
How can I center this HTML/CSS slideshow?
How can I center this HTML/CSS slideshow? I'm trying to center the JavaScript slideshow and "Slideshow header" that you can see in image left. Below you can see what my web site looks like on the left and on the right is how I want to center my slideshow. I tried adding text-align: center; to my CSS but nothing chang...
https://stackoverflow.com/questions/50565796/how-can-i-center-this-html-css-slideshow
javascript, html, css
1,527,508,307
se_50375416
stackoverflow
FRONTEND_DEVELOPMENT
Blurring background in only a select area (behind text)
Blurring background in only a select area (behind text) I'm creating a homepage using HTML/CSS/JavaScript, on this page I have text floating on the top left portion of the screen. I have a number of backgrounds saved from Reddit and a script which randomly selects one upon start, my problem is that because this backgr...
https://stackoverflow.com/questions/50375416/blurring-background-in-only-a-select-area-behind-text
javascript, html, css
1,526,486,567
se_50195177
stackoverflow
FRONTEND_DEVELOPMENT
Is there a way to change the CSS of someone&#39;s website every time you go to the page?
Is there a way to change the CSS of someone&#39;s website every time you go to the page? I'm new, so I apologize if this is a dumb question but I'm wondering if there's a way to edit the CSS of a web site every time you go to automatically. Many kids in my programming class find the dark theme on their eyes to be easi...
https://stackoverflow.com/questions/50195177/is-there-a-way-to-change-the-css-of-someones-website-every-time-you-go-to-the-p
javascript, html, css
1,525,566,118
se_79992354
stackoverflow
FRONTEND_DEVELOPMENT
How to ensure that PDF is restored to same scroll position when navigating within same web page?
How to ensure that PDF is restored to same scroll position when navigating within same web page? In this example, there is something like a notebook display within the web page, two tabs of which include an embedded PDF. My objective is to ensure that when a user navigates away from a tab with a PDF and later returns,...
https://stackoverflow.com/questions/79992354/how-to-ensure-that-pdf-is-restored-to-same-scroll-position-when-navigating-withi
javascript, html-object
1,786,487,252
se_49211914
stackoverflow
FRONTEND_DEVELOPMENT
Need an Alert or Pop up or something before going to an Adult section of website
Need an Alert or Pop up or something before going to an Adult section of website I had found online at one time how to do this I think with javascript and that it had the page Faded out until someone clicked Yes or No and if you clicked no it took you back to the front of the site and if you clicked yes it unfaded the...
https://stackoverflow.com/questions/49211914/need-an-alert-or-pop-up-or-something-before-going-to-an-adult-section-of-website
javascript, html, css
1,520,702,682
se_79987549
stackoverflow
FRONTEND_DEVELOPMENT
What is the difference between link wrapping and &#39;use client&#39; in Next.js?
What is the difference between link wrapping and &#39;use client&#39; in Next.js? Let's suppose we have two scenarios: Link wrapping <Link href="/voice_monitor" passHref legacyBehavior> <Button component="a">Go to Voice Monitor</Button> </Link> use client 'use client'; import Link from 'next/link'; import { Butto...
https://stackoverflow.com/questions/79987549/what-is-the-difference-between-link-wrapping-and-use-client-in-next-js
javascript, reactjs, next.js
1,785,252,405
se_74384128
stackoverflow
FRONTEND_DEVELOPMENT
Unexpected token &#39;&lt;&#39;, &quot;&lt;!DOCTYPE &quot;... is not valid JSON. Utilizing express and parsing error. Any suggestions would be great
Unexpected token &#39;&lt;&#39;, &quot;&lt;!DOCTYPE &quot;... is not valid JSON. Utilizing express and parsing error. Any suggestions would be great For the past few days, I have been attempting to solve this error. I am extremely baffled, as I have no idea why this isn't working. Any help or suggestions would be grea...
https://stackoverflow.com/questions/74384128/unexpected-token-doctype-is-not-valid-json-utilizing-express-and-p
javascript, node.js, json, express, parsing
1,668,054,289
se_52960102
stackoverflow
FRONTEND_DEVELOPMENT
createImageBitmap returns an empty image
createImageBitmap returns an empty image I'm using createImageBitmap to convert an image in a worker. The blob goes in has data, the positioning is valid (they're minus numbers but I've tried using 0 and same issue) createImageBitmap(blob, -pos.x + 100, -pos.y + 100, 200, 200).then(data => { resolve(data)...
https://stackoverflow.com/questions/52960102/createimagebitmap-returns-an-empty-image
javascript, image
1,540,346,491
se_78741764
stackoverflow
FRONTEND_DEVELOPMENT
can opencv.js really find page corners
can opencv.js really find page corners Does opencv.js findcontours really work (without needing constant refinements)? Has anyone had any success with opencv.js in finding page corners? There is a lot of noise on various discussion sites about it's ability - but I cannot find it to work when looking for a document edg...
https://stackoverflow.com/questions/78741764/can-opencv-js-really-find-page-corners
javascript, opencv, image-processing
1,720,808,502
se_1787322
stackoverflow
FRONTEND_DEVELOPMENT
What is the HtmlSpecialChars equivalent in JavaScript?
What is the HtmlSpecialChars equivalent in JavaScript? Apparently, this is harder to find than I thought it would be. And it even is so simple... Is there a function equivalent to PHP's htmlspecialchars built into JavaScript? I know it's fairly easy to implement that yourself, but using a built-in function, if availab...
https://stackoverflow.com/questions/1787322/what-is-the-htmlspecialchars-equivalent-in-javascript
javascript, html, escaping, html-encode
1,259,027,960
se_78220249
stackoverflow
FRONTEND_DEVELOPMENT
Tailwind Merge with Colors on Text and Text Shadows
Tailwind Merge with Colors on Text and Text Shadows No Longer an Issue Tailwind v4 introduced the text-shadow utility class, so this question is no longer relevant, unless working on outdated software. Just migrate to v4 and your life will be easier. tl;dr I have a text-shadow utility class in my tailwind.config.ts t...
https://stackoverflow.com/questions/78220249/tailwind-merge-with-colors-on-text-and-text-shadows
javascript, css, reactjs, next.js, tailwind-css
1,711,381,480
se_18883601
stackoverflow
FRONTEND_DEVELOPMENT
Function to calculate distance between two coordinates
Function to calculate distance between two coordinates I'm currently using the function below and it doesn't work properly. According to Google Maps, the distance between these coordinates (from 59.3293371,13.4877472 to 59.3225525,13.4619422) are 2.2 kilometres while the function returns 1.6 kilometres. How can I make...
https://stackoverflow.com/questions/18883601/function-to-calculate-distance-between-two-coordinates
javascript, coordinates, distance
1,379,544,617
se_79992273
stackoverflow
FRONTEND_DEVELOPMENT
Is /[\s\S]/ the same as saying /.|\n/ in regex
Is /[\s\S]/ the same as saying /.|\n/ in regex I assumed in regex that saying: /[\s\S]/ means the same as saying: /.|\n/ But then I discovered that in JavaScript the line separator <0x2028> and the paragraph separator <0x2029> do not match on: /.|\n/ I find this odd, seeing that all the other zero-width unprintable...
https://stackoverflow.com/questions/79992273/is-s-s-the-same-as-saying-n-in-regex
javascript, regex
1,786,462,288
se_78515327
stackoverflow
FRONTEND_DEVELOPMENT
npm warn deprecated read-package-json@7.0.1: This package is no longer supported. Please use @npmcli/package-json instead
npm warn deprecated read-package-json@7.0.1: This package is no longer supported. Please use @npmcli/package-json instead I'm facing this issue while creating a new Angular app for college assignments: npm warn deprecated read-package-json@7.0.1: This package is no longer supported. Please use @npmcli/package-json in...
https://stackoverflow.com/questions/78515327/npm-warn-deprecated-read-package-json7-0-1-this-package-is-no-longer-supported
javascript, angular, package.json
1,716,352,353
se_79991937
stackoverflow
FRONTEND_DEVELOPMENT
How do I make it so that the script responds differently for each element?
How do I make it so that the script responds differently for each element? I'm trying to make it so that each button opens up a different dialog box. The script I use only allows for one dialog box, but not the other. <html> <style> body{ background-color: #7777ff; } .modal{ ...
https://stackoverflow.com/questions/79991937/how-do-i-make-it-so-that-the-script-responds-differently-for-each-element
javascript, html
1,786,366,386
se_40417302
stackoverflow
FRONTEND_DEVELOPMENT
npm urllib ResponseTimeoutError - how to increase timeout?
npm urllib ResponseTimeoutError - how to increase timeout? I am trying to use urllib to go to many different URLs to get some HTML and parse it. I have a loop that should go through about 5000 iterations with urllib: urllib.request('a url here', options=[timeout=50000]).then(function (result) { // dat...
https://stackoverflow.com/questions/40417302/npm-urllib-responsetimeouterror-how-to-increase-timeout
javascript, mysql, node.js, urllib
1,478,244,125
se_47848218
stackoverflow
FRONTEND_DEVELOPMENT
How to place dots when looping through an array in JavaScript
How to place dots when looping through an array in JavaScript I need to load an array from a JSON file, and place dots where they placed last time after they click save, this code wont work, any thoughts? Essentially, they can click, and dots will appear, as well as text from the drop down menu, I want it so they can ...
https://stackoverflow.com/questions/47848218/how-to-place-dots-when-looping-through-an-array-in-javascript
javascript, html, css
1,513,445,040
se_59584061
stackoverflow
FRONTEND_DEVELOPMENT
Why is &quot;Unidentified&quot; returned on keyboard input on mobile?
Why is &quot;Unidentified&quot; returned on keyboard input on mobile? I am trying to alert the key which was pressed. It is working on PC but returning "Unidentified" on mobile. Why is that? $(document).on("keydown", function(e) { alert(e.key); });
https://stackoverflow.com/questions/59584061/why-is-unidentified-returned-on-keyboard-input-on-mobile
javascript, keyboard-events
1,578,078,712
se_79991842
stackoverflow
FRONTEND_DEVELOPMENT
Learning Passport.js has me completely lost &amp; overwhelmed. How Much Do I Actually Need to Know?
Learning Passport.js has me completely lost &amp; overwhelmed. How Much Do I Actually Need to Know? How deeply should I understand Passport.js? I'm currently learning web dev and have reached Passport.js for authentication. I'm getting a bit overwhelmed by all the functions, callbacks, middleware, and things happening...
https://stackoverflow.com/questions/79991842/learning-passport-js-has-me-completely-lost-overwhelmed-how-much-do-i-actuall
advice, javascript, node.js, passport.js, libraries
1,786,344,326
se_49958538
stackoverflow
FRONTEND_DEVELOPMENT
Using eval() in JavaScript
Using eval() in JavaScript I have made a calculator using html CSS Javascript, I came through so many input problems, so to calculate the result ( '=' ) I used the function eval(), I want to know what does it return exactly and how to spot errors and fix them, for example : typing ***/+6 and clicking on the '=', will ...
https://stackoverflow.com/questions/49958538/using-eval-in-javascript
javascript, html, css
1,524,332,635
se_79992162
stackoverflow
FRONTEND_DEVELOPMENT
How can I prevent JavaScript from running before the DOM is fully loaded?
How can I prevent JavaScript from running before the DOM is fully loaded? I'm working on a small JavaScript project where need to select an HTML element and add an event listener to it. The script is currently loaded in the <head> section, and sometimes document.querySelector() returns null because the element has not...
https://stackoverflow.com/questions/79992162/how-can-i-prevent-javascript-from-running-before-the-dom-is-fully-loaded
advice, javascript, dom
1,786,435,216
se_48883554
stackoverflow
FRONTEND_DEVELOPMENT
postion:absolute and left:0 not putting ul at left
postion:absolute and left:0 not putting ul at left This is my html. I just want my dropdown to move to the left of the screen. I have used inline style to set position absolute and left:0 but its not working. Please help me so I can move on and learn more. I have used bootstrap to make this navigation bar and tried u...
https://stackoverflow.com/questions/48883554/postionabsolute-and-left0-not-putting-ul-at-left
javascript, html, css
1,519,123,923
se_49178711
stackoverflow
FRONTEND_DEVELOPMENT
Right progress bar max/min values
Right progress bar max/min values I got an problem with <progress> tag, it makes the progress bar right, but I can't calculate right values to make that display from start to the end of bar. e.g.: that a game. I got 2431375 EXP, to next level I need 2438402 EXP. EXP never resets to zero, that mean if I reached new lev...
https://stackoverflow.com/questions/49178711/right-progress-bar-max-min-values
javascript, html, css
1,520,528,942
se_49473678
stackoverflow
FRONTEND_DEVELOPMENT
Accessing device camera using JavaScript
Accessing device camera using JavaScript I want to access my device camera using JavaScript, but this code only works in Firefox and that too on desktop. I want to access my camera on other browsers as well as mobile devices. function start() { var video = document.getElementById('video'), vendorUrl = window.URL;...
https://stackoverflow.com/questions/49473678/accessing-device-camera-using-javascript
javascript, html, css
1,521,964,781
se_77627525
stackoverflow
FRONTEND_DEVELOPMENT
Smallest way to represent a sudoku in JS
Smallest way to represent a sudoku in JS I want to store 10,000 sudoku puzzles, along with their solutions, so that's 20,000 x 81 digits. This is just for storage, I will parse it into something else to actually work with the data, so it can be obfuscated if necessary. If I store a puzzle as a string like: ".........4...
https://stackoverflow.com/questions/77627525/smallest-way-to-represent-a-sudoku-in-js
javascript, data-structures, sudoku
1,702,048,402
se_37115259
stackoverflow
FRONTEND_DEVELOPMENT
How to refresh a div without reloading the entire page?
How to refresh a div without reloading the entire page? I have a div and I want to refresh its content without reloading the entire page. I tried many times with many methods (ajax call, javascript, etc...), but I don't have did it. My div displays the entire content of ModelName.all And in this particular div, we c...
https://stackoverflow.com/questions/37115259/how-to-refresh-a-div-without-reloading-the-entire-page
javascript, ruby-on-rails, ajax, refresh, partial-views
1,462,795,111
se_48472612
stackoverflow
FRONTEND_DEVELOPMENT
How to do an animated collapsible component in react native?
How to do an animated collapsible component in react native? Hi everyone how to make a custom animated collapsible component in react native? Tried several docs but not working.Can anybody please provide a helpful doc.Please do help. Updated constructor(props){ super(props); this.icons = { ...
https://stackoverflow.com/questions/48472612/how-to-do-an-animated-collapsible-component-in-react-native
javascript, react-native, jsx
1,517,027,291
se_40989316
stackoverflow
FRONTEND_DEVELOPMENT
How to send dynamic comma separated string value in URL?
How to send dynamic comma separated string value in URL? I would like to send string containing comma separated values in url. After clicking on Add button i'm adding input text full name value to text area. I want to send all the value added in text area which is separated by comma in url. <textarea name="txtAtte...
https://stackoverflow.com/questions/40989316/how-to-send-dynamic-comma-separated-string-value-in-url
javascript, jquery, url
1,481,006,513
se_32000865
stackoverflow
FRONTEND_DEVELOPMENT
Simplest way to merge ES6 Maps/Sets?
Simplest way to merge ES6 Maps/Sets? Is there a simple way to merge ES6 Maps together (like Object.assign)? And while we're at it, what about ES6 Sets (like Array.concat)?
https://stackoverflow.com/questions/32000865/simplest-way-to-merge-es6-maps-sets
javascript, set, ecmascript-6
1,439,514,695
se_75715736
stackoverflow
FRONTEND_DEVELOPMENT
Center revealing slider background image
Center revealing slider background image I'm making a reveal on mouse move effect on my site to have two divs with background images on top of each other. As the mouse moves, the width of the left one changes accordingly. Works but not responsive The problem is I want to center the background image regardless of the v...
https://stackoverflow.com/questions/75715736/center-revealing-slider-background-image
javascript, html, css, image
1,678,648,519
se_48677938
stackoverflow
FRONTEND_DEVELOPMENT
HTML5 Landing Site
HTML5 Landing Site I am trying to make a landing page for a basic site to host my CV amongst other things. I have used a basic template and am having an issue finding why a blank white space is appearing at the bottom of the page. The HTML and CSS is below: (I have been looking through and can't seem to see what is ca...
https://stackoverflow.com/questions/48677938/html5-landing-site
javascript, html, css
1,518,066,385
se_47624023
stackoverflow
FRONTEND_DEVELOPMENT
Typescript if conditional before returning a new object
Typescript if conditional before returning a new object I have written a piece of code which will map the value of a data set to a new object. I would like to check one of the variables in the dataset before assigning it to the new object variable. To do this I will use an if conditional. How can I achieve this usin...
https://stackoverflow.com/questions/47624023/typescript-if-conditional-before-returning-a-new-object
javascript, typescript, dictionary, if-statement
1,512,340,013
se_13099348
stackoverflow
FRONTEND_DEVELOPMENT
HTML file open dialog to access server file system
HTML file open dialog to access server file system Is is possible to have file open dialog box for displaying files and directories which is in server file system? I have a requirement in my web application where the user should select a file which is available in server. Do we have any plugin for this or can it be po...
https://stackoverflow.com/questions/13099348/html-file-open-dialog-to-access-server-file-system
java, javascript, html, file-upload
1,351,333,904
se_79992032
stackoverflow
FRONTEND_DEVELOPMENT
How can I automatically scale a web application for different screen resolutions and display scaling?
How can I automatically scale a web application for different screen resolutions and display scaling? I am using Bootstrap via CDN, and I use my web application across three different monitors. Since the monitors have different resolutions and scaling settings, the application appears at different sizes on each screen...
https://stackoverflow.com/questions/79992032/how-can-i-automatically-scale-a-web-application-for-different-screen-resolutions
javascript, css, responsive-design, bootstrap-5
1,786,390,142
se_47753982
stackoverflow
FRONTEND_DEVELOPMENT
How to take a user&#39;s keyboard input and display it on the screen where they type
How to take a user&#39;s keyboard input and display it on the screen where they type I want to have it so the user can click on an image, and where he clicked, type something, and that text will stay there. I currently have it where I can display an black box, but I need it so the user can type info next to the box. I...
https://stackoverflow.com/questions/47753982/how-to-take-a-users-keyboard-input-and-display-it-on-the-screen-where-they-type
javascript, html, css
1,512,998,699
se_19680384
stackoverflow
FRONTEND_DEVELOPMENT
Make all columns in each row have the same height
Make all columns in each row have the same height I have an HTML structure with a lot of rows and columns. I want all columns in the same row have the same height. I have made a script that is doing equalHeight. But this script puts the same height on all the columns. Here is the HTML and the script: function equalH...
https://stackoverflow.com/questions/19680384/make-all-columns-in-each-row-have-the-same-height
javascript, jquery
1,383,130,767
se_49122503
stackoverflow
FRONTEND_DEVELOPMENT
How to create a bubble carousel?
How to create a bubble carousel? On this Google open source project page, you will see a bubble carousel. There is one big bubble in the center and a lot of small bubbles moving around the big one. There are left and right arrows where you can click on, and it will animate in one of the small bubble into the big one. ...
https://stackoverflow.com/questions/49122503/how-to-create-a-bubble-carousel
javascript, html, css
1,520,303,371
se_47258124
stackoverflow
FRONTEND_DEVELOPMENT
How do I make my site background change every X seconds?
How do I make my site background change every X seconds? I have a simple page, with a background using the tag: body { background-image: url("bgimage.jpg"); } How do I make that image switch to a different image every (x) seconds? I want the background to be kind of a slide show in a way..
https://stackoverflow.com/questions/47258124/how-do-i-make-my-site-background-change-every-x-seconds
javascript, html, css
1,510,553,717
se_47250548
stackoverflow
FRONTEND_DEVELOPMENT
Sunrise Alarm Clock - Web site
Sunrise Alarm Clock - Web site My friend got a "sunrise alarm clock" which when it's time to wake up becomes brighter to simulate a sunrise to ease waking up. I thought I could do the same with my laptop, however I've been struggling with getting JavaScript time to work. I'd appreciate any help in getting this thing t...
https://stackoverflow.com/questions/47250548/sunrise-alarm-clock-web-site
javascript, html, css
1,510,500,724
se_46803790
stackoverflow
FRONTEND_DEVELOPMENT
How to create Link Loadpage on header, without load?
How to create Link Loadpage on header, without load? How do I create a link with loading above, without reloading the refresh section (in the browser). And what is the name of the technique? Example : https://phpsound.com/demo/track/17/im-waiting-for-you
https://stackoverflow.com/questions/46803790/how-to-create-link-loadpage-on-header-without-load
javascript, html, css
1,508,306,899
se_74806008
stackoverflow
FRONTEND_DEVELOPMENT
Can we extract Workable API and display it via html or JavaScript code externally?
Can we extract Workable API and display it via html or JavaScript code externally? I'm trying to extract the Workable API and display all the jobs listings into an external site. The API documentation is here: https://workable.readme.io/reference/generate-an-access-token. It says on the notes here: Workable does not ...
https://stackoverflow.com/questions/74806008/can-we-extract-workable-api-and-display-it-via-html-or-javascript-code-externall
javascript, json, fetch-api
1,671,068,542
se_79991801
stackoverflow
FRONTEND_DEVELOPMENT
Show javascript text on an html file
Show javascript text on an html file I have written a program which calculates the average between two teams, as follows: function game(){ console.log("Hi everyone and Welcome to the Clash of Teams!") console.log("Rules of the game:\n\ 1. You got 3 opportunities for enter your final scores.\n\ ...
https://stackoverflow.com/questions/79991801/show-javascript-text-on-an-html-file
javascript
1,786,323,146
se_68002994
stackoverflow
FRONTEND_DEVELOPMENT
Rendering data:application/pdf Base64 encoded data uri to HTMLCanvasElement?
Rendering data:application/pdf Base64 encoded data uri to HTMLCanvasElement? I'm wondering if it is possible to somehow render a data:application/pdf Base64 encoded data uri to a HTMLCanvasElement? I need to do this because a business requirement is that the PDF is only accessible/downloadable once a user has paid. Wh...
https://stackoverflow.com/questions/68002994/rendering-dataapplication-pdf-base64-encoded-data-uri-to-htmlcanvaselement
javascript, html, html5-canvas
1,623,847,754
se_2255689
stackoverflow
FRONTEND_DEVELOPMENT
How to get the filepath of the currently executing JavaScript code
How to get the filepath of the currently executing JavaScript code I'm trying to do something like a C #include "filename.c", or PHP include(dirname(__FILE__)."filename.php"), but in JavaScript. I know I can do this if I can get the URL a .js file was loaded from (e.g., the URL given in the src attribute of the <scrip...
https://stackoverflow.com/questions/2255689/how-to-get-the-filepath-of-the-currently-executing-javascript-code
javascript, include, absolute-path, src
1,266,015,640
se_40076648
stackoverflow
FRONTEND_DEVELOPMENT
How to attach icons to YouTube thumbnails inside a Chrome extension?
How to attach icons to YouTube thumbnails inside a Chrome extension? I have a working skeleton of my Chrome extension. Which is to say I can load it in developer mode, and run js inside my document_start js and my document_end js. What I need to have happen is, whenever someone visits YouTube with my extension install...
https://stackoverflow.com/questions/40076648/how-to-attach-icons-to-youtube-thumbnails-inside-a-chrome-extension
javascript, google-chrome-extension
1,476,660,761
se_64942035
stackoverflow
FRONTEND_DEVELOPMENT
How to set a timed transition to the .scrollIntoView behavior: smooth?
How to set a timed transition to the .scrollIntoView behavior: smooth? This is my code: document.querySelector(#theId).scrollIntoView({ behavior: "smooth", }); I have gone to the documentation of scrollIntoView and I don't seem to find a way to set the speed of the smooth transition. I would ideally lik...
https://stackoverflow.com/questions/64942035/how-to-set-a-timed-transition-to-the-scrollintoview-behavior-smooth
javascript, html, animation, js-scrollintoview
1,605,954,405
se_42783276
stackoverflow
FRONTEND_DEVELOPMENT
Page fades out (but jumps back into view) before a new page loads + Safari back button issue
Page fades out (but jumps back into view) before a new page loads + Safari back button issue I use a little bit of JavaScript to fade out my page when a link is clicked before it redirects to a new page. The problem I'm having is the page fades out but then it quickly comes back into view for a split second before the...
https://stackoverflow.com/questions/42783276/page-fades-out-but-jumps-back-into-view-before-a-new-page-loads-safari-back
javascript, jquery, html, safari, fadeout
1,489,486,804
se_42914810
stackoverflow
FRONTEND_DEVELOPMENT
WordPress: JavaScript &#39;loaded&#39; but not working with console errors
WordPress: JavaScript &#39;loaded&#39; but not working with console errors I'm just familiarising myself with WordPress and enqueuing scripts so I'd appreciate some help with this. I'll try and give as much detail as possible. It's worth nothing that all this scripts and how they're loaded work fine in my html templat...
https://stackoverflow.com/questions/42914810/wordpress-javascript-loaded-but-not-working-with-console-errors
javascript, php, jquery, css, wordpress
1,490,047,413
se_79991373
stackoverflow
FRONTEND_DEVELOPMENT
Why currentUser below is empty while currentUser above is not?
Why currentUser below is empty while currentUser above is not? I run a login form; upon completion, I store the userId and navigate to the Home page. In App.jsx, I retrieve the userId, and if I don't have one I display the Login page. I am successfully retrieving the stored userId, yet my ProtectedRoute reports that t...
https://stackoverflow.com/questions/79991373/why-currentuser-below-is-empty-while-currentuser-above-is-not
javascript, reactjs, zustand
1,786,115,241
se_21597067
stackoverflow
FRONTEND_DEVELOPMENT
Facebook Device Login With Samsung Smart TV
Facebook Device Login With Samsung Smart TV I want to use facebook login with my samsung smart tv app. To do that i want to use facebook device login. The information i found is in this link https://developers.facebook.com/docs/facebook-login/using-login-with-devices/ Is it possible to login in your app using facebo...
https://stackoverflow.com/questions/21597067/facebook-device-login-with-samsung-smart-tv
javascript, facebook, facebook-graph-api, samsung-smart-tv
1,391,673,379
se_65456941
stackoverflow
FRONTEND_DEVELOPMENT
How to make an entire edge of a div resizable?
How to make an entire edge of a div resizable? I am currently aware of the resize handle appearing at the bottom right of a DIV using the CSS property resizable: horizontal; I'm not sure if this a browser only thing but in Firefox, the handle only appears at the bottom-right, and it works only when we drag that specif...
https://stackoverflow.com/questions/65456941/how-to-make-an-entire-edge-of-a-div-resizable
javascript, html, css
1,608,989,842
se_12945505
stackoverflow
FRONTEND_DEVELOPMENT
Win8 Metro (JS/HTML5) - Video not visible after page navigation
Win8 Metro (JS/HTML5) - Video not visible after page navigation I'm working on a media playback app that has two navigatable pages. I would like to store the video object so that if the user navigates away from the video page and then returns, the same object is loaded into the div and the user can simply pick up wher...
https://stackoverflow.com/questions/12945505/win8-metro-js-html5-video-not-visible-after-page-navigation
javascript, html, video, singlepage, single-page-application
1,350,520,658
se_50192920
stackoverflow
FRONTEND_DEVELOPMENT
Import XML with JavaScript function
Import XML with JavaScript function I have a panel, that when clicked opens up and displays data. I would like to have the data come from a XML file. The JavaScript function that I was using to display html text worked, so I was trying to use that function, but modify it to bring over the XML from another file. The Ja...
https://stackoverflow.com/questions/50192920/import-xml-with-javascript-function
javascript, html, xml
1,525,545,970
se_30845815
stackoverflow
FRONTEND_DEVELOPMENT
Bootstrap: &quot;Cannot read property &#39;offsetWidth&#39; of undefined&quot; error with carousel
Bootstrap: &quot;Cannot read property &#39;offsetWidth&#39; of undefined&quot; error with carousel I'm using multiple in carousels Bootstrap: <div id="carousel-586" class="carousel slide carousel-block" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-586" data-slide-to="0...
https://stackoverflow.com/questions/30845815/bootstrap-cannot-read-property-offsetwidth-of-undefined-error-with-carousel
javascript, twitter-bootstrap-3
1,434,373,139
se_7273316
stackoverflow
FRONTEND_DEVELOPMENT
What is the javascript filename naming convention?
What is the javascript filename naming convention? Should files be named something-with-hyphens.js, camelCased.js, or something else? I didn't find the answer to this question here.
https://stackoverflow.com/questions/7273316/what-is-the-javascript-filename-naming-convention
javascript, naming-conventions
1,314,894,257
se_79972560
stackoverflow
FRONTEND_DEVELOPMENT
How do I retrieve the shared facbook post links in bulk?
How do I retrieve the shared facbook post links in bulk? I need to verify with the company who shared my posts on Facebook. Each post has about 50 shares, and every day I have to click 50 timestamps and extract each shared post link (that's if there's one post; on a typical day, i have about 7-8 such posts, which is 3...
https://stackoverflow.com/questions/79972560/how-do-i-retrieve-the-shared-facbook-post-links-in-bulk
javascript, facebook
1,782,988,257
se_14870336
stackoverflow
FRONTEND_DEVELOPMENT
Uncaught TypeError: Cannot read property &#39;dom&#39; of undefined
Uncaught TypeError: Cannot read property &#39;dom&#39; of undefined How to solve this error Uncaught TypeError: Cannot read property 'dom' of undefined in extjs? I`m using dnd and put dnd code into layout browser code : // Generic fields array to use in both store defs. var fields = [{ name: 'id', type: 's...
https://stackoverflow.com/questions/14870336/uncaught-typeerror-cannot-read-property-dom-of-undefined
javascript, extjs
1,360,829,265
se_65883631
stackoverflow
FRONTEND_DEVELOPMENT
Material-UI DataGrid Component Refresh with new State Data
Material-UI DataGrid Component Refresh with new State Data Good morning, We are using Material-UI to create a DataGrid table filled with users and want to be able to delete selected entries (checkbox) using a button. Clicking the button updates the state of our object (removing the expected rows) and the DataGrid elem...
https://stackoverflow.com/questions/65883631/material-ui-datagrid-component-refresh-with-new-state-data
javascript, reactjs, datagrid, material-ui
1,611,573,178
se_24933460
stackoverflow
FRONTEND_DEVELOPMENT
Set default value on configurable drop down in magento
Set default value on configurable drop down in magento I have a Configurable Product with 3 Options - here is what the drop down menu looks like on the product page. Bundle Deals * Required Fields Choose an Option... - Single Product £10 - 5 Product Bundle £50 - 10 Product Bundle £100 Default value on ...
https://stackoverflow.com/questions/24933460/set-default-value-on-configurable-drop-down-in-magento
javascript, php, magento, configurable-product
1,406,204,228
se_52722540
stackoverflow
FRONTEND_DEVELOPMENT
Node JS how to limit maximum number of sockets
Node JS how to limit maximum number of sockets is it possibile to set the maximum number of sockets that my server can handle? Something like: maxSocket = 2 and from the 3 attempt of a socket to connect automatically refuse that connection? Thanks
https://stackoverflow.com/questions/52722540/node-js-how-to-limit-maximum-number-of-sockets
javascript, node.js, socket.io, connection
1,539,092,467
se_48619393
stackoverflow
FRONTEND_DEVELOPMENT
React Native, &#39;is not usable as a native method argument&#39;
React Native, &#39;is not usable as a native method argument&#39; I'm new to React Native. While I was developing a native module, I encounter a problem with callbacks. Below is the error message from React Native 02-05 17:43:26.387 32301-32570/com.awesomeproject2 E/ReactNativeJNI: Got JS Exception: Exception calling ...
https://stackoverflow.com/questions/48619393/react-native-is-not-usable-as-a-native-method-argument
javascript, java, android, react-native
1,517,823,170
se_2897619
stackoverflow
FRONTEND_DEVELOPMENT
Using HTML5/JavaScript to generate and save a file
Using HTML5/JavaScript to generate and save a file I've been fiddling with WebGL lately, and have gotten a Collada reader working. Problem is it's pretty slow (Collada is a very verbose format), so I'm going to start converting files to a easier to use format (probably JSON). I already have the code to parse the file ...
https://stackoverflow.com/questions/2897619/using-html5-javascript-to-generate-and-save-a-file
javascript, html, download
1,274,710,594
se_27205018
stackoverflow
FRONTEND_DEVELOPMENT
Multiply 2 matrices in Javascript
Multiply 2 matrices in Javascript I'm doing a function that multiplies 2 matrices. The matrices will always have the same number of rows and columns. (2x2, 5x5, 23x23, ...) When I print it, it doesn't work. Why? For example, if I create two 2x2 matrices: matrixA: [1][2] [3][4] matrixB: [5][6] [7][8] The result sho...
https://stackoverflow.com/questions/27205018/multiply-2-matrices-in-javascript
javascript, arrays, matrix, matrix-multiplication
1,417,282,606
se_6044259
stackoverflow
FRONTEND_DEVELOPMENT
telerik radGrid - persist client state on sort/paging/filter
telerik radGrid - persist client state on sort/paging/filter Even in this ajax example which I really like the look of, when ever the top level grid is sorted the "state" of what you were doing "disappears" For example, Open the first person's row (Nancy Davolio) so you can see the Sales grid Sort by Order Total in t...
https://stackoverflow.com/questions/6044259/telerik-radgrid-persist-client-state-on-sort-paging-filter
javascript, jquery, html, telerik, radgrid
1,305,719,660
se_2095697
stackoverflow
FRONTEND_DEVELOPMENT
Unzipping files
Unzipping files I want to display OpenOffice files, .odt and .odp at client side using a web browser. These files are zipped files. Using Ajax, I can get these files from server but these are zipped files. I have to unzip them using JavaScript, I have tried using inflate.js, http://www.onicos.com/staff/iz/amuse/java...
https://stackoverflow.com/questions/2095697/unzipping-files
javascript, zip, unzip
1,263,923,680
se_62467815
stackoverflow
FRONTEND_DEVELOPMENT
In CSS, briefly flash the bg of an element
In CSS, briefly flash the bg of an element I am making a dirt simple web page, with simple functionality in vanilla JavaScript. Every now and then I change the innerHTML of a <span>. Is there an easy way to “flash” this span? That is, the background should briefly turn — for example — red, and then fade back to the de...
https://stackoverflow.com/questions/62467815/in-css-briefly-flash-the-bg-of-an-element
javascript, html, css, animation
1,592,560,845
se_844001
stackoverflow
FRONTEND_DEVELOPMENT
Regular expressions and sub-matches
Regular expressions and sub-matches Why do JavaScript sub-matches stop working when the g modifier is set? var text = 'test test test test'; var result = text.match(/t(e)(s)t/); // Result: ["test", "e", "s"] The above works fine, result[1] is "e" and result[2] is "s". var result = text.match(/t(e)(s)t/g); // Result:...
https://stackoverflow.com/questions/844001/regular-expressions-and-sub-matches
javascript, regex
1,241,901,248
se_5555840
stackoverflow
FRONTEND_DEVELOPMENT
Replace specific characters from variable - jQuery
Replace specific characters from variable - jQuery I have a variable with value test1/test2/test3 in my script. I want to return test1?test2?test3. How can I make this possible?
https://stackoverflow.com/questions/5555840/replace-specific-characters-from-variable-jquery
javascript, jquery, jquery-ui
1,302,024,052
se_79991637
stackoverflow
FRONTEND_DEVELOPMENT
Pointers and references in Javascript
Pointers and references in Javascript I have an object that is being pointed to by many keys on a map. How do I change the object? this.map.get(x+1) = newObject this.map.get(x-1) = this.map.get(x+1) Both result in: Invalid left-hand side in argument
https://stackoverflow.com/questions/79991637/pointers-and-references-in-javascript
javascript
1,786,229,765
se_79941955
stackoverflow
FRONTEND_DEVELOPMENT
Stuck in tutorial hell after 4 years: How do I build web sites and think independently?
Stuck in tutorial hell after 4 years: How do I build web sites and think independently? I have been coding for about 4 years now. I have watched numerous courses and followed many tutorials, but I am facing a major roadblock: I still can't build beneficial web sites or figure out how to think like a developer on my ow...
https://stackoverflow.com/questions/79941955/stuck-in-tutorial-hell-after-4-years-how-do-i-build-web-sites-and-think-indepen
javascript, html, css
1,778,880,200
se_14878551
stackoverflow
FRONTEND_DEVELOPMENT
Bubble tree in D3.js
Bubble tree in D3.js Is there an equivalent implementation of a Bubble Tree in D3.js? In the link I provided, the Bubble Tree was implemented in Raphaël and jQuery. There really should be a way to override the stupid filter. Its intention is good. It is intended for preventing submitting code as images by the OP, a v...
https://stackoverflow.com/questions/14878551/bubble-tree-in-d3-js
javascript, jquery, svg, d3.js, raphael
1,360,856,577
se_8884283
stackoverflow
FRONTEND_DEVELOPMENT
Alternatives to Underscore.js
Alternatives to Underscore.js I am looking for a JavaScript library that manipulates arrays of objects, mainly for filtering, sorting and grouping/counts. It seems that Underscore.js fits the bill, but I'd be interested to explore other options. Underscore has more than 60 functions while I just need a handful. For ex...
https://stackoverflow.com/questions/8884283/alternatives-to-underscore-js
javascript, json, datatable, underscore.js, lodash
1,326,736,977
se_588718
stackoverflow
FRONTEND_DEVELOPMENT
jQuery SVG vs. Rapha&#235;l
jQuery SVG vs. Rapha&#235;l I'm working on an interactive interface using SVG and JavaScript/jQuery, and I'm trying to decide between Raphaël and jQuery SVG. I'd like to know What the trade-offs are between the two Where the development momentum seems to be. I don't need the VML/Internet Explorer support in Raphaël,...
https://stackoverflow.com/questions/588718/jquery-svg-vs-rapha%c3%abl
javascript, jquery, svg, raphael
1,235,611,314
se_18709297
stackoverflow
FRONTEND_DEVELOPMENT
AngularJS ng-click fires twice
AngularJS ng-click fires twice I am using ng-click and it fires twice when I apply it to SPAN tag. HTML <div ng-app="regApp" ng-controller="RegistrationCtrl" data-ng-init="GetEventDetail()" ng-show="data.EventName"> <h2>Registration for {{data.EventName}}</h2> <span class="btn" id="btnSave" ng-click="PostRe...
https://stackoverflow.com/questions/18709297/angularjs-ng-click-fires-twice
javascript, angularjs
1,378,775,218
se_3675519
stackoverflow
FRONTEND_DEVELOPMENT
Rapha&#235;l drag and drop
Rapha&#235;l drag and drop I am using Raphaël for my web application. I want to set droppable boundaries of the object. The object can move in the droppable area. Once an object come into the droppable area, there shouldn't be any way out for the object.
https://stackoverflow.com/questions/3675519/rapha%c3%abl-drag-and-drop
javascript, raphael
1,284,026,103
se_2124763
stackoverflow
FRONTEND_DEVELOPMENT
Rapha&#235;l and text positioning
Rapha&#235;l and text positioning I'm trying to position text within the SVG canvas, by supplying x, y coordinates var t = paper.text(50, 50, "Raphaël\nkicks\nbutt!"); but does not position the text like all other objects... x, y coordinates specify the center of the object! Not the "left and top most" pixel! I woul...
https://stackoverflow.com/questions/2124763/rapha%c3%abl-and-text-positioning
javascript, svg, raphael
1,264,281,341