Questions tagged as 'html'

1
answer

Displaying date in date field

I'm trying to display the date of the day in the date field: <input type="date" name="dia" />. Being the date I picked up via JS: var Hoje = new Date(); var data; Hoje.getDate(); Hoje.getDay(); Hoje.getMonth(); dia = Hoje.get...
asked by 24.01.2015 / 03:03
1
answer

Change CSS with session and misaligned divs

In general, how to change the CSS property of some tag depending on the user's access to the system? Below is the image of the header (draft) before the user accesses the system: Andbelowthesameheader,butwiththedivsofthemisalignedbuttons(d...
asked by 27.05.2015 / 04:58
1
answer

CSS Toggle Switch with select

I need to transition this script to use with <select> . Well, the script that works is like this      link My selections (over 88) are ONLY in this style: <select> <option value="0">Off</option> <option...
asked by 09.12.2014 / 23:43
1
answer

Make large-scale textContent exchanges with Javascript

I have a page where I want each event to be exchanged with textContent , <h1> , <p> and <img> . I thought of php or Json includes. I do not know. (It's a lot of content, so I thought of Json)     
asked by 13.12.2014 / 03:53
3
answers

Position image to the right and top

With this code, I can keep the image on the right: <a class="navbar-brand navbar-right"><img src="~/Images/ache.jpg" /></a> But this image is inside a menu bar. I have an image and have redeemed it so that it has the same...
asked by 22.08.2014 / 13:55
2
answers

Can I have different transitions in the same tag?

Hello everyone, would you like to know if I can have more than one transition in the same tag? Why implement the transitions for properties but it does not work? * Or this is because I have not set the property values before. .trans { back...
asked by 12.08.2014 / 22:25
1
answer

Is it possible to create HTML frames?

I'm in a project where the front-end layer is totally, TOTALLY separate from the banck-end. They communicate via ajax via REST. And in this project, I'd like to break the html so I do not get duplicate content. Just as we do in ASP.NET (maste...
asked by 01.07.2014 / 20:23
1
answer

Delphi: How to get information and manipulate Html in a TStringList?

Working with TWebBrowser you can interact with elements easily, get fields, set values. Example: webBrowser.OleObject.Document.GetElementByID('name').setAttribute('attribute', 'value'); My question may be unrealistic, but does any...
asked by 08.08.2014 / 01:47
1
answer

Put active link with javascript?

I have a code in javascript, visible in this link link I'm trying to put the first 3 active links simultaneously, if someone clicks on "About MHG" or "Workout Programs" or "Fitness Tips", that is, click on 1 of the 3, both are active. > T...
asked by 05.08.2014 / 11:37
2
answers

Problem in the jQuery of a MENU with two ul 's

I'm having a problem with a Menu. It happens that when the person hovers the mouse in the Service link, a dropdown happens, the menu appears, since it is with display:none and when it passes the mouse it gets display:block...
asked by 09.08.2014 / 22:01