Questions tagged as 'div'

3
answers

You want to reference a DIV with the prettyPhoyo plugin

I want the prettyPhoto plugin to be invoked by clicking the div class = 'image'. But I do require that it be by clicking on the div in which I have the image as shown below. Someone help me please. I share the code. <link rel="stylesheet...
asked by 02.08.2018 / 23:58
2
answers

How can I effectively move divs with half queries?

Eh been trying to put two divs that are always the same size one winged another by row but when it is smaller the screen that is placed one below another. There must be a better way but I can not do it effectively I'm imagining something like...
asked by 19.07.2018 / 17:28
1
answer

Return text to the original with Jquery

I am trying to make a site in which through a simple click the client can change the language of some texts. $(document).ready(function(){ $("#miboton").click(function(){ $("#micapa").html("Nuevo texto para cambiar");...
asked by 02.04.2018 / 05:36
1
answer

Get views as objects with jquery in cakephp

I have the following divs: <div id="divNeeds" class="row" > <div class="col-md-6"> <h1 id="h1NeedsTitle" class="lang" key="h1NeedsTitle">Descubrir necesidades</h1> <h4 class="lang" key...
asked by 12.04.2018 / 22:56
2
answers

Enlarge div according to content with css

It turns out that I have a section where I'm putting a kind of image gallery. The parent container of all has a height of 600px, and inside has two other containers that contain the images, the problem is that as you increase the images, obvious...
asked by 13.03.2018 / 23:40
1
answer

Div does not imbibe css

I have a problem with this code. Surely it's something very simple that I'm skipping, but I'm already looking for a lot and I can not find the answer. Div2 and section are not respecting the parameters that I give them, I believe that the root o...
asked by 13.11.2017 / 17:06
0
answers

I get a second scroll in my html document, hide it [closed]

How to hide a scroll in html with css, when working on a page with containers, in the body of the document I get a second scroll to what is this? or how can I hide it or delete it?     
asked by 30.09.2017 / 20:16
1
answer

Does not load image in div - Javascript

I have to perform the following operation: I have a form in which I fill in all the data and when I press the "Save" button the user's name must be loaded in a so-called "list". Well, this is done correctly. The problem comes when I want t...
asked by 08.06.2017 / 12:50
2
answers

Can I use an AngularJs keypress inside a div and not an input?

Good morning, I'm starting to make a game that is a 100x100 board on the screen, I want to be able to recognize when the keyboard dates are pressed so that the player moves along the board, I'm using AngularJS, for that there is the ng direct...
asked by 17.04.2017 / 18:28
3
answers

Hide and show div with jquery and CakePHP

When trying to show a div: <div class="modalHome"> HOLA MUNDO </div>' $(".modificar-foto-perfil").on("click", function() { $('.modalHome').show(); }); <i id="modificar-foto-pe...
asked by 19.12.2018 / 15:01