Questions tagged as 'html5'

1
answer

Drag n Drop pure Javascript

I'm trying to make a pure Drag'n Drop with Javascript: Example Two errors if I can not solve: 1 - When dragging List 2 it always places the element under the mouse and not above. 2 - When I try to get the element through Class...
asked by 25.11.2016 / 18:26
1
answer

How to transform the text of a div into rows with p

Suppose you have a div , and you have huge text in it, and you would like each line to be transformed into <p> . How would it work? What I really want is, at the beginning of each line of the div that has >...
asked by 01.02.2016 / 18:00
1
answer

Clear field after X time

I have the form below, which after 2 minutes it updates the entire page: Withthecommandbelow:<metaHTTP-EQUIV="refresh" CONTENT="120;URL=http://pcn-sig.peccin.local/cracha"> And with this it resets the form on each access: <body...
asked by 27.01.2016 / 17:06
1
answer

SVG does not resize

I do not have much experience with SVG, and I find it very confusing how to work with these images, I need to leave this image with the size 35x35 px. I've exported the code in the illustrator of a SVG image of 512x512px, I want to work with...
asked by 25.07.2015 / 00:56
1
answer

Bootstrap - Trying to centralize a nav (not navbar)

I'm having a problem trying to centralize a nav on a grid. The fiddle is here , and I wanted it, when the space was over and the "cells" stacked, the nav would be centered as neither the wordpress paragraph. I did not find any reference o...
asked by 31.08.2015 / 01:54
1
answer

video tag controlling by javascript

How do I, when I click on the video, it starts loading, because I can not if someone can help thanks. Here is the video snippet: <div class="video"> <video class="video" loop controls tabindex="0"> <source src="video...
asked by 24.08.2015 / 20:57
2
answers

Website, mobile version

I have a website developed in flash that does not have a mobile version, I have developed a mobile version in html5, I wanted every time index.html was loaded on a mobile device, Thank you PL     
asked by 14.09.2015 / 19:23
1
answer

How to put a background image?

I'm trying to put a background image but I can not. Can someone help me? * { box-sizing: border-box; margin: 0; padding: 0; } body, html { width: 100%; } body { background-image: url("img/pizza.jpg"); backgrou...
asked by 10.07.2015 / 00:47
1
answer

Best method to discover the state

I need to find out the status that the user is accessing the page, for the select already marked, and some functions enabled. I was seeing that discovering the state from IP is well flawed. I've seen how to use Geolocation in HTML5, but it on...
asked by 29.12.2015 / 18:52
3
answers

Running my AngularJS application on some server

I have a front end application consuming an api rails, but I'm new to this idea of separating the front end from the back end, my api runs on localhost: 3000, and my front is simply a folder that I go there manually and open my html page, I want...
asked by 25.09.2015 / 14:02