Quantcast
Channel: Active questions tagged html - Stack Overflow
Browsing all 72330 articles
Browse latest View live

How do I move elements within their grid?

https://codepen.io/tphelps5/pen/GRgBMMZconst output = document.getElementById("output"); let reset = document.querySelector(".reset"); function resetOutput() { output.innerHTML = "0"; }* {...

View Article


Why doesn't the position work properly in the section

I have a section part on the website where I want four products being displayed in the middle, right and left arrows on both sides of the screen and a title in the middle above the displayed products,...

View Article


Remove card when clicked on confirm button

Please visit the page to see the problem in details https://ibnul.neocities.org/_temporary/au2pr11/au2pr11.htmlHere I have 3 cards. Every one of them has a delete button. When clicked it triggers an...

View Article

How can I write my callback function in JavaScript? [closed]

When regame() is called I call another function inside it i.e. anim1() by passing reset function as a callback function. However reset gets executed along with anim1() itself. I want my custom...

View Article

Image may be NSFW.
Clik here to view.

Split bootstrap's carousel slide in multiple slides next to each other and...

I would like to do a carousel in bootstrap which is split into 187x300 slides but the slides to stay some sort of next each other with a little space between them.Also, I have resized the carousel to...

View Article


dynamically resize div on adding input boxes

I'm trying to expand the height of the box in the demo. When I click the '+' button, a new row with two input boxes is created. I used element.offsetHeight property to increment the current height by a...

View Article

How do I load the index.html file on electron?

I'm creating an app with electron and Angular.Currently to load my index.html file my code looks like this.exports.window = function window() { this.createWindow = (theBrowserWindow) => { // Create...

View Article

vanilla JS hover over div change background color

I'm working on building an interactive grid that is similar to an Etch-a-Sketch. I have my grid set up and am now trying to set up a “hover” effect so that the grid divs change color when your mouse...

View Article


How do I insert associated labels into my json list

Edit: I figured out how to pull the string effectively. My new struggle is to replace the Selectbox element name with the label in the json object produced by the submit button. Ideally this Json...

View Article


Capture HTML canvas of third-party site as image, from command line

I know one can use tools such as wget or curl to perform HTTP requests from the command line, or use HTTP client requests from various programming languages. These tools also support fetching images or...

View Article

I'm looking for help !? SVG and HTML

I'm trying to add a boutton in a svg for the door of a ground plan , but it not work !

View Article

How to close only current popup in Javascript and Jquery?

I have a form as a popup and I want to add a cancel button to close current popup. I tried many ways to do it but it is not closing<form id="overlay_form_uploadGenFile" action="/crm/saveGeneralFile"...

View Article

Making an entire div clickable using jQuery (Wordpress)

I have a wordpress installation and am trying to create a function that makes an entire div clickable based on the href within it. I've found a lot of documentation that tells me to do...

View Article


"Harlow Solid Italic" from Google Fonts doesn't seem to work

I'm having trouble getting the Harlow Solid Italic font to work. I have used a number of other fonts that range from Times New Roman to some Google Fonts such as Cinzel so I know that that I'm coding...

View Article

Image may be NSFW.
Clik here to view.

Wkhtmltopdf Characters in single line partially cut between pages

I am working in a project using ruby on rails(3.1). My requirement is to produce pdf from the html content. So I use pdfkit gem.In some pages, characters in single line partially cut between pages....

View Article


Image may be NSFW.
Clik here to view.

How to set one image relatively to another one for any screen resolution?

There are three images: body of audiotapeand two wheelsI need to set wheels exactly on their position for all screen resolutions.<div class="tape"> <img id="tape-body" src="{% static...

View Article

trying to record a video with javascript using a webcam without a service

i am trying to create a web page that displays the camera at start-up when press a button starts recording and press button to stop recording the play the video after it stops recording. i have it...

View Article


How to scan dates from JSON and print specific content on the basis of date?

I have a php code as shown below:Php Code:if (file_exists('feeds/ptp-ess_landing_house.json')) { $data_house = json_decode(file_get_contents('feeds/ptp-ess_landing_house.json')); } <?php...

View Article

Image may be NSFW.
Clik here to view.

How can I choose option from a drop-down list in IE that's not entirely...

I am trying to create a VBA macro that will automatically select the item from a drop-down list from a website. Even though the options in the drop-down list have id tag, but not the entire list is...

View Article

How to fix input exceeding max value in html input type = 'number'?

I want the number type html input element to take the input through keyboard, and if the last number pressed makes it exceed the max value, that last key press should be discarded.I tried using...

View Article
Browsing all 72330 articles
Browse latest View live