July 23, 2017, at 2:38 PM

I am having problems with scoping and closure in a JavaScript snippetI am trying to update both the class and onclick properties of a button

July 23, 2017, at 2:37 PM

I have a list with groups in it, and use CSSOM to dynamically filter the contents using a text fieldThis is a way to implement a "search" using only CSS

July 23, 2017, at 2:34 PM

My video on a qualtrics survey autoplays but I am looking to prevent replay and pause (from users clicking and using spacebar)

July 23, 2017, at 2:32 PM

I am embedding a Google Doc in a HTMLMy Google Doc has a footer that contains the page number and an image

July 23, 2017, at 2:30 PM

I am developing an UI using Angular2+ and there is a feature as follow: The user is able to upload an image, which is being done using an img element where the src of the img is dynamically bound to a variable as follow: [src]="imageSrc"

July 23, 2017, at 2:29 PM

I’m working on a CSS file that is quite longI know that the client could ask for changes to the color scheme, and was wondering: is it possible to assign colors to variables, so that I can just change a variable to have the new color applied to all elements that use it?

July 23, 2017, at 2:28 PM

I have searched and searched and cannot figure out how to reduce my bootstrap menu's drop-down sizeI have tried modifying everything related to dropdowns in the bootstrap CSS and cannot get it change

July 23, 2017, at 2:27 PM

I am following this example: https://blocks

July 23, 2017, at 2:26 PM

I have a flask app which has both front and back endsI am using flask_assets to serve both css and js assets

July 23, 2017, at 2:25 PM

There are two conditions:

July 23, 2017, at 2:22 PM

I've been designing a web infographic with some animations within the pageSo I added some JavaScript code in order to trigger the animations as the user reaches them on screen

July 23, 2017, at 2:20 PM

I have this issue with my flexslider in which no matter what I do, I just can't seem to place the slider at the very top left of the browser windowIt seems as if there's a margin of 5 pixels on the top and the left

July 23, 2017, at 2:18 PM

Whenever I add margin to any element I get overflow, I tried adding box-sizing, position:relativebut nothing works

July 23, 2017, at 2:15 PM

I made a website that when viewed locally, the site displays in browser as expected (more importantly the mobile version displays correctly)I uploaded to a AWS S3 bucket and setup a CloudFront distribution

July 23, 2017, at 2:14 PM

For some reason my float class dosen't work:

July 23, 2017, at 2:13 PM

I wrote this code to let my footer fade out when scrolling down and fade in when scrolling upIt works pretty good, however, on iOS Safari on iPhone (don't have a iOS tablet so can't check) it causes the fading to occur multiple times

July 23, 2017, at 2:12 PM

I have a grid and when selecting an item in it, i want to add different classes to every column that is before or after the current itemI came up with the following function to do this, but wondering if theres an easier and simpler way to do this:

July 23, 2017, at 2:08 PM

I am learning programming (html, css, JavaScript) for a month now and I made a simple game but I am not sure if i did it a right way

July 23, 2017, at 2:07 PM

I am using a jquery plugin called magic-check, to create styled checkboxesThe checkboxes are displayed using the following example code:

July 23, 2017, at 2:06 PM

I'm trying to add a video background for my websiteI have browsed numerous sites and have come across the same code which I have been using over and over

July 23, 2017, at 2:05 PM

I have been struggling with this for about an hour now and I'm not sure what the best approach isI have a radio button which has a label and an image

July 23, 2017, at 2:04 PM

I'm testing the shortcut component of Metro UI using the following code:

July 23, 2017, at 2:02 PM

I am at my wit's end trying to link my CSS stylesheet to my HTML file, any and all help would be greatly appreciated!

July 23, 2017, at 2:00 PM

Good day, I am developing a website using HTML, CSS, JavaScript and PHPI want to know how will edit the the website after I've uploaded it to server without going back to the code is there like a standard CMS for that because if it was a PHP website WordPress CMS would have been useful but it is HTML and CSS so please I need help thank you

Show more
How to use $.when in node.js? [duplicate]

How to use $.when in node.js? [duplicate]

This question already has an answer here:.

Add node to Tree

Add node to Tree

I decided to use nested sets model. [nnn]My table has columns: id, name, lft, rgt, parent_id.

javascript/jquery: on click copy relevant array items to new array

javascript/jquery: on click copy relevant array items to new array

I think I'm missing an obvious answer. I have an array of arrays, like this.