0
votes
1answer
20 views

Putting a Space between two characters on the Webpage through JQuery

I have a list which has options and no. of occurrences in front of it within brackets. Something like this:- Paris(12) London(14) Newyork(4) I am hoping to put a space between letters and the ...
0
votes
0answers
18 views

JavaScript download file from URL and submit form

I've got CreateFile dialog with several options: "FromFile", "Drag'n'Drop" and URL. Is there any way to download and submit file only using JS? I'm tried to use: new (window.MozBlobBuilder || ...
1
vote
1answer
13 views

How to add onclick event to dynamically created radio buttons in MVC 4?

I am trying to build a form dynamically in ASP.NET MVC 4 and adding radio button controls dynamically to the page as below. Is it possible to add OnClick event to these dynamically generated ...
0
votes
2answers
23 views

Converting escaped text to html in javascript?

I used $.get and received data like '<option value=\"US-ID\" >Idaho<\/option>\n <option value=\"US-IL\" >Illinois<\/option>\n <option value=\"US-IN\" ...
0
votes
0answers
11 views

Video preview on video player like Youtube

I just wanted to know if someone knows a plugins or a web player that do video preview in the player ? (like in this image http://i.imgur.com/iQzU2Y9.png ) Thanks in advance
0
votes
2answers
27 views

Canvas not loading on Firefox

What is wrong with this function? window.LoadImage = function(el, canvasId){ var canvas = document.getElementById(canvasId); var context = canvas.getContext("2d"); ...
0
votes
2answers
28 views

document.CreateElement(div) not working…

I'm trying to create a div element on the runtime and placing a chart element inside it, which doesn't seem to work. function drawChart() { // Create the data table. var data = new ...
0
votes
1answer
23 views

Div inside a canvas

i have a div element containing an interactive chart. Now i want to place it inside a canvas (using context or something) is it possible to do that? if yes, then what will be the solution?
0
votes
0answers
5 views

Rich widget component for HTML5 client

i am just exploring simple apps made with html5/css3/js. How is possible to use rich widgets? I know Sencha provides a complete framework but in that case one must stick with sencha logic and DOM ...
0
votes
0answers
11 views

HTMl 5 Canvas Koch Fractcal

What I'm asking today is to help with a Koch algorithm, to keep increasing the iterations on a line, without having to manually re-doing the process again and again. This is what I've got so far. ...
0
votes
0answers
7 views

Displaying pie chart in canvas using Google charts

i'm trying to display an interactive pie chart inside a canvas using the code below: <html> <head> <!--Load the AJAX API--> <script type="text/javascript" ...
0
votes
2answers
19 views

JavaScript library to support interactive charts, graphs etc on canvas?

I'm looking for a useful library which would help me in drawing different interactive charts, graphs etc on canvas. Basically i'm designing a web paint like application and adding the functionality of ...
0
votes
2answers
24 views

How do I generate text with a button/clickable area?

I was trying to create clickable text (and eventually) a self created buttons that would generate text in a defined area. When I click "This will generate the text" it will flash there for not even a ...
0
votes
1answer
17 views

Add labels to the top of colgroups?

I have my colgroups generated dynamically and they style each group with a background color. Is there a way to add a label on top of each group? My colgroup looks like this: <colgroup> ...
0
votes
1answer
14 views

Displaying a chart using chart.js

I'm pretty new to JavaScipt and html5. I'm trying to print a normal line chart onto canvas using chart.js. I followed the step by step guide on their website but am unable to make the graph show. This ...
0
votes
1answer
12 views

Changing video source in a web player

I'm trying to make a web player and it is supposed to change the video source by the click of a button, but it does not work, I've tried everything. myVideo.src = ...
0
votes
2answers
17 views

Displaying a chart using Highcharts

I'm pretty new to javaScript. I'm trying to get good hold over interactive charts and stuff. For that I downloaded HighCharts library... can't find any appropriate way to use it to print the graph.. ...
0
votes
0answers
10 views

Android (Samsung S4) HTML5 video pauses

I am using Android Webview to play html5 videos, including Youtube videos (my own tags and Youtube embedded iFrames). I encountered an issue with Samsung Galaxy S4, on the following scenario: Play ...
0
votes
1answer
38 views

When dynamically creating images, why is the image array empty?

What I am trying to do is load images dynamically and then draw them on the screen. However, when I call console.log(images), it is empty. Here is the code: if (canvas.getContext) { var ctx = ...
-5
votes
1answer
27 views

How to develop resizable Interactive Board In Html [on hold]

I want to create the board like below numbers.it should be in the HTML,css,Actually purpose of this board is to display 49 numbers on board and board should be re sizable in any window.main use of ...
0
votes
1answer
21 views

After I have loaded an image, cropped and drawn it onto a canvas, how can I allow the user to rotate the image before base64 conversion?

I crop to square and draw an image to canvas if(img.height >= img.width) { ctx.drawImage(img, 0, 0, 110, 110 * img.height / img.width); } else { ctx.drawImage(img, 0 , 0, ...
0
votes
0answers
4 views

IE issue : Can't copy text to second tinymce editor V4 (api4)

I have managed to get it to work in firefox and chrome, but it doesn't work in IE. I want to copy text from the first editor and paste it into the second at a highlighted position, any help will be ...
0
votes
0answers
10 views

Soundmanager2, playing songs from a different start point on mobile

I was wondering if anybody could give me some advice to play from the middle of a song on mobile with soundmanager2. I need it to work on android 4+ and IOS6 and IOS7. I have a solution, but it's not ...
-2
votes
1answer
42 views

How to take webcam pictures on my own website/html ( impress.js type website )

I would like to take webcam pictures every time people press the --> button or space bar that would display somewhere else on my impress.js "canvas". I'm building this very simple one page website ...
0
votes
0answers
36 views

Storing points in Koch fractal

What I'm asking today is to help with a Koch algorithm, to keep increasing the iterations on a line, without having to manually re-doing the process again and again. This is what I've got so far. ...
-1
votes
1answer
23 views

HTML5 Hybrid Mobile Banking App [on hold]

Is it wise to use HTML5 to develop a Mobile Banking Application, regarding security aspects? It's known that JavaScript is not the best choice when taking client side security into consideration. So ...
1
vote
1answer
43 views

javaScript code working in a seperate file but not part of a bigger file

I am making a simple Goal-traking completely offline HTML5 app using localStorage. The problem that I am facing is, that, Retrieving JSON data is working completely fine in a separate file but not ...
0
votes
2answers
31 views

How to remove HTML5 title attribute after validation

I am using html 5 for mobile development in Icenium i wan to do validation so i used required attribute along with title attribute to show messages to user. but once i do enter correct input into ...
0
votes
1answer
26 views

HTML5 Video working properly locally but not on hosted server

I am working with HTML5 video, its wokring fine locally but as i host the files on to the server its not getting any video file to be access at the browser..thats why video is not working with HTML5 ...
0
votes
1answer
22 views

Add URL to window.history stack upon Ajax request success

I am loading in different erb views through AJAX calls in Sinatra and have been looking into the HTML5 history API with .pushState() I am able to update the URL to indicate the specific resource I ...
0
votes
0answers
21 views

Google Map Boundary of searched Location

I have used the following code to display the marker on the location I have dynamically searched for(code). Now I want to highlight the searched location boundary. (For instance, if I search 'Tokyo', ...
1
vote
0answers
18 views

what I did wrong with my accelerometer and canvas 2d? android

I'm trying to create a 2d canvas with the accelerometer API. The API full example works when I tilt the phone the acceleration.x and acceleration.y changes. So I made a canvas 2d circle and ...
0
votes
1answer
17 views

HTML 5 Canvas, interact with HTML tags behind it?

Ok, so I have a HTML 5 canvas element on top of my website to overlay a snow effect. Here's it in action (as it's a little tricky to describe): http://www.pandoragaming.net *I'll remove the link the ...
-1
votes
1answer
14 views

Touch through an element in a browser (like pointer-events: none)

The problem: I've searched and searched, but I can't find information on how to get a touch event to trigger through an overlay element. I've solved the problem for mouse click events by using the ...
0
votes
1answer
47 views

Unable to compare a JavaScript variable with JSON data

I have a table stored as a string in a JSON data in localstorage. I want to compare one of fields stored here to a separate javascript variable. Here is what I have tried: var goalsStr = ...
1
vote
1answer
44 views

HTML5 Canvas simulate rotation planet around its axis?

I have a question about planet rotation simulation in Javascript HTML5 Canvas. I have canvas object and i need render a circle with spherize and display texture of the planet: for example this ...
0
votes
2answers
33 views

Adding video to Javascript Canvas

Is it possible to add a background video that will loop over and over to a HTML5 Canvas? This is that work I have so far just want to add a simple video that will play to the background. I am able to ...
0
votes
0answers
13 views

scrolling diagonal on mobile

The Problem: I'm working on a project which requires a div to have a width > 100% on a mobile device (think of tablet). On a typical desktop, having a width that large will blow out the body, and ...
0
votes
1answer
18 views

TinyMCE 4 disable cleanup html

How can I disable the automatic cleaning of HTML code in TinyMCE 4.x When I copy text from WORD, TinyMCE removes styles
-2
votes
0answers
31 views

user resizing of text in HTML5 [on hold]

It is (still) relatively easy for the coder to allow a user to sesize images ... but for text (or most any other object) it seems to have become VERY hard, with the advent of html5. Eg we used to have ...
2
votes
1answer
21 views

Adding controls to manipulate Animation in Javascript Canvas

I am learning to work with Html5 Canvas. How can I add two buttons that will decrease or increase the speed of the animated square in the canvas? I am a beginner at programming so I am trying to keep ...
1
vote
1answer
36 views

Stop all HTML5 audio/video with JavaScript

Trying to write a function that will pause all HTML5 audio and video. I've got this far, but I'm not sure if this is the correct way about it? function stopAll() { var media = ...
2
votes
1answer
61 views

Is createElement() supported in html5?

While coding an HTML5 Page (PHP included) I noticed that createElement() stops working when the doctype is switched to html5 <!DOCTYPE html> The code is pretty standard element creation with ...
3
votes
1answer
60 views

Paste inside a Canvas

There is already a Previous question about it, but it's obsolete. I haven't found any help from dartlang's site or googling around, so here is again the problem. document.onPaste.listen((e) { ...
-2
votes
1answer
55 views

How do I remove the white space around my html forms?

I made an html app that has a form, for some smartphone-resolution devices (460 x 320 pixels), and it appears fine on my smartphone. When I ran it on my Android tablet (which is a Samsung Tab 3- 1024 ...
0
votes
0answers
20 views

Auto populating a slider with images from a folder

and thanks for checking out this question. I have a jquery plugin i'm working with based on the one found here:http://www.barrelny.com/blog/building-a-jquery-slideshow-plugin-from-scratch/ The basis ...
0
votes
1answer
8 views

HTML5 and JS drag and drop multiple images to specific location

I'm try to have 2 draggable images, and 2 destination locations, but I want image1 only to be able to be dropped in location1, and image2 only to be able to be dropped in location2, this code allows ...
0
votes
0answers
13 views

HTML/Javascript Offline Tracking Localhost Without Analytics

What I am looking to accomplish is when a website is hosted locally on the localhost if it would be possible to track the clicks/navigation kind of like google analytics does but a very simplified ...
0
votes
0answers
19 views

Play audio on image click - mobile/tablet

I can't get my code to play audio files on the click of an image. I've tried different file types but it doesn't change anything. This is the code I'm using: http://jsfiddle.net/adamsears/kZF9T/ ...
1
vote
2answers
33 views

Keydown producing unexpected result. HTML5 Game

So I am at the very beginning stages of creating my first platform style game in html5.So far I have only implemented left and right movement and no 'gravity' or collision detection is at play. ...

15 30 50 per page