Category "html"

Is it possible to add a if condition inside tal:define?

I'm using python with Zope and I'm trying to create a variable with a if condition (if possible). I'm having a difficult time finding examples and resources onl

Navbar isn't turning red when I scroll down

I am trying to make it so when I scroll down in my webpage it will turn the navbar red. when you are at the top of the page it blends with the background but wh

How to send URL of video from one html file to another using flask

Trying to create a simple website consisting of two webpages Few radio buttons to choose which input/output video to display Displays input and output video mai

how to create an effect just before displaying a web page

hi i tested this piece of code found on stackoverflow here without success... I manage to use 'Swup' for the transitions but not for the arrival on the page * {

Getting "Failed - File incomplete" in Chrome when downloading file from MongoDB

My JavaScript application allows users to download a file. The page shows a clickable link to the file. The file is stored in MongoDB. When I click on the link

I want to create an html element, using javascript, with content drawn from two initialized arrays on page load

I want to create an html element, using javascript, with content drawn from two initialized arrays on page load. This is how far i have gotten but, aside from t

Javascript - Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'

I have this code in my vue component <template> <div class="container-fluid p-0"> <div class="row m-0"> <div class="col-12 vh-1

Have a paper js file that can be imported as a module

I am making a game and I would like to have my code split into two files. One, an ordinary javascript file for the gameplay, the other a paperscript file for al

which/how to properly use a loop for html change with Javascript?

I am new in Javascript and trying to change the HTML content of a line. I've been helped a little by a friend who made this code for me, but I'm running into ma

Why my Interactive Art is not working like it should on mousemove

I made an Interactive Art but instead of scaling each child different pixels it is scaling each child same px. P.S the commented out code const WIDTH = 512

Remove punctuation at end of line in responsive text block

I have a list of a large number of Things divided by bars, i.e. Thing 1 | Thing 2 | Thing 3. They're in a responsive container and so I have no way of knowing w

Django : Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Error When Click Button for send data. Please Helping me to solve problem. Error When Click Button for send data. Please Helping me to solve problem. Error When

Why does my mat-paginator display incorrectly and there is no scrolling of pages if the table is out of bounds

here is my code html: <table mat-table [dataSource]="data"> <ng-container matColumnDef="Audit_ID"> <th mat-header-cell *m

What is the difference between CSS selectors: element element( div p) vs element>element (div > p)? [duplicate]

I'm wondering about CSS selectors. Especially about this one: "div p" vs "div > p"

For Looping data in html and SketchUp

I have an array of data in SketchUp which I need to present to html in a table format. I have an example of my code which I have hard-coded. ID = [["Harry", "22

How to make navigation toggle button above body content view in html?

I have my navigation toggle to hide and show side navigation But if i zoom in the screen, The navigation button will go behind the body content view. .navigatio

How to make svg added as css ::after content scale to the size of the font

I have some generated html that has headers with appended anchors (no content, but with a unique id), and I'm adding a 'link icon' that pops up when you hover t

Rescaling content within an iFrame

I have an iframe, which takes another page and displays it. However, the content within this iFrame becomes unreadable if I move from a external computer monito

Express/Ejs appending localhost to script links in my index.ejs file

Error File structure Route app.get("/api/animation/:token_id", (req, res) => { const tokenId = req.params.token_id; const data = generateWorldData(); c

find element by class name (node js)

For my tool there is a button with a dropdown list if you click the button. The button is using a class : countryButton-1cNDvB button-f2h6uQ lookFilled-yCfaCM c