Posts by Macedo_Montalvão • 159 points
29 posts
-
0
votes0
answers27
viewsQ: ES6 package only works on first load - webpack
I built a package based on CSS3 / CSS4, HTML5 and its Apis, the package contains 101 files and uses promises to differentiate the files and measure its priority, at the end of a promise, you may or…
-
-3
votes6
answers3314
viewsA: Get the local time in javascript with zeros?
Rogerio is on the right track, but it’s not the way I’d do it, I prefer it this way: function format(s) { return (s < 10) ? '0' + s : s; } function newData(){ var date = new Date(); return…
-
-2
votes5
answers27254
viewsA: Clear browser caching with Javascript
Applications Static or cached unchanging according to the RFC8246 specification: Add the code below at the beginning of the tag "<head>" <meta name="Cache-Control" content="no-cache">…
-
0
votes1
answer39
viewsA: Link appears outside the image on the html page
This doesn’t make sense, probably you manipulated the image with css to align it, this must have created a square or rectangle around it, do so: <a href="https://www.microsoft.com/pt-br/windows/"…
-
0
votes5
answers19859
viewsA: Is it possible to include a Javascript file within another Javascript file?
It is perfectly possible, create a file 'list.js' and do so: import('assets/exemple.min.js') import('assets/exemple2.min.js') import('assets/exemple3.min.js') import('assets/exemple4.min.js')…
javascriptanswered Macedo_Montalvão 159 -
0
votes2
answers235
viewsA: Header and Footer on all pages (static site)
And it has to be you? you don’t say exactly why, but alternatively, you can do it with php and decent hosting or not at all, should offer you a server with php support, just create a file with…
-
1
votes2
answers53
viewsA: Doubt about logica php
In the words of the mozila Note : If a checkbox is unchecked when your form is sent, there will be no value sent to the server to represent its unchecked state (for example value=unchecked); the…
-
0
votes2
answers95
viewsA: Slider stands over the submenu
You should use the z-index property of css, but I can’t show you what would be the best way to do this, because with this code ai, you can’t know what you’re using. The appropriate percentage may…
-
0
votes2
answers20
viewsA: View values submit to controller with post
You should at least say which software we are dealing with or if it is pure even, but the problem there is that Onclick prevents sending the form directly, if you want to do this client-side check,…
-
0
votes1
answer134
viewsA: I put an image on my bootstrap link, and the image does not load at all... Does anyone know what’s going on?
Lazy loading is a commonly used software design standard in programming languages, to postpone the initialization of an object to the extent that it is necessary. This can contribute to the…
-
0
votes5
answers9469
viewsA: Hide HTML code
Forget the pessimist or cautions who say it is not possible, it is perfectly possible and feasible! I do so, I believe it is the most practical and semantic way, just you put this in your…
-
0
votes1
answer98
viewsA: Load data from the related table (Laravel) - What is the best way?
Okay, you didn’t post any code, you can’t tell if it’s right or wrong, or what takes a route to have so many props just to recover an id, but you’ll need to do a new migration or if you want, do it…
-
0
votes2
answers354
viewsA: Error mimetype application/octet-stream in jpeg image with Laravel
see: https://king.host/wiki/artigo/mimetypes/ Configure mimetypes on Linux server If your hosting environment is Linux Apache, please use the . htaccess file to add file extensions to your website.…
-
0
votes1
answer36
viewsQ: How do I prevent an element from viewing in Microsoft Edge and Internet Explorer?
microsoft browser breaks my site, that’s why it’s Windows/bootstrap, imagine if it wasn’t, I have nothing against microsoft, I just need to cover the site in black and display the message not…
-
-3
votes1
answer44
viewsQ: mandatory use of a word in an html form
I have an input where the user writes a title, I need this title to have added (blog) to its end. example: my title (blog) or your blog title if it does not, I need to add this automatically or…
-
0
votes2
answers298
viewsA: Show/Hide Divs using functions - Javascrip and Asp.Net Core MVC
I had done something similar days ago to a client, where the Divs are hidden and on onclick active the corresponding div by id, when I did I also broke a little head to find something to do that, if…
-
0
votes2
answers394
viewsA: Change image size and box with %, not working
I understood what you were trying to do, even though the question got confused, I could have just said I needed to put an effect while passing the mouse. Anyway, you didn’t have to do it like this,…
-
3
votes3
answers1204
viewsA: Image in src goes to background-image and does not resize
this alone is not possible, unless you are using a javascript code to make this conversion, surely there is on your site a code similar to this: about date:url:…
-
-1
votes1
answer1043
viewsA: Encoding / Accents / Punctuation / R Markdown Symbols have gone
is simpler than that, if you put the keyboard on: en ou en-us it will not let you use the accent, and some keys will fail to work, do the following way: Home menu >> settings >> time and…
-
1
votes2
answers3176
viewsA: WEB project organization standard (HTML, CSS, PHP)
Some like to impose a standard, the more you don’t need to follow them, the less you should believe in the phrase "don’t re-invent the wheel". The advantage of following the standard is that you…
-
1
votes2
answers1929
viewsA: How to put active class in navbar
no, it’s wrong that there, you left the home and went to another page that nothing has to be, you’re using html, it will not know where you clicked on the previous page. you will not trigger…
-
0
votes2
answers330
viewsA: Is it possible to have an app with multiple apps inside?
yes, you can develop several applications, when you say "applications within other applications", I understand that alluding to an application center, in web development, we create packages, these…
-
0
votes2
answers245
viewsA: What’s the benefit of signing a commit with a GPG key?
When you sign a commit with gpg, github puts a verified status, meaning users will know it’s an official version, plus it’s compatible with RFC 4880, the IETF standard. using GPG (GNU Privacy Guard…
gitanswered Macedo_Montalvão 159 -
3
votes2
answers73
viewsA: Problem with HREF import
change <link href="Componentes/CSS/O Começo.css" rel="stylesheet"> for <link href="Componentes/CSS/ocomeco.css" rel="stylesheet">, change the file name to ocomeco.css, also change any…
-
1
votes1
answer107
viewsA: Is it worth using Bootstrap with Angular 8?
not necessarily need jquery, besides, jquery is a gigantic "library", the correct is to separate only what you will use. although calling jquery "library", the initial idea for it was to be a…
-
1
votes4
answers3804
viewsA: How to align image of Carousel Bootstrap?
<html> <head> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"…
-
0
votes2
answers86
viewsA: Nav-tabs is not visible in mobile
There is a little mistake there, see the example below, there is code missing, put the content inside the: '' <html> <head> <link rel="stylesheet"…
-
0
votes2
answers1047
viewsA: Problem with Hover in p button/ change background color
more than using javascript? it’s simple to see: .mouse:hover{background-image: linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet); border-color:#16B83E !important;…
-
0
votes2
answers129
viewsA: I can’t call CSS
more like you’re calling the css? the code is on the page or is calling a css file? it was more practical to call in the head @Styles.Render("~/Content/css") or <style> </style> seeing…