I'm trying to disable horizontal scroll on a website; but without affecting the vertical.
I have a script that works like a slider by sliding the "body" of the page to the left and revealing more content. However, this creates an extra empty...
I need to create elements in a way that is not very confusing and easy to maintain to make a change.
Currently I do it with this code with .append() and .html() :
$('.Selector').append(
'<div class="dropdown">'+
'&l...
I have a question, I currently have an HTML table, but I would like to add rows dynamically, I'm trying to do it in the DOM way, but I can not get it, my table looks like this:
<table border="1" id="tablaprueba">
<thea...
I want to make an effect like the one in this Wordpress theme:
link
In the section where there is as a gallery of images and says things like "on the mountains", "take a flight", "a night to remember", etc. when you hover with the mouse...
I have the following CSS where I have the classes to add the rotation effect on an element:
.animal{
width:200px;
height:200px;
margin:25px;
float:left;
background-size: contain;
}
.rota{
transform: rotate(360deg);...
I'm trying to see what would be the best option when dealing with events created by DOM that are not created when loading the JS.
Let's say that I have an AJAX request in which your return created elements with DOM.
setTimeout(Crear_d...
I was writing a plugin for firefox in which I generate an html with the page in which the plugin acts and I want to show my html generated in another new page, what I have tried has a form quite similar to the following:
function crearHTML(){...
I need help, I do not know how to get this out
If you click on a region you should appear next to the capital in red and below in different sub-lines all the populations ordered alphabetically (which you will ALWAYS get from the JSON)
• Coma...
I put you in situation.
I have a form with id="miformulario" in which there are 2 buttons ( btnEnviar , to send the form and show in a box / div certain elements of the form, and btnEliminar , to eliminate the box /...
this is my code:
public class agregar extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
try {
String nombre= request.getParameter(...