Posts by Giovanni Dias • 712 points
27 posts
-
0
votes1
answer74
viewsA: Change the cursor bar in an edit field with CSS JS or Jquery
I don’t know if there are other types of customization caret-color input { caret-color: red; } <input type="text"></input>…
-
1
votes3
answers945
viewsA: How to get the biggest word from a string in Javascript?
The logic used below separates the words using the split and saving in an array and a foreach traversing the array and checking the amount of letters at each position of the arrayStr function…
javascriptanswered Giovanni Dias 712 -
0
votes1
answer388
viewsQ: What is the difference between ngOnInit and Constructor
The problem I encountered was the following: Needed to validate a token when the page was started if the token was validated then it would be visible a second Forms if not just the first Forms where…
angularasked Giovanni Dias 712 -
0
votes2
answers234
viewsQ: How to join two arrays at the angle
I have a service me returning an array containing photos and when I "scroll" page it adds +1 on the photo page and I wanted to show the new photos below the current photos getPhotos(page: number) {…
angularasked Giovanni Dias 712 -
1
votes2
answers98
viewsQ: images escaping from the column
I am having problems with a grid of images that in smaller resolutions stay on each other as layers and in larger resolution they stay with a very large space between them. The columns are generated…
-
1
votes1
answer155
viewsA: Back Focus to a field after validation
The problem with your code is in onblur and when clicked it stays "in Blur" and enters a looping just you change to onChange. Use the onblur for validation of a field is very bad and causes a lot of…
-
1
votes1
answer37
viewsQ: How to make Row track Divs height with d-block
I have the following structure of a mosaic .row > div {border:10px solid white} .B {background:blue; height:700px} .G {background:green; height:350px} <link…
-
1
votes1
answer60
viewsQ: Create different z-index grid divisions?
It is possible to create grid division on a different z index ? Let’s say I have a row and a column as follows: <div class="row"> <div col-md-6> </div> <div col-md-6>…
-
0
votes1
answer143
viewsA: How to develop a mouse-following carousel with translate3d
The effect you’re looking for calls Tilt Hover Effect, unfortunately I could not import his library to show a functional case similar to what you are showing in the example. Here you can find more…
-
0
votes1
answer733
viewsA: Select empty without appearing in the list
If you leave a blank option it is empty We can see using the very example of w3schools The directive disabled prevents you from selecting the void and the selected leaves him pre-selected…
-
1
votes1
answer78
viewsA: How to search keywords in a Json
You can use a for to scroll through an array of keywords foreach ($data as $msg) { $titulo = $msg->titulo; $texto = $msg->texto; $termo = ["contato", "sugestão"]; $count = count($termo);…
phpanswered Giovanni Dias 712 -
17
votes4
answers1730
viewsQ: How to maintain a project in 2 repositories?
I have a project and wanted to keep it in Bitbucket/Gitlab and Github at the same time. This is possible? I need them to work simultaneously so that if I want to do one push only in Bitbucket can I.…
gitasked Giovanni Dias 712 -
1
votes0
answers47
viewsQ: What is the difference between page and Component?
There is a difference between the generate page and the generate component? when should I use one and not the other? This changes something regarding Lazyload?
-
0
votes2
answers673
viewsA: With CSS is it possible to fill in the "eyes" of the Font? Is it possible to fill in the "holes" of the letters A, O, P, etc?
What I had thought was exactly what is in the link stack in English that sent you I gave an edited with your lyrics. Something like creating a layer underneath the letter and just cover the hole h1…
-
4
votes2
answers330
viewsA: How to use the style tag in part of a text?
You can use the tag <span></span> <p style="color:red;">Esse texto é vermelho e <span style="color:blue;">esse texto é azul</span> mas esse outro continua…
-
3
votes1
answer1734
viewsA: How to insert <script> in angular? Simple HTML works!
Since you are using an external library at the angle you should add it at angular-cli.json "scripts": [ //caminho do seu JS "../assets/scripts/canvasjs.min" ], Or you can use the npm install…
-
10
votes2
answers169
viewsQ: When should I worry about UX?
I have recently seen some posts about what UX is (User Experience) and this part seems to me to be understandable about "what is?" However, I wanted to know when I should worry about UX. I am a web…
uxasked Giovanni Dias 712 -
0
votes1
answer324
viewsA: Tooltip does not disappear when the button is clicked
I had a similar problem, it happens because there is a Trigger set Hover. Put this in the code I believe will solve $('[data-toggle="tooltip"]').tooltip({ trigger : 'hover' })…
-
0
votes1
answer85
viewsA: Error in Ionic 3
install the https://gradle.org/install/ on the C path: Gradle just extract the zip in that folder. Then edit the GRADLE_HOME for C:\Gradle\gradle-4.0.1 And the PATH for C:\Gradle\gradle-4.0.1\bin…
-
0
votes2
answers193
viewsA: Change title by icon
for icons use tag <ion-icon></ion-icon> and for image use <ion-img width="80" height="80" src="..."></ion-img> remove {{tab}} and add the icon tag <ion-segment…
-
0
votes2
answers152
viewsA: What is the reason for the error since Jquery is being imported
in angular-cli.json should also be imported "scripts": [ "../node_modules/jquery/dist/jquery.js", "../node_modules/bootstrap/dist/js/bootstrap.js",…
-
0
votes1
answer98
viewsQ: How to pass items from an [Object Object] to the parent json
Hello the server is returning me the following json this.itens = { id: '', data: '', hora: '', cliente:{ nome: '', cpf: '' } } i need the customer data not to stay in a second json but in an ex…
-
3
votes1
answer83
viewsQ: Div leaving the right side of the page in animation
I have a div that is a mobile phone and when I go down the page performs the animation but before performing the animation this div ta getting off the page breaking all the layuout my div <div…
-
0
votes1
answer46
viewsA: How do I release my ' + ' button only when selecting an item from the list?
Instead of click use: <select class="custom-select" (change)="onChange($event.target.value)"> <option *ngFor="let item of itemSelecionado">{{ item }}</option> </select> in ts…
-
0
votes2
answers85
viewsA: Why is the H1 tag not generating a new line?
I believe you want to take up all the space since the bootstrap divides into 12 columns for a column to go down as if it were a row (Row) the column should take up 12 spaces { "tag": { "name":…
-
0
votes1
answer1327
viewsQ: Format monetary value with Angularjs
I’m getting the following values <h3 id="valor">Valor Mensalidade: R${{curso_se.preco_curso}}</h3> <h1…
-
0
votes1
answer169
viewsQ: Sort by day of the week and time
I want to sort by the day of the week and time the data are coming as follows: id, dia_hora 1 SEG-10h 2 QUI-11h 3 SEX-09h query that works when you receive only the acronyms with no time: SELECT…
sqlasked Giovanni Dias 712