Posts by Ricardo • 740 points
33 posts
-
1
votes1
answer144
viewsA: Making a smooth transition
The first alternative that came to mind was to use the property animation of CSS. You will apply an animation to the class .navbar-fixed-top so that it gently appears. Probably this class is…
-
0
votes3
answers463
viewsA: Change external iframe color or set opacity to iframe
I believe you edit the CSS of the content of <iframe> cannot, since it is external. Already to manipulate the element opacity, use this: iframe { opacity: .3; } iframe:hover { opacity: 1; }…
-
0
votes1
answer51
viewsA: For for field creation
I tried to create an example for you of how it can be done. I used jQuery, all right? In HTML I made it very simple: <input type="number" id="quantidade" value="0" /> <div id="campos">…
-
0
votes4
answers901
viewsA: Table element with several lines but different number of cells, how to center?(HTML)
Maybe with <table> it is not possible to do this. Try to use flexbox. Example: .caixa { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-around; } .item { width:…
-
2
votes2
answers691
viewsA: Problems capturing input when opening modal
You used the wrong event. According to the Bootstrap documentation for modal, the correct event for when the modal is fully open is the shown.bs.modal. The event show.bs.modal is triggered when the…
-
0
votes1
answer1395
viewsQ: Join data from two worksheets in Excel
I have two spreadsheets in Excel. In the first I have the following data, for example: ID | NOME -----|---------- 100 | Luiz 101 | Pedro 102 | Aline On the second spreadsheet, I have: ID | CATEGORIA…
-
1
votes2
answers1121
viewsA: Why in the textarea with height defined the text is not centered vertically?
I tried to do using jQuery. I put the <textarea> within a <div>, positioning with absolute and carrying out the calculation of the top for jQuery. It also makes the automatic adjustment…
-
3
votes2
answers1263
viewsQ: How to customize the side edges of a DIV?
I have a <div> whose edge has a different customization than the pattern. It is not totally solid, it has "open spaces" at the top and bottom. Example drawn: The central content varies, so the…
-
3
votes1
answer122
viewsA: Why is it not recommended to use the asterisk in css "reset" operations?
Using " * " you are selecting ALL the elements of HTML, which doesn’t make much sense. An example: the tag <p> by nature already comes with a margin-top and a margin-bottom setados, if you…
-
2
votes2
answers257
viewsA: Extra margin appearing on elements with display input-block. How to resolve?
He places these spaces to separate the elements that "are on the same line", such as the spaces that we put between a word and another. It’s "standard" that. To solve you can: 1) Negativate the…
-
1
votes2
answers524
viewsA: Disable Scroll with open menu
I don’t quite get it, but maybe this will do the trick: You can add an event scroll by jQuery. When the person scrolls the page he checks if the menu is open. If it is open, he forces the scrollTop…
-
3
votes1
answer5204
viewsQ: How to remove alert from "Uncaught Rangeerror: Maximum call stack size exceeded"
I have a file .js on my website where I put some effects and everything else. The problem is that you are charging an alert "Uncaught Rangeerror: Maximum call stack size exceeded" and I don’t know…
-
5
votes1
answer202
viewsQ: Interference of effects Hover
I’m facing a strange problem. I have some links to social networks with a border-radius and with the effect of hover edge rotation, as in the image below: When I give hover on these social media…
-
1
votes0
answers103
views -
0
votes2
answers1005
viewsA: Google Maps Iframe is not showing the location marking
I managed to find the solution, very stupid and simple by the way. I just redid the address that was linking the iframe for: https://maps.google.com/maps?q=COORDENADA&output=embed&dg=oo…
-
1
votes2
answers1005
viewsQ: Google Maps Iframe is not showing the location marking
There’s a part on my site where there’s a select with several places in Brazil. When selecting a place, just below has a iframe with Googlemaps that automatically updates to the coordinate…
-
5
votes2
answers2907
views -
4
votes1
answer41
viewsQ: Index value not being recognized correctly
I have the following code jQuery: $('.dock-a').hide(); $('.dock').each(function(){ var DOCK = $(this); DOCK.click(function(){ var DOCK_largura = $(window).width(), DOCK_index = $(this).index(),…
-
2
votes1
answer483
viewsQ: Background with mosaic of photos
I need to create a background for my site in the style mosaico photo. When the page opens, the bottom of the site is filled with photos, filling the full width of the window (ie need to be…
-
6
votes1
answer1438
views -
2
votes1
answer252
viewsQ: Return element values without a certain class
I have a list of images, and I need to return a value of these images to then assign some commands. The problem is that in some <li> there will be a class called off and needs to be…
-
3
votes1
answer1042
viewsA: Change background according to image
I got. I added data-color="COR" as <img> of my slideshow and then modified the jQuery to perform the color reading function and add it to the background of the div. Example of how it turned…
-
3
votes1
answer1042
viewsQ: Change background according to image
I’m needing to create an effect on my slideshow that for each image, the background of div color change according to the predominant color of the same. I searched the internet for a plugin that does…
-
2
votes2
answers675
viewsQ: How to cancel event click on site
I use a plugin jQuery which generates a hidden side menu and when clicking the button, the menu appears, shifting the content of the site to the side. The problem is that the site elements remain…
-
0
votes1
answer84
viewsQ: Tab system does not work on mobile
I am creating a mobile site and in a certain part there is a system of tabs. The system is pure css that I found on the internet... The problem is that when the site is viewed by mobile, the tabs do…
-
0
votes4
answers12028
views -
1
votes4
answers12028
views -
4
votes3
answers688
views -
2
votes2
answers841
viewsQ: Problem with jQuery open/close Divs
I have a jQuery that I made to open and close a div by clicking on the corresponding question. The problem is that only the first div is opening closing, even though I click on the 3rd or 5th…
-
0
votes3
answers843
views -
4
votes3
answers843
views -
1
votes4
answers685
viewsA: Effect with jQuery locking without reason
I tidied up!! It was silly, but I decided to set the div height by jQuery himself and take the one from css. It worked!! It’s not giving height conflict.. : D…
-
3
votes4
answers685
viewsQ: Effect with jQuery locking without reason
I am using the following jQuery command: var timer1; SemConflito("#lp-1").on('mouseover', function(){ clearTimeout(timer1); timer1 = setTimeout(function(){…