Questions tagged as 'html5'

1
answer

How to create a .click () limiter in JS?

I'm trying to create a calendar in JS. First I made a <table> that will fill the <td> according to the days, leaving all available to click and select a certain day. The user selects a forward day and a return day (c...
asked by 27.07.2018 / 00:01
1
answer

Duplicate div without duplicating JavaScript

I need the following help: I was able to put together two codes that I found on the internet, and edited the formatting to my liking. I have a gallery with images and overflow horizontally, my code works, however I need to repeat the complete...
asked by 14.08.2018 / 23:56
1
answer

Put the result of the function

Hello, I'm looking to display my result from my calculating function but it's not going, could you help me? I'm kind of a layperson in php. error that is giving when I run the site: Notice: Undefined property: Person :: $ calculateImc in C: \...
asked by 07.08.2018 / 00:34
4
answers

Problems with jquery click

I have the following code: <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> $.getJSON('livros.json', function(data) { $.each(data, function(i, item) { console.log(item.na...
asked by 04.07.2018 / 19:02
1
answer

How to adjust image in the container

I have a 1220x780 image and I want to put it in a 341x192 container, how do I make it appear adjusted, centered, in "miniature", I'm using max-width: ; max-height:; width: auto; height: auto; But it does not fit horizontally     
asked by 25.06.2018 / 19:31
3
answers

Align these images and HTML and CSS texts in the "correct"

I have to do my TCC and in one of the pages I have to align an image, an icon and a title one over the other (photo), I can do this but with many codes that I deem unnecessary for something simple because I know you can do with little and in a m...
asked by 11.07.2018 / 04:36
1
answer

How to put image in a thead list

I'm a beginner in programming and I'm building a list using thead and wanted to know how I can put an image inside <th> . My code below: <thead> <tr> <th>#</th> <th>Rád...
asked by 11.06.2018 / 14:47
1
answer

How to make checkbox behave like radio in ng-repeat?

I'm trying to make a checkbox behave like a radio, but I can not see some examples but I do not understand how it works. If anyone can help me. Thank you in advance for your attention! var app = angular.module('plunker', []); app.contro...
asked by 28.06.2018 / 20:31
1
answer

Edit a contract template with jquery

I would like to know if it is possible to add a contract within a textarea and define some fields that can be changed in this contract. For example: I have {{name}} {{address}} I want to allow the user to drag the name (I already have a sa...
asked by 30.05.2018 / 14:09
1
answer

How to add the class "active" according to the page accessed

I have a separate layout in my project, where it is standard for all pages. how to do in the left menu, the active class is activated according to the selected page. I have the html code: <div class="sidebar-sticky"> <ul class...
asked by 27.05.2018 / 22:19