How to pass variable to modal in Bootstrap 3
I have benn struggling for a few days on this now. I have tried many different solutions and none of them work for me. Then I came accross the following link, and it appears to be exactly what I am...
View ArticlePHP, Javascript - Outputting date to 'each' grid independantly
Basically, I want to input the date into 'item5' when I click on the image in item6 with every new flavour independently. (as well it switching the image, as I have it). The way I have it set at the...
View ArticleDisplay Text Over SVG Element On Hover
So I have a simple SVG element (copied below), and I want to display text (currently within the data-label attribute) when the rectangle with the bar class is hovered over.<svg width="511"...
View ArticleHand emoji ๐Here๐ has extra space, how can I solve this with CSS elegantly?
p { font-size: 16px; }<p><span>๐</span><span>Here</span><span>๐</span></p>As you can see, the left emoji hand has extra empty space.Currently, I add...
View ArticleHow do i make a path on a canvas (HTML5) move a a certain angle
I have a path that is a triangle and i am trying to move it forward a certain length at a specific angle, this.x += length*Math.sin(this.angle); this.y -= -length*Math.cos(this.angle); length is the...
View ArticleIs there a LB_SETITEMDATA equivalent for an HTML drop-down list?
In the Windows SDK there was a method to add extra (hidden) data to each listbox item, LB_SETITEMDATA. It was very useful, i.e. you could associate an index number with the item.Using HTML's drop-down...
View ArticleHow to set background image with two alternative image? (set substitute image...
I'd like to set background-image. There are two alternative image. Here is my code.<a id="test" style="bakckground: url('image1.png'), bakckground: url('image2.png');">test</a> I want to...
View ArticleHow to tell whether form was submitted with link within tags
I'm new to PHP so be gentle. I have an html form in a PHP wordpress site that contains a 'Forgot Password' link which seems to perform the same action as submitting the form with the login button. I...
View ArticleWrapping a tag around a string in HTML using BeautifulSoup
I have a HTML file analogous to as below<html> <head> <title>Sample</title> <body> <p> A new model of Apple iPhone is being launched next week. If the model turns...
View ArticleSelecting Multiple in Dropdown
So I'm making a Drop Down Multiple Select but I don't know how to properly change the scripts or the function. Here the multiple select here is the code for the script or function: function...
View ArticleDynamic Table to configure table and produce interaction data
I have managed to acquire a very useful dynamic table from a previous stackoverflow post from some time ago and want to purpose it for an interface to set up some rules based upon one or more rules....
View ArticleHow to add and remove class from multiple elements?
After many-many hours trying to sort it up I gave up and came here for a help.The idea is:if div has a class active then images within that div should get class active. If not then images in other divs...
View ArticleCan you execute a javascript code on a external page? [closed]
I have to make hundreds of requests of the same form, which has 4 fields, on a page that is not mine. Is there any way I can create a script that can fill the form automatically?On my side I have all...
View ArticleHow to create a search page in html
Guys please how do i create and search for a text or page in my html website which contains over 50 webpages.I'm using html,javascript,js,bootstrap and css
View ArticleCan't click on other tabs in html tabcontent
Whenever I am on my new profile tab I can't click on my other tabs to go to them. I've included my code below. I can go from my Dashboard tab to New Profile tab fine but not the other way around. I can...
View ArticleHamburger button doesn't close after initial click
Navbar Componentimport { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { logout } from '../../redux/actions/auth'; import...
View ArticleHow do you do google TTS in html in real time?
def synthesize_text(text): client = texttospeech.TextToSpeechClient() input_text = texttospeech.types.SynthesisInput(text=text) voice = texttospeech.types.VoiceSelectionParams( language_code='ko-KO',...
View ArticleRendering a table within a textarea
I am attempting to code my own version of the equation input on this website, as I am working on my own solver for matrices and matrix equations:https://www.symbolab.com/solver/matrix-calculatorIt can...
View ArticleShow Divs & Array Object Text When Option Selected
I have an array of objects inside script tags inside my HTML file: var people = [ { name: "Bob Smith", age: 27, hobbies:"painting" }, { name: "Sam Smith", age: 28, hobbies:"cooking" }, name: "Sara...
View ArticleScale element when zoom - HTML/CSS
I have an scrollbar which height is 31.25em. Now this looks fine as it is on screen but if I zoom in via the web browser like from 100% to 110%, the scroll bar seems to increase in size. My question is...
View Article