Most voted "html5" questions
HTML5 (Hypertext Markup Language, version 5) is a generic term for recent web technologies (HTML, CSS, and Javascript). It is also the latest iteration of the HTML Recommendation scheduled for 2014, and featuring new elements and Apis.
Learn more…3,881 questions
Sort by count of
-
2
votes2
answers11882
viewsCalling function with onclick
Guys I can’t call a function using onclick, calling it straight from the html tag comes normal but if I call unobstructive way without chance I’ve already read several Docs tried n ways and nothing…
-
2
votes1
answer474
viewsMedia queries for Internet Explorer 8 and 9
How to make IE 8 and 9 read Media Query conditions? I’ve read some Ocs but found nothing enlightening. The query is being made in the HTML example and I would not like to apply only in a single CSS.…
-
2
votes2
answers725
viewsIs it possible to stream a video signal locally to a browser?
You can display the open TV signal using a capture card and display within a web browser using HTML5 or Javascript? Whereas I use Ubuntu.
-
2
votes1
answer67
viewsBackground panning after keydown effect
Something is wrong with the method I’m using to recreate the Jsfiddle effect http://jsfiddle.net/LeoTheTitan/9Ttk5/ I want the background to move 10 pixels towards the keydown, and to continue to…
-
2
votes1
answer1354
viewsUpload multiple files using Uploadfy in ASP.NET MVC
How to implement multi-file upload with uploadf? I find it very interesting to use the upload bars etc. is making this mistake: This is my controller: You may notice that you have many error…
-
2
votes2
answers3896
viewsChanging the color of a HTML5 <Progress> element
I need to change the color of a Progress bar (tag <progress> HTML5) with CSS. The default of Google Chrome is like this: But if I try to style with css gets like this: How can I leave the…
-
2
votes2
answers121
viewsAdapt boxes to mobile layout
Hello, I have a layout that resembles this I use Bootstrap on it.. When hitting a particular breakpoint it gets a format similar to this one I want to do the following effect, when the layout…
-
2
votes1
answer176
viewsMasking for date field
Who ever used the type="date" HTML5 certainly noted that although the date is visible in the DD/MM/YYYY, when you retrieve the value by Javascript, it is in the format YYYY-MM-DD. What I want is…
-
2
votes0
answers625
viewsSharing Application Content Made on Intel XDK on Facebook
Hello! I created an HTML5 + Jquery Mobile app on Intel XDK, which will be for android (and maybe app for FB). In it, based on data, has a kind of score (it is not a game) and wanted to put an option…
-
2
votes1
answer1367
viewsGet list of checkboxes in the controller in Asp.Net
How do I get a checkbox list like this: <div class="editor-field" style="overflow-y: auto; height: 150px;"> <label>Especializações:</label> @{ if…
-
2
votes6
answers16533
viewsHow to mount the HTML of a "select" via PHP, using data from DB
I’m having trouble properly assembling a <select> within PHP, with data returned by mysqli. I tried this way: <?php $con = new mysqli("localhost", "root", "senha","bancodedados" ) or die…
-
2
votes1
answer524
viewssetInterval javascript does not work
The following code works as the setTimeout function (happening only once and not repeating), I have tried several ways and could not, if anyone can help me, already thank. function girar(){ var bola…
-
2
votes1
answer1972
viewsHow to know the number of "children" of a class?
For example, using a for: var children = numero_de_filhos_de_uma_classe_qualquer; for (i = 0; i <= (children); i++){ document.getElementsByClassName("classe")[i]; } HTML <div class="classe"…
-
2
votes1
answer77
viewsHTML5 2D game webgl?
I am aware that a lot of the 3D game engines for HTML5 use Webgl technology, but I had a question when it comes to 2D. Some 2D game engines for HTML5 reference the functions gl_xxx, IE, use GPU…
-
2
votes2
answers329
viewsJavascript interact with Java
It is possible get a javascript value and put inside a java variable. EX: var len = $(" #relacaoPax select[name=tipo] ").length; console.log( "len = " + len ); }); <% int l = len;…
-
2
votes1
answer138
viewsRemove magnifying glass from search in Webkit
how to remove this blue magnifying glass that appears in OPERA and Chrome browsers ? I’ve tried to -webkit-appearance: none but nothing happens. .search input[type="search"] { width: 170px; height:…
-
2
votes1
answer338
viewsHow to advertise on my Firefox OS app
I’ve created some HTML5 apps for Firefox OS, but I can’t place advertisements to monetize it. Is there any tool for it?
-
2
votes5
answers801
viewsIs it possible to upload files without using PHP?
I have to make a video upload system, at first, without using the "server side". I wonder if you can do this without php, using Sqllite or Local Storage. I’ve researched several sites and I haven’t…
-
2
votes1
answer876
viewsHow to implement a map showing the units of a particular store on a website
I need to make an application that shows the available units of a store on the map. For example: There is a field where the user will enter his Neighborhood, Municipality and City, based on this…
-
2
votes1
answer332
viewsMeaning of part of the Javascript code
I built a code to prevent my search tool from searching with the blank search field or with the default message that appears in value, I received a piece of code and when implementing an error that…
-
2
votes1
answer979
viewsDiv appears and disappears
I created a div where there are 2 links, when the page is loaded, both links are hidden and when I click "search" they should appear. The detail, problem is that they appear and disappear! Why this…
-
2
votes2
answers7771
viewsPass parameter (a list object) from View (List type) to Controller. Asp.NET MVC
I own a view like "List<SimpleUser>" and I want to pass by parameter to my controller the object that is in my foreach, but this arriving null being done as follows: View: @{ ViewBag.Title =…
-
2
votes1
answer777
viewsHow to leave a fullscreen div with CSS3 and scrollTo with jQuery
I’m trying to create a responsive website with Twitter Bootstrap and would like to know how I could leave the div so that they stay fullscreen, that is, that it occupies the entire screen and that…
-
2
votes2
answers449
viewsHow to know that the file has reached the end with Filereader()?
I’m making a system that when the file has just been read opens the next file, the files are MP3 and wanted to play a sequence of songs whenever one finishes. How to do this with Filereader()? I…
-
2
votes1
answer453
viewsDate field in Codegniter form
I am developing a form with date field. How I use the Codeigniter gift form resource for a date field? In the example below I am using text area. There is a function form_ for dates? echo " <div…
-
2
votes1
answer115
viewsKnockoutjs does not work
Code: <!DOCTYPE html> <html> <head> <script type='text/javascript' src='js/knockout-3.2.0.js'></script> <meta charset="UTF-8"> <title>Title of the…
-
2
votes1
answer274
viewsIs it possible to create HTML frames?
I am on 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 don’t get…
-
2
votes2
answers4163
viewsHow to change between texts according to time?
How do I alternate text with a set time on a div? I don’t know command in jQuery, I tried the code below but it doesn’t work. <!DOCTYPE html> <html> <head> </head>…
-
2
votes1
answer1581
viewsAlign a `<span>` in the vertical center of a `<li>` without changing the rest of the text
I have an unordered list that needs to stay the same format, because it is a side menu mounted dynamically. Something like this: <ul> <li> <a> Link 1 <span> Algum texto…
-
2
votes2
answers38
viewsCan I have different Transitions on the same tag?
Hello folks would like to know if I can have more than one Transition on the same tag? Why do I implement Transitions for the properties but it doesn’t work? *Or this is because I haven’t set the…
-
2
votes1
answer111
viewsAppcache in Asp.net MVC
I need to use the Html5 appcache to store some web pages. Before using MVC I simply did this regular expression to check if you are connected or not. var offlinePages =…
-
2
votes1
answer1421
viewsCanvas occupy the entire screen with css
I have my canvas on Html5: <canvas></canvas> I want the canvas to occupy all available area of the browser, I tried to do as follows: canvas{ display: block; width: 100%; Height: 100%;…
-
2
votes0
answers125
viewsChange Javascript code to resized video tag
At this link i have a test page where the video on the screen is resized as the select. I need that when loading the page come loaded the function of select Transform selection, but as I do not need…
-
2
votes1
answer901
viewsMenu appears in emulator, but does not appear on mobile
I created an app in Eclipse using the Intel Appframework, with HTML5 and everything. In Browser it runs normal, Android emulator runs normal; however, when I export APK, it does not show the menu,…
-
2
votes2
answers3254
viewsResizing image with canvas and Javascript
How to reduce the size of an image with JavaScript? I’m using canvas to resize, reduce the size in proportion and convert to jpeg. The problem occurs when I try to save the image, since I cannot…
-
2
votes1
answer3504
viewsDisplay block with Onclick
Hello, I do not know mecher a lot with javascript and needed help, I would like to make a menu that when clicked change the display of a display div:None to display:block. My menu <div…
-
2
votes2
answers598
viewsHow to put a click event in a primitive drawn form?
I made an animation and would like to put the buttons pause and play using these drawings in primitive forms. function botaoPlay() { contexto.beginPath(); contexto.fillStyle = "rgb(255,255,0)";…
-
2
votes1
answer292
viewsPick values from Contenteditable fields to send in POST
I’m making a Carousel using the Bootstrap. The dados who fed this Carousel will be modified a few times, I decided to create a file dados.json to serve as the basis for these files. I made a classe…
-
2
votes2
answers3622
viewsMultiple Divs with Same Responsive Height
I have four five Ivs, one of which is a container for the other four. Structure: <div id="divPai" style="width:100%"> <div id="divInfUser" style="width:25%; height: 30%; background-color:…
-
2
votes1
answer129
viewsHow to use top in image style with relative width?
I have the following code: <!DOCTYPE html> <html> <head> <style> img {position: absolute; height: auto; } </style> </head> <body> <div style="width:…
-
2
votes1
answer12945
viewsFixed Bar at the top
Hello I would like to put at the top of my page a bar of the color black, but I’m not able to do. Someone knows how to do it??
-
2
votes2
answers1837
viewsHybrid app database using Cordova
What are the possible and most viable solutions to use a database in a hybrid APP (Android/iOS) made on Intel XDK (Cordova)?
-
2
votes1
answer585
viewsEmail Subscription in Gmail
I created an email signature in HTML, in Thunderbird it works, but in Gmail she Buga, does not seem to interpret the css. <html lang="pt-br"> <head> <meta charset="UTF-8">…
-
2
votes3
answers226
viewsLink structure problems in MVC
I am working on an MVC project and I am having problems redirecting pages. The project is based on controllers and actions, that I have the proper functions that call these files and call their…
-
2
votes1
answer91
viewsEnable mobile browsers' zoom feature in dropdown
There is the possibility to simulate the 'zoom' that mobile browsers implement in select, in a dropdown? Ex: When the user clicks on a select, the browser itself creates a modal, making the user…
-
2
votes2
answers21710
viewsHow to create txt with js?
And guys I have a JS that has some functions that takes the name of the player, position, position, level, image etc. I want to save this data in a dB, the user logs in with the account and access…
-
2
votes2
answers3120
viewsSingle Page Application with jQuery
How can I develop a SPA with jQuery? I did with Angularjs with the following code, but I’m having difficulties to migrate to it definitively and decided to stick with jQuery not to be late. var…
-
2
votes2
answers207
views -
2
votes1
answer68
viewsOption value change of the select element
I’m trying to add an option to a select: function add(){ var opt = document.createElement("option"); opt.value = "0101"; opt.text = "foo"; } That code works. My question is why when I remove double…
-
2
votes1
answer8726
viewsHow to get the value of a list of ckeckboxes with jquery?
I’ve tried the following: <input name="chklista" id="chk01" value="01" type="checkbox" />01<br /> <input name="chklista" id="chk02" value="02" type="checkbox" />02<br />…