Questions tagged as 'div'

3
answers

set div size according to svg in js

Good afternoon. Sorry for the beginner doubt, but I wonder if it's possible to use the onresize javascript event to resize a div / container. I'm using this code: var resizeTimer; window.onresize = function (event) { cle...
asked by 28.08.2018 / 15:37
1
answer

Load specific content from a div that is in another html file with jQuery

Save list! I need a help here, I have a ".html" file where I mount a list that is configured like this: <!-- ... --> <header> function Open(id) { console.log(id); var x = $("#div"+id); $.get("descrs/grea...
asked by 17.08.2018 / 00:37
2
answers

HTML Redirect

Hello, I'm creating a calendar for my animes site and would like to redirect every <div> to a certain place. In case I made a page like this: Iwouldlikeeveryonetotakeyoutoaspecificpage.(Doubtalreadyclarified..) body { margin...
asked by 12.07.2018 / 17:30
9
answers

How to hide / show a div in HTML?

How do I make a JavaScript that show / hide an HTML div? I tried type: function Mudarestado(divid) { var disp = document.getElementById(divid).style.display; disp = "none; // (ou disp = "block") } But that did not work.     
asked by 27.06.2014 / 20:33
0
answers

How do I make a face book plugin responsive?

This is the following, I have a facebook plugin that is inside a DIV which in turn is the body of the page, This DIV has margins so when reducing the size of the window the plugin goes out of the DIV. I need to reduce the size of the window by r...
asked by 09.07.2018 / 16:57
0
answers

Dropdown menu that loads one div and hides the other

I need to create in HTML 5 a dropdown menu where you will have 6 options, this menu will work as a filter. This filter would be, for example, a dropdown menu where the person selects the "category" and below the data is loaded, the contact in...
asked by 03.09.2018 / 21:44
0
answers

Dropdown menu does not overlap background div

The problem is as follows, I have a header with a background, I have a menu bar in that header, this menu bar has a dropdown item, but when I hit the dropdown it appears underneath but is cut off when the background arrives end, not appearing at...
asked by 28.05.2018 / 19:50
0
answers

Problems at checkout paypal

Good evening guys. I am having trouble finishing the checkout of the native paypal of ionic 3. I am able to make the payment through the sandbox with the provided client_id, but when I change to the production environment the scenario changes fr...
asked by 17.05.2018 / 00:56
0
answers

DIV small, but when using the mouse scroll over the div, all text is displayed

Hello, could anyone help me? I have a problem with the divs in my work. I am not able to do a scroll that in case it is not visible that bar, but when hovering the mouse over and using the scroll all the text is presented. and also with an im...
asked by 26.04.2018 / 20:05
0
answers

Calculate a route by Google Map and multiply the distance by a value in Reais

A colleague posted this code and reused it on my site but would like to do a multiplication with the distance between the two points, for example the distance gave 1000 km I want to multiply this distance by 2 = $ 2000.00 ... Anyone can help me....
asked by 21.04.2018 / 23:24