1,189,023
questions
0
votes
0
answers
6
views
preview pdf from google bucket signed url
Recently I am doing an archive project in Flasks. I want to view pdf with selectable text in a webpage using iframe or similar technology.
Since the pdf url is a signed url from google bucket, like ...
0
votes
0
answers
13
views
Bootstraps form validation inside a table with big checkbox now working
I use bootstrap 5.3.3 and have this structure
see css used to create a big checkbox.
.form-check-input[type=checkbox].big-checkbox {
transform: scale(3);
margin: 1.5rem;
border-radius: 0;
}
...
0
votes
0
answers
8
views
Yii2 ActiveForm CheckboxList Group Seperator
I am trying to place a line in between a list of values in a Yii2 CheckboxList. For now I am just trying to get it to work using the yii Bootstrap 5 Html form field.
When using this:
<?= Html:...
0
votes
1
answer
28
views
Zoomed images don't have different sizes according to JavaScript
Is there any way to get the actual size of a zoomed image via javascript? After adding a css zoom affect to the image and then getting the size via JS it returns the original size.
var img = ...
0
votes
0
answers
6
views
Unable to replicate PyData Fonts
I'm trying to replicate the fonts used in PyData's documentation. The custom CSS styling is taken directly from their website, however, my heading renders with a different font. PyData's docs use ...
-4
votes
0
answers
21
views
change tile to light green after mower runs over it (JavaScript game) [closed]
I am making an incremental lawn mowing web game. I need help making the grass turn light green right after the mower goes over it.
script.js
main GitHub repo
0
votes
0
answers
24
views
Hover Effects are treated as click effects, but they work properly after resizing page
They were working before, but I was trying to add react based page linking and that seemed to have broken the hover effects and now I cannot get them to function properly again. They do the correct ...
-1
votes
0
answers
44
views
Why am I getting a HTTP 404 error in my recursive function?
I am trying to do web scraping to acquire a list of international locations using this website: https://restaurants.subway.com
I am getting back some addresses, but I can't seem to figure out why I am ...
0
votes
1
answer
19
views
Change background of part of GoHighLevel form
I built [this][1] form in GoHighLevel. I am trying to adjust the background so the top part (before the form fields, header and description text) is white, and the rest a green.
I add the following ...
0
votes
0
answers
17
views
Angular carousel timer block webapp
i have an issue i am developing a web app in angular V18 my problem is when i implement a carousel this just have text and it must be change every 3 seconds the idea its ok, but in the code when i ...
0
votes
0
answers
32
views
Uncaught ReferenceError: Function is not defined at HTMLButtonElement.onclick
I have one issue.
I have function add() on buttons with number parameter. So when I click button in console there error Uncaught ReferenceError: add is not defined at HTMLButtonElement.onclick
This ...
-1
votes
1
answer
30
views
image showed up fine, then didnt
When trying to add an image to my code, it worked at loaded fine, but now just shows the 'image failed to load' thing and the alt text. I cant fid any logical reason for it to stop working.
<img ...
-1
votes
0
answers
13
views
Is there a way to convert a website (or website articles) into OPML? [closed]
I am trying to import web articles into Workflowy, an online outline software, but so far I haven't found a perfect method. I like a lot the Clip2WF bookmarklet by Rawbitz, but that method is good for ...
0
votes
1
answer
38
views
HTML-5 form attribute with class instead of id
I am making two separate forms, and would like them to be both linked to the same button. In HTML5, one can link the submit button outside of a form with only an id. Is there any way to include a ...
-1
votes
0
answers
20
views
How i can learn real file link on the Google drive? [closed]
I have a Google drive link. And i write a PHP code. PHP code is download a file at the directory. Ex. file.com/download?id=xxxx to cdn.file.com/userxyz/picture.jgp. my PHP code only download exampe....
0
votes
0
answers
14
views
Selection is changed without throwing the selectionchange event inside nested contenteditable
I am writing some sort of editor, where only parts are editable. By clicking behind the row, the caret should be placed at the end of the row for some user input.
In FF this works, in chrome it works ...
0
votes
1
answer
19
views
How do I make the footer only visible when you scroll to the very bottom of the page instead of always being visible?
So I'm working on a project for school with writing a website. I have a header section that acts as a navbar, a main_body section that acts as the floating block with all the info on the inside, and a ...
0
votes
0
answers
14
views
Nesting a drop down inside a section in a dynamic javascript form
I'm trying to use a drop down next to a simple number input within a section on a dynamic web page form. I am able to create a new section with a button, and I can use normal text or number fields ...
0
votes
2
answers
43
views
Hiding image parent div
I am setting up a Bootstrap carousel. I wrote the HTML for 20 images, and the number of images changes weekly. The image names are Pic001, Pic002, etc. How do I hide the image's parent div that has an ...
0
votes
2
answers
55
views
How to open dropdown menu from outside button
Opening bootstrap dropdown menu from button inside table using
function xonclick() {
const dropdownButton = document.getElementById('settingsDropDown');
const dropdownMenu = document....
0
votes
3
answers
59
views
how to remove <script> from the page before it loads it contents
I have a page hosted on a server which injects small portion of script to my index.html page and would like to remove this script before it runs.
Simplified example looks like this
<!doctype html&...
0
votes
0
answers
18
views
'dict object' has no attribute 'id' when attempting to submit data to database via flask and mysql connector
Doing a flask and MySQL web app, it runs fine until I attempt to submit the data, where it gives me a 500 error on the front end while the terminal throws the error in the title
from flask import ...
0
votes
0
answers
18
views
Getting duplicate page inside when submitting a form
When I submit the form (i.e) placing a order I am getting a new duplicate page rendering inside my ship_now.html page . Tried changing logic in views which are
creating form in a new html file using ...
-2
votes
0
answers
12
views
Flask app returns Errorr: 1364 (HY100): Field "email" doesnt have a default value [duplicate]
I am programming a website and currently attempting to link an SQL database to it using Flask and MySQL connector, I am able to get the Flask server running, view edit below for new issue after ...
0
votes
0
answers
26
views
SVG animation diagramm
I wanted to animate a graphic. It should be like an diagramm loader. I dont know what i need to type in so it starts where the diagramm starts and not before.
I once made a diagramm loader so i ...
3
votes
1
answer
57
views
Replacing jQuery slideToggle() with vanilla Javascript
Currently, I'm working on replacing the jQuery slideToggle() function with vanilla JavaScript and trying to find a generally effective solution. My elements can have various padding, and until now, ...
-1
votes
0
answers
27
views
How to make active route link scroll to center in Angular?
In Angular, I have a Navbar, in which I have scrollable menu links. The links will start from the center.
What I'm trying to do is, that I want the active link to be scrolled to the center when I ...
0
votes
0
answers
19
views
How can I style individual table cells for Markdown to HTML conversion using Pandoc?
In Markdown I have tables like in the following example:
| | Fruit | Vegetable |
|-------------|-------|-----------|
| Apple | yes | no |
| Broccoli | no | yes |
...
0
votes
2
answers
52
views
Why is there a white space left under the div when I apply box-shadow? [duplicate]
I'm trying to make a page with 3 images, each one inside a div, but when applying box-shadow there is a gap underneath.
Image with example of the problem
<style>
body {
margin: 0;
...
-3
votes
0
answers
58
views
I can't properly fetch the firstname and lastname from users table and title from the books table [closed]
The borrower's name and title aren't displaying as expected in my CodeIgniter 4 app. Despite trying various solutions, the issue persists. Could someone help troubleshoot and resolve it? Your ...
-1
votes
0
answers
41
views
Why is mix-blend-mode: difference; not working on my SVG logo? [closed]
I'm trying to apply mix-blend-mode: difference; to an SVG logo when it overlaps a specific section of my webpage, but it's not working. The blend mode doesn't seem to have any effect.
Here's what I ...
0
votes
3
answers
71
views
How to prevent a div container from moving while minimize the tab
I have been creating a blog website, but there is an issue. You can see in my code there is a sidebar (red colored), it's a div container. The problem is when I minimize the chrome tab, the sidebar is ...
-1
votes
0
answers
21
views
Why some Tailwind CSS classes are not working and some even though config file is specific?
I'm creating a t-shirt shop using tailwindcss, and I have some weird problems:
When I render the ejs file (a type of file that allows for dynamic generation of html in Node.js, but is basically a HTML ...
0
votes
0
answers
23
views
Mobile safari unpredictably resizes & re-positions elements being dragged
I just want to drag an image, get an feedback image of identical dimensions, and drag it to the exact visual location. It easily works on desktop.
But for mobile safari, not only does the initial drag ...
0
votes
2
answers
40
views
Grid System - unable to align 3 columns in a row
I have read the docs and have googled - unable to find an answer. I have a parallax bootstrap slide. In the first slide I am trying to make 3 div columns equal height and width side by side in a ...
0
votes
0
answers
49
views
PHP within HTML <SERVER SIDE - NOT BROWSER SIDE>
Info: Raspberry pi 4 - apache running, php installed. All works well.
The index html file shows the images etc. and auto refreshes based on some parameters i.e. if it sees a file called file_change....
0
votes
0
answers
20
views
Cannot set Times New Roman font with mpdf 8.2.4 and greek chars
I am new with mpdf. I installed mpdf 8.2.4. No matter what I do, I can't get Times New Roman correctly with greek chars.
I have the following code:
<?php
$html = file_get_contents('pdf.html');
...
0
votes
1
answer
40
views
how to create a downloadable link which loads the file from a backend server only when clicked in Angular
I have a situation where I have a list of items each represent a file. All these files can be fetched from a backend as blobs. I want to have links in the frontend when user clicks should be able to ...
0
votes
0
answers
12
views
PWA "No manifest detected" only on Android but works on every other platform
I am developing a Progressive Web App and when I tried to test it out on my Android phone, it didn't work as clicking on "Add to home screen" doesn't return the PWA installer UI but the ...
-3
votes
0
answers
68
views
Collapsible HTML table from 2D array
Updated the Question
My Data is this
[['RowId','State', 'Jan-24','Feb-24', 'Mar-24', 'Apr-24'
'oddheader', 'NY' 100, 200, 300, 400,
'oddchild','City - 1' 30, 50, 75, 100,
'...
0
votes
0
answers
44
views
How to make infinite animation of vertical lines moving along horizontal lines
How to make an infinite animation of vertical lines moving along horizontal lines using only CSS and HTML?
So far I have only got this option, but the distance between the lines does not decrease as ...
-2
votes
1
answer
22
views
how to create animation using css [closed]
i want to create an animation just using CSS.
I am trying to make animation in my site, any small cat animation or anything.
have to create an object which is waving to user "hello welcome" ...
-4
votes
1
answer
23
views
Problem with positioning overlay on top of Text-Image-Section
i have a problem with positioning an overlay on top of a Text-Image-Section. I tried to visualize the expected result in the attached image. The overlay (blue) should be positioned on top, without ...
0
votes
2
answers
43
views
Alert pop up when a form is submitted
I want to display an alert pop-up when a form is submitted, but it is not working as expected. When I refresh the page, the alert pop-up does not hide itself; instead, it continues to display even ...
-1
votes
0
answers
27
views
I have added media queries to my CSS and tested my page on edge, chrome and used a online mobile emulator but queries don't work
As above, I have added media queries to my CSS and tested my page on edge, chrome and used a online mobile emulator and it works fine.
However when I actually view the page on a mobile device all of ...
1
vote
1
answer
36
views
Solid color background is applying with some transparency
I am working on menu for mobile devices. When we open the menu the background is visible through it.
I have a background-color set white in #headerPop but it is not working as expected and element ...
1
vote
0
answers
40
views
Angular 18 hack for <select> with <input> in Signal() way to be optimized
I have a hack to implement a select box with dynamic set and by double click to have this selection box with a indecently input box. The added new options will not double (by a Set) be sorted and at ...
-3
votes
0
answers
43
views
Use JavaScript and id to iterate attributes in a table [closed]
I'm creating a library of audio sounds, displayed in an HTML table. Every sound has its own row, every row has four columns/tds. There are a lot of repeated instances of the sound filename in each row....
-1
votes
0
answers
22
views
Page scrollbar appears when child element has overflow-x: scroll; CSS [closed]
I've created a simple slider. It's overflow-x is set to scroll which works. Although the overflowing content is hidden within scroll container, scrollbar for the entire page appears. There's no ...
0
votes
0
answers
17
views
Image-banner and link-wrapper not aligning to center in CSS grid layout when width is set on center-column container
I'm trying to center-align an image and a set of links in the center column of my navigation layout. When I don't specify a width for the .center-column element, the alignment works perfectly. However,...