Questions tagged as 'html'

1
answer

How to make the rover physically move through my array and see it in the console

Hi, I do not know how to do to see that my 'x' which is the rover of the game moves through the grid, not only update the coordinates but I want that after some movements, the 'x' change position. I have done rover.pin ++ when standing in the no...
asked by 06.03.2018 / 21:41
1
answer

See if there is an image and put it in a news item

I'm doing a very simple "news load" and when I speak of simple, believe me it's very simple ... I have a table where I load the titles, and a little picture on the left and a summary. It has more to the right a button where the user enters to re...
asked by 05.07.2017 / 17:14
1
answer

play gif once

I want to put a gif which should only be played once and be paused in the last frame. Currently in the html I have this: <div class="img"></div> and in the css I have this: .img{ background-image: url(image/login.gif);...
asked by 29.06.2017 / 15:56
1
answer

HTML link does not open

Because I want eblace to open in the same tab, I have not added any target, since it is assumed that "_self" is the default one. However, only with this code, does not open any link: <!DOCTYPE html> <html> <head> <st...
asked by 04.07.2017 / 09:11
2
answers

Store data in a jquery array

I'm getting data from a table with the following code $("#table_repuestos td").each(function(index) { alert($(this).text()); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> &...
asked by 10.05.2017 / 18:03
2
answers

Submission of html form data

Good morning. I have a form that collects the data that is inserted and sent to a page in php in charge of making the shipment. The whole process is done well, except for the field referring to a select, whose field is not sent, even in white. I...
asked by 09.05.2017 / 11:55
1
answer

Using the directions service with SearchBox Google Maps API?

I'm working on a project with the Google Maps API, I've been guiding myself with this Example that gives the same page of the API " Place Autocomplete and Directions " Try to do mine by guiding me by example, replacing class Aut...
asked by 26.04.2017 / 09:06
2
answers

Problem with loop for

Could someone tell me why my script in a new document in which I only copy the script does work though when I put it in an html document? Thanks in advance. The code is this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//...
asked by 25.04.2017 / 13:55
2
answers

How to retrieve data-bind attribute value in html document

I had the need to obtain some values from the data attribute I have the following: <img data-bind="attr: {src: app.utils.getFavicon('http://gamovideo.com/9tbtyuoti8ae')}" src="http://www.google.com/s2/favicons?domain=gamovideo.com...
asked by 12.04.2017 / 21:54
1
answer

pause / resume button on comecocos js

I was developing the game of the comet in js, based on the guidelines indicated at www.w3schools.com. My problem is that after pressing the pause button ('spacebar') the keyboard driver stops listening and, therefore, there is no way to resum...
asked by 08.05.2017 / 11:30