Questions tagged as 'html5'

1
answer

Magnific-Popup with Bootstrap Modal image display problem

I'm facing the problem of displaying image within bootstrap modal. I use this plugin: Magnific-Popup Follow the code: HTML: <!-- Button trigger modal --> <button type="button" id="mymodal" class="btn btn-primary btn-lg" d...
asked by 21.02.2017 / 01:26
1
answer

Render pages within _Layout.cshtml of other types. Asp.Net MVC 4

I'm basically developing a kind of social network, however I'm having some problems rendering pages within my _Layout.cshtml page. Html <ul class="dropdown-menu"> <li class="header">Você tem @pUser.RequestsToAccept.Co...
asked by 21.05.2014 / 22:11
1
answer

Remove the arrows in the field type number

Colleagues. I'm using the code below for when the user accesses the smartphone, the numbers keypad appears: <input type="number" value="" class="form-control"> But on the desktop, when you click inside the field, you see arrows:...
asked by 15.01.2017 / 23:30
1
answer

Input [number] accept only numbers in Firefox

How do I make the input [number] field accept only numbers in Firefox? In Chrome, Opera and Edge works perfectly, but in Firefox the [number] field accepts letters and spaces. <inputtype="number" name="EstoqueProd[]" class="form-control"...
asked by 01.11.2017 / 15:27
2
answers

HTML DOCTYPE declaration

By the W3C standards we should declare: < ! DOCTYPE html > , but I saw on a website that they declared only this: < ! DOCTYPE > , the semantic value is lost or the browser reads the file normally as HTML5?     
asked by 04.09.2016 / 05:29
1
answer

Post-typing effect on placeholder

Personal I'm trying to add a behavior in a placeholder but I'm not getting it. On the ingresso.com site when the user types a value in the forml placeholder and a small label appears above the typed text. Is this type of effect a placeho...
asked by 15.08.2015 / 18:53
1
answer

Make text editor with syntax highlight

How can I make a syntax highlighting HTML system for a text editor? I thought of using a <pre> tag with contenteditable="true" , so using RegEx I would override the syntaxes of contentText, and would modify the innerHTML ... B...
asked by 19.08.2015 / 03:15
2
answers

Simulate Unsupported HTML5 Browser

I'm developing a website that can be opened in a browser without HTML5 support (canvas, etc.). I would like to test, just change the User Agent or is there a specific tool?     
asked by 14.08.2015 / 15:21
1
answer

Script to leave my site (game) mute

I have a project in localhost (game in HTML 5, JS and CSS), in the background of the game plays a song, I can not make the button to turn off the sound works, someone knows some article that teaches or method of doing This? I'm sorry I missed...
asked by 16.06.2015 / 15:12
2
answers

Remove disabled attribute when a condition is satisfied

Good evening. I'm trying to make a log and login screen for an application that will save the data to localStorage . To prevent the user from registering with incomplete data, I disabled the submit button using disabled . My in...
asked by 15.04.2017 / 06:55