Questions tagged as 'html'

2
answers

check user type for php access

I'm trying to create an admin panel. Ba table of the bank already created the field type, where if it is 1 is normal user and 2 administrator. What is the best method to find the type of user in the bank? Follow the code that I have already d...
asked by 27.08.2017 / 18:22
1
answer

Overflow in menu off canvas?

I'm doing a off canvas menu, actually it's always on the screen, and when I click the button, what moves is my main , the problem being overflow, when I open the menu it should not let me give scroll , but rather close the men...
asked by 06.06.2017 / 02:46
1
answer

What is the best way to submit action (form) or jquery submit data?

Is there any standard for submitting form data today? Use jquery and delete the action (form) or validate with jquery and send the data using action (form).     
asked by 20.04.2017 / 15:48
2
answers

Problems trying to save data coming from form

I can not get the HTML page to enter the name and save. Could someone explain what is happening? @Entity public class Livro { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String nome; @Many...
asked by 29.04.2017 / 15:30
1
answer

Video tag inside Slick

I'm having a problem in my project, I installed the slick carousel, I put the images and it worked, however, I added a tag containing the path of the video and the video does not work, just a black screen appears. Follow the code: <body...
asked by 30.08.2017 / 15:44
2
answers

Read JSON and show in html using angularJS

I'm trying to read data from a Json file in html using AngularJS, but I'm not getting it. Here is part of the index.html code: <div ng-app="app"> <div class="page-header" id="principal" ng-controller="HomeCtrl">...
asked by 29.08.2017 / 16:56
1
answer

Conditional on has_post_thumbnail

Well I'm setting up a theme that some posts will be displayed a thumb and some not, but I need to put a conditional on the code that when it has thumb pull the config of thumb and when it does not have a simple post. However the current way it i...
asked by 01.08.2017 / 21:29
1
answer

Prohibit the insertion of repeated data

I need to type a text in an input on the form, it validates there even if this record already exists, that shows the result to the user and that does not allow to send the form without changing what is repeated. form and js: <form role="f...
asked by 12.04.2017 / 17:49
1
answer

How to position divs in Tumblr style [duplicate]

How can I position the divs in this way? Remembering that it does not position in vertical line, always in horizontal it will type fitting.     
asked by 06.04.2017 / 22:51
1
answer

Search in the bank from option [closed]

I need that when selecting an option in a option , a search in the database without leaving the page and showing what was returned through this search and filling fields with the results. I already have the layout mounted and the script for the...
asked by 12.04.2017 / 21:09