Posts by David Mv • 722 points
50 posts
-
0
votes1
answer24
viewsQ: Fixed menu close button
Hello I was trying to make a button open and close a fixed menu with javascript but I don’t know what I’m doing wrong with my code that doesn’t work the way it should. In theory, when the width of…
javascriptasked David Mv 722 -
-1
votes1
answer45
viewsQ: Remove background from text
Hello I was making a transparent title and I wanted inside the text to see the background but not the background of the box. In other words, inside the letters you could see the background image but…
-
4
votes0
answers51
viewsQ: Grid with different height
Hello, I was making a table with some information about chefs, but the text is too long so I decided to put a "continue reading" button, when the text opens, the body of the box increases and drags…
-
0
votes1
answer38
viewsQ: responsive circumferences in specific places
Hello, I was putting circles and over specific dots of an image but I would like them to reduce their size but without leaving the position I want, i tried to use % also tried to use vw but never…
-
-1
votes1
answer31
viewsQ: Slick carousel
Hello, I was using Slick as a pluggin to create a carousel and my carousel has 5 white Divs on desktop and I wanted in mobile those 5 white Divs disappear, I used the display: None; but when I’m on…
-
-1
votes1
answer34
viewsQ: circumference on top of an image
Hello! I am developing a carousel of images and would like to put in it circles on top of a specific place of the image. The problem is that my circumference does not appear. I tried to use the…
-
0
votes2
answers58
viewsQ: property order does not work
Good i created a page for pc and wanted the order that shows some things to be changed with the css order property, but I n what happens that is not changing the order of the objects, someone can…
-
-1
votes1
answer33
viewsQ: div under the contents
Hello i have two Divs one which is the carousel and the other which is the side-menu but even though both are in display block the carousel div is over the div of the secondary-Manu, I wanted to…
-
0
votes1
answer39
viewsQ: @media does not change content
Good I was trying to make the responsive of a website but when I went to change things to mobile just did not change anything and I do not know how to solve. I have a script that makes my carousel…
-
0
votes0
answers101
viewsQ: how can I make my carousel change image without javascript
Hello, I created a carousel with 3 images and wanted to make them change automatically without running a javascript code. I’ve been searching but everyone recommends using javascript and other ways…
-
-1
votes1
answer90
viewsQ: Space between needless animals
Good, I was creating two Divs when I came across this space... I’ve been looking for the code for everything that is creating this space but I can’t find, it was supposed to be for him or there...…
-
-2
votes1
answer30
viewsQ: put color in a <a>
Good, I am having a problem in a menu that I am creating, I managed to remove the underlining of the text that is defined as link but I wanted to change the color to make a text more normal... Does…
-
0
votes2
answers186
viewsQ: Place arrow keys to change over the carousel
Good, I needed to put the arrows on my carousel that are meant to change the image over the carousel this way: I already used the z-index and tried to change the display but it is not on top of the…
-
2
votes1
answer198
viewsQ: My carousel button stopped working when I uploaded the images
Good, I put a bootstrap Carousel in my HTML but when I put the images the slide change buttons stopped working. You can see what’s wrong? <head> <link rel="stylesheet"…
-
12
votes3
answers1299
viewsQ: Define whether the letter is vowel or consonant
I was trying to create a code with Javascript that after reading the letter entered showed if it was a vowel or consonant but with any letter I put the code answers me that and a consonant even if…
-
0
votes1
answer145
viewsQ: play button does not appear
Hello I put my video in HTML but the video does not appear with play button, can explain me what to put to be able to play the video? <video src="./videos/video2exemplo.mp4" type="video/mp4"…
-
0
votes2
answers54
viewsQ: Hide and show content
I tried to use this form to "store" content (surrounded by blue in the print) that would be shown after clicking on the button that contains the image. But I can’t because the button doesn’t work…
-
0
votes2
answers49
viewsQ: "Filter" is not closed
Hello, I have a simple script that from some searches on stackoverflow I built. After I started to put some more content the scripts started to stop working and to present some errors, I already…
-
1
votes1
answer38
viewsQ: edge an object that doesn’t exist
Hello! I’d like to put an edge on my counter. The problem is that my counter is based on the case numbers of json, so the numbers in html do not exist. Is there any way to edge the div that has no…
-
1
votes1
answer196
viewsQ: src without image does not disappear
I am using the JSON database and I have a problem: when there is an image in JSON, instead of the tag <img> does not appear, it appears as if the image of that error: Is there any way when the…
-
0
votes1
answer545
viewsQ: Image in Json without using Base 64
Hello I’m creating a json and in each json information I need to put an image but I didn’t want a giant code so I don’t want to use Base64 there is some way to put a link in the json that leads to…
-
0
votes4
answers1357
viewsQ: associate a checkbox to a script function
Hello I’m trying to make a function for when my checkbox is active activate the function in the script and when it’s not back to normal, I think the script is good, but I just don’t know where to…
-
4
votes3
answers146
viewsQ: write json sentences html
I tried to make a mini database in JSON: [ { "titulo": "Exemplo", "localizacao": "Rua de Exemplo", "texto": "Texto grande de exemplo para usar como teste" } ] Then I created a general variable for…
-
0
votes1
answer640
viewsQ: How to place an image in json
Hello i am trying to put data in json an image and then in html appear a title a location a text and an image, but I already tried url() and src but I can’t put it there... [ { "titulo": "Exemplo",…
-
0
votes0
answers23
viewsQ: Buttons with automatic modals based on JSON
Hello I’m making a website that builds images and modals based on Json but I can’t do the script that makes me copy the first div and based on the case numbers, they appear on the side. I had…
-
1
votes1
answer21
viewsQ: Code does not find modal
Hello I have a type button image that supposedly should be opening the modal but on my site does not open. I have bootstrap installed from the most updated version, I can not understand why my modal…
-
0
votes0
answers31
viewsQ: perform the function again via the same button
Hello i have a script for google markers that works like this: i have a function that reads json, reads select, sees which or which options are selected in select within HTML, deletes markers (which…
-
0
votes0
answers27
viewsQ: Clear markers and put the selected [javascript]
Hello I am creating a script to remove the markers and put only the specific markers, but it is only working once if I then try to select another filter the markers appear all back and do not erase…
-
1
votes2
answers417
viewsQ: Div position Fixed below other Divs
Hello i would like to put a div Fixed on the right side of my div without it getting over the dolls. as I go scrolling this div goes accompanying the scroll but only inside the black div! the dolls…
-
0
votes1
answer41
viewsQ: Problem of content organization
Hello I have four selects and each select has its specific title, but I have a problem although I in HTML have the title on top of the select and below a button, the title of the select appears on…
-
0
votes2
answers185
viewsQ: Adjustment of the canvas in css [closed]
Hello I have a problem adjusting my Ivs I in the left div have with that the height is 100% of the content and I wanted the middle div and the right div to be the same size as the left div but I did…
-
3
votes1
answer864
viewsQ: Change the position of text only in html
I would like to do something like a media screen in html, I would like on the phone the button to appear the filters appear below the whistle but not on computer, how can I do this? CELL PHONE:…
-
2
votes0
answers131
viewsQ: Filter points in map [javascript]
Hello I have a select on my site that serves as a filter, and I would like to fade specific points on the map depending on the chosen filter. Is it possible to associate the points made on the map…
-
0
votes0
answers38
viewsQ: link through a <a> to a popup
Hello I wish someone would help me tell me how I can create a <a> and through it lead to a pop-up created on a site other than my own. So far I have this code: <h5 id="denuncia">Caso…
-
0
votes1
answer49
viewsQ: Start the site with the hidden filter
I made a button that hides and shows my select and I wanted to make that if I login to the mobile site started with the hidden selects and only after clicking and that showed them. HTML: <button…
-
-1
votes1
answer50
viewsQ: Enter the site already with the little dolls
Hello I have a small problem that I can’t solve alone, basically when I enter the site appears like this: And I wanted to get on the Site now with these little dolls: The problem is that the dolls…
-
1
votes2
answers48
viewsQ: make images disappear depending on select
Hello I created a filter that basically reads my json and tells the number of victims in all depending on the options selected in the filter. Using this filter, I’d like to remove some dummies that…
-
1
votes2
answers2987
viewsQ: "For Development purposes only" error with google maps
Hello i solved an error with google maps but soon after this error appeared here: Can someone tell me how I can solve this problem and put the normal map? Code: #map { height: 100%; width: 100%; }…
-
1
votes1
answer66
viewsQ: Google Map gave error!
Hello, I am trying to add a map to my site using the API key but it appears like this: I followed the tutorial to avoid cheating me but it appears as a mistake on my page... someone can help me?…
-
0
votes0
answers37
viewsQ: Doubt about google map
Hello, I have a question about the google map and I can’t find an answer on the internet, basically I wanted to use a map with interactive black colors as the google map and I had to do several…
-
0
votes3
answers749
viewsA: Format string for JSON
Hello i am also working with json created a file . json and added to my script in this way: $.getJSON("dados.json", function(json) { //aqui programas o que queres com o ficheiro json }); What’s…
-
0
votes2
answers432
viewsA: How can I create an array in Javascript
Hello If you want to store in different variables you can use this function: var carro1 = "Fiat"; var carro2 = "Ferrari"; var carro3 = "Toyota"; if you want to put everything inside the same…
-
0
votes1
answer187
viewsQ: javascript selects to filter json data
Hello I have 3 selects and I would like them to function more or less like the example below... EXAMPLE: i have different people inside a json file, in select case I select the option "age range 18…
-
1
votes1
answer74
viewsQ: How to create a key for an object
I’m trying to make the data inside the json file be shown in html, I made a first code but it was very repetitive with exaggerated arrays so I tried to do it differently but now no longer present…
-
-2
votes1
answer73
viewsQ: Reduce the number of arrays
I wanted to reduce the number of arrays and tried this way the problem is that I think something is missing because it is not reading the information inside the json. <select id="myselect"…
-
-1
votes1
answer36
viewsQ: How to better filter results
After creating json arrays I am having trouble getting a common result of different id’s. Because when I activate the filter of the last function select , the others selects stop working. <select…
-
1
votes1
answer58
viewsQ: Add values in the array from a JSON that has the value of a variable
I created a variable called arrayFaixaD: var arrayFaixaD = new Array(); and created a for which reads the entire JSON file: for(var i = 0; i < json.length; i++) within that for I put some if:…
-
2
votes1
answer77
viewsQ: How can I create a json decision
How can I create a json decision? Imagine I have two variables and these variables have an age group and I wanted to make IF the first option (age range from 0 to 17) is chosen Angela was shown on…
-
-2
votes1
answer28
viewsQ: error correction
Can anyone help me solve these three mistakes? I’ve already had the solution search on the net but I am told to do so and I do not know why it is giving error.…
-
3
votes2
answers40
viewsQ: Print more than one value with json
How can I show the name, age and city at the same time on the screen and not just the name? document.getElementById("demo").innerHTML = obj.name; makes it show only the name inside that obj but I…