Questions tagged as 'html'

1
answer

include with html file

Galera I put a file called php.php as follows: <?php $nome = "nome"; $idade = "25"; $peso = "78"; include "layout.html"; This file includes the layout.html file, which looks like this: <table align="center" border="1"> <tr&g...
asked by 09.05.2016 / 19:41
1
answer

Check start and end date and insert text between them!

Good morning, I have a "ready" code where the user must register an event that will later be shown in a calendar, well the first part is ready and the second is giving me problems, I would like to do a check of the start date and end date and en...
asked by 16.06.2016 / 14:53
1
answer

Several "Divs" within a foreach

I want an "imdb" star ranking system, but the element only appears once inside the cycle. Script: <script> $(document).ready(function () { $(function () { $("#rateYo").rateYo({ onChange: functi...
asked by 12.05.2016 / 17:12
1
answer

How to center an image using bootstrap on NavBar bootstrap?

I have a big doubt on the bootstrap, I created a Navbar using the default bootstrap classes .... the problem is that I can not centralize a logo in the center of the navbar, it works only from left to right. of a solution that is standard bootst...
asked by 17.06.2016 / 06:37
2
answers

DIV with height: auto; not adjusted according to the height of the internal DIV

I have a DIV with height: auto; that does not adjust the height according to an internal div with height: 120px; See CSS .conteudo-modelo-3-0 { width:960px; height:auto; margin: 0 auto; } .conteudo-modelo-3-1{ position:relative; w...
asked by 05.02.2016 / 11:11
1
answer

Hide menu by clicking outside and leaving in js

How to hide ul by clicking off the menu or hovering the mouse off the menu? I tried but I did not succeed. function aperfil(opthard){ if(document.getElementById(opthard).style.display== "none"){ document.getElementById(opthard).styl...
asked by 05.02.2016 / 14:55
1
answer

Pass text from a textbox via onclick parameter

I need to pass as parameter the content that is in textbox , in onclick of a button. How can I do this? This is the Html code: <div id="popup"> <table width="300" height="160"> <tr> <td colspan...
asked by 04.02.2016 / 17:59
1
answer

Showing and hiding input

I have a button, when I click on it I want a field of type input , in that field, when I add some text I want it to go to the database, with a ALTER table . How do input appear and how do I get rid of it?     
asked by 30.03.2016 / 23:44
1
answer

zoom button in / out of a div

Somehow know with jquery and / or css to simulate the zoom in / out effect of a div. The div does not necessarily have an image. Without the div boost / dimuir, simulate this effect for the elements that are contained in it? Basically increase a...
asked by 30.03.2016 / 20:44
1
answer

Pop-up with video for site

I have a normal website and I need it when I enter it to have a pop up with a youtube video. A normal pop up with a close button. It can be done in html / css or with javascript or jquery     
asked by 01.02.2016 / 14:06