Questions tagged as 'html5'

1
answer

How can I know the width of the screen where the web page is opening?

I am doing some initial tests already in the production state. All the pages of the project load the following at the beginning: <style> body { padding-left: 30px; padding-right: 30px; } </style> I was testing a mobi...
asked by 13.08.2017 / 23:49
1
answer

Bootstrap manners are not shown on my div that loads all my content with ajax

I have an index with a navigation made with AJAX and thus load all the other pages within the div that has the index.php, so that the browser does not recharge. My problem is when in that div I want to load a CRUD that uses the...
asked by 27.07.2017 / 22:49
0
answers

How to execute a php code when a web page is opened

How can I make an .php file when I open my web.html page, I leave the php file that I am occupying: <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title>Notificaciones web</titl...
asked by 15.07.2017 / 03:28
1
answer

Apply Drag to a child element without the parent moving (both have the draggable property)

I'm using the HTML5 drag and drop API. It turns out that I have a series of divs to which I apply the drag and drop. And it works well !. Now, each of these divs has other daughters divs to which I also have to apply the drag and drop, but when...
asked by 17.07.2017 / 17:23
0
answers

Link with twig in symfony 2

I have the following problem, I want to use a template for my appweb but I have the following query: <li><a href="javascript:void(0)" class="waves-effect"><i class="fa fa-renren"></i> <span class="hide-menu">Ayl...
asked by 25.07.2017 / 17:44
1
answer

hasClass to removeClass after addClass

I'm trying to create a function which looks for if there is a class in a body which contains the id="skin" so that when you want to change the theme of the whole page, this function does all the work without needing to change each class of all b...
asked by 26.07.2017 / 18:06
2
answers

Reset Form with jquery, empty input error Select2 delete the list

I am using the following code: $('#formarea')[0].reset(); This allows me to reset a form but in some cases it does not do it with the data that has been written with ajax or elements added with ajax. I also empty the display none fields,...
asked by 11.07.2017 / 17:14
0
answers

Confused with menues system

I tell you that I am a bit confused about a menu system that I am implementing in my web application. The subject is like this: 1) I have an index page that includes a header and a basic menu that points to several pages (put the names A, B a...
asked by 29.06.2017 / 15:22
1
answer

D3.js not graphic

I have been working with D3.js and I am learning about it .., I made some simple graphs from the same HTML5 document successfully, the problem comes when I want to take all the jasvacript code to a javascript file and try to instantiate the crea...
asked by 29.06.2017 / 01:52
1
answer

how can I have multiple apps in Angular 4 with angularfire2

The documentation says this: @NgModule({ imports: [ BrowserModule, AngularFireModule.initializeApp(environment.firebase, '**my-app-name'**) ], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModul...
asked by 27.06.2017 / 01:28