Category "html"

javascript sode for mouse position display and Geolocation with openlayer and geocodezip example

I want to combine Geolocation and Mouse Position Display (lng/lat; outside of map)from the Openlayer and geocodezip site.I tried various combinations of codes B

javascript/jquery only affects first element

I have this html code for a search form and i would like to use jquery to edit the url to let searchform, searchurl, i; searchurl = window.location.href; s

How to record a particular tab stream using getUserMedia

I want to record a particular tab (by specifying the tab id) without showing the tab selection dialog from getUserMedia. For this I use mediaSource as browser a

Linking CSS doesn't work

So my CSS doesn't work for some reason. I have searched online and cannot find a problem with it but the CSS is not connecting to the HTML. Here is my code:

How to place equally spaced svg text in order

I have a svg element generated with javascript, that looks like this <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1

Multilayer parallax background

I'm looking to do a parallax effect like this. https://medium.com/@PatrykZabielski/how-to-make-multi-layered-parallax-illustration-with-css-javascript-2b56883c3

Google Analytics, display real time php

I have queries working nicely, but how do I include real-time data? This is my current code: <?php // Load the Google API PHP Client Library. require

The auto generated error message shows the date format as 'yyyyy/mm/dd' instead of 'mm/dd/yyyyy in ASP.Net MVC application

I am working on ASP.Net MVC 4.7.2 app. It has a date field where user can select or type the date. If user enter the date with year yyyyy (the length of year is

Is there a way to trigger a date input's calendar on double click?

I am trying to trigger the <input type="date"> calendar to be shown on a double click event, like a user was clicking on the arrow in the right, but with

How do I set the min attribute for <input type="date"> via h:inputText?

I have the following HTML calendar: <h:inputText t:type="date" value="#{data.dueDate}"> <f:convertDateTime pattern="yyyy-MM-dd"/> </h:inputTe

Send an image in the mail using thymeleaf

In my application I would want to send emails using javamail. I use Thymeleaf so that I can send some data. When sending the email, I want the background to be

How can I use the macOS system accent color in CSS?

When using Safari on macOS, form controls like buttons and selects use the system's accent color. When changing the accent color by going to System Preferences

How can I order CSS columns horizontally instead of vertically for auto height elements?

Each of my columns has different heights. How can I order my column to horizontally instead of vertical using CSS? Also on hovering of each item, the height wil

Form hidden field and required validation use

I have an HTML5/Bootstrap form with hidden fields: style="display: none" which i show/hide via jQuery: show() | hide() For field validation i use the attri

Bootstrap 5 Card question, float-right, d-flex with justify-context-end etc, not working

I've started learning Bootstrap 5 today and came up with a card that will be populated by a collection of products in my code. I've toyed with rows and cols and

setTimeout function is running infinitely

I read that setTimeout function only runs once and setInterval function runs infinitely. But in this code of digital clock which I picked from w3schools setTime

Set Form action in wordpress

I am creating form for wordpress website. Currently i am getting value on same page successfully with blank action. Now i need to get form value on data.php pa

Can't switch to code view on google web design

I just installed Google's new web design software and I seem to not be able to switch out of design mode and into code view. I have yet to see anyone else with

How to create a link to contact specific phone number via Telegram?

So I found out I could use a link like this in HTML: <a href="https://api.whatsapp.com/send?phone={{phone_number}}" target="_blank">WhatsApp</a>

Extract color palette of a webpage [closed]

I intend to recolor a website with a new palette of colors. I plan to first extract the colors from the webpage and determine its color palett