0
votes
0answers
3 views
Remove placeholder text in javascript
I have some issue on placeholder.
Am using Placeholder in textbox, getting the value in textbox in javascript, the textbox value is empty.. placeholder value is displaying...
Mainly i have to ...
0
votes
1answer
23 views
Can I plot HTML5 Canvas x/y points programatically using jQuery with external JSON data?
I've got an HTML5 canvas 'join the dots' type thing going - 2 lines with dots at their angle points - this is fine but I want to plot the X coordinates programatically with external JSON data (pulled ...
0
votes
1answer
9 views
Swipe a division and make it follow the swipe direction
I am using Zepto (with the Touch Module)
I have a div with a 'swipe' listener on it.
I want the div to follow the finger of the user when swiping it, just as you swipe away your notifications on your ...
0
votes
0answers
8 views
Flexslider with animated caption
I was asking me, if it is possible to fade in the caption for my slides with Flexslider. I have not yet any code, only was asking of this is possible. If you have some referring sites for it or codes ...
-1
votes
0answers
53 views
is this how set interval works
for an animation I am just wondering would this be the right way to go about it and wold it work? I want to display an animation of 4 images one after another for half a second each, I want them to be ...
-1
votes
0answers
9 views
html5 pacman game change drawing to image characters
I want to create pacman game with small changes. So im using this template to create. It's really good but it's creating ghosts and pacman in canvas with draw, not image. How can i change drawing to ...
0
votes
1answer
11 views
RequestAnimationFrame not available in Safari - how to do fluid animations?
This site runs smoothly in every browser but Safari, because it doesn't have "RequestAnimationFrame". Notice the elements are positioned using JavaScript, and it probably couldn't be done without it. ...
4
votes
4answers
67 views
jQuery - remove() not working
I have a script that places divs according the position of mouse on the body of a page. I have a button which says "Clear" and I want to use it to clear the divs created. How can I achieve that?
The ...
1
vote
2answers
21 views
Why does window.onscroll lags behind actual scrolling?
I'm using an equivalent code to position an element:
$(window).scroll(function(){
my_element.css("top",$(window).scrollTop() + 50)
});
The problem is: during the scroll the element doesn't stay ...
-1
votes
0answers
29 views
How to get the active image object attributes(id, src) drawn on canvas html5
I am making a tool to draw images on canvas, according to which user can click on the images shown on left sidebar, then the images are drawn on the canvas, i am using fabric js library to darg, drop, ...
0
votes
2answers
35 views
How to make a HTML5 font lighter when fontWeight doesn't work?
Google's Oswald font seems to ignore the "fontWeight" css property. It's very bold:
How to make it lighter? This is the result I want:
0
votes
1answer
22 views
Simulate pagebreake effect for uploaded HTML tables
I'v been seeking for the answer for to my problem for a long time, but still don't know how to handle it.
Here I have a page, and the size of "Page" is fixed. It's content is my uploaded HTML file ...
2
votes
4answers
40 views
How to change div contenteditable from true to false
i got a page which let user change the text inside div and save the html code into db, however when i display back the html code i want to change the div contenteditable into false. is there any ...
8
votes
1answer
55 views
Why does this plain JavaScript work and it's equivalent jQuery fails?
I found a javascript that deals with HTML5 File Reader API. It's written in pure javascript, I am in the process of converting it to a jQuery script. But am getting stuck at this point.
This works:
...
-2
votes
0answers
28 views
drag and drop file upload can't use .files
I have file upload form, and beside the browse button I try to create drag and drop area, however, I can't seem to get it to work. e.g:
fList = $(".file-input");
fList[0].files; //will work for ...
1
vote
0answers
12 views
Audio Playback in an HTML5 Video Element using HLS
I'm in the process of integrating an M3U8 video playlist using HTML5's video element, specifically for Safari and I've got it working. The only issue is that the audio for that video doesn't play or ...
1
vote
2answers
44 views
Prerequisite before obfuscating Javascript code?
I tried different obfuscation tools for JavaScript, but when I use resultant it does not work.
I removed all comments, single-line and multi-line comments, and beautified the code in order to have ...
1
vote
2answers
20 views
Controlling Jquery Path Bezier Speed
I have an animation, which fades in <div id="robert">stuff</div>, and then has it follow the path specified below. I want to know if there is some way I can slow down the bezier curve ...
0
votes
1answer
23 views
Encode MPEG Movie via Javascript/Webbrowser?
I have created a script in JS which creates video frames as separate images, which I would like to encode to a video format (eg. MPEG-4). What would be the best way to do that? I considered using ...
0
votes
1answer
20 views
Angular js ng-repeat and directives
I have a list of items that can be starred. The buttons to archive, delete and star pop up on hover. However, if the item is starred, the star does not fade out but remains visible.
I have created ...
0
votes
2answers
37 views
Questions about adding 100+ Images from a Sprite and then garbaging them (long)
I'm creating a short game in Html5. I'm trying to figure out the best way to do the Hero selection.
Basically there are 113 heroes. I created a spritesheet that is 1320x1320 with each hero img being ...
4
votes
1answer
72 views
HTML 5 template tag (page refresh)
I wanted to use the HTML 5 template tag but there's some confusing behaviour after a page refresh. Maybe I show you some code first:
<!doctype html>
<meta charset=utf-8>
<title>HTML ...
-1
votes
0answers
22 views
how would i build this jquery image gallery in css3
please see http://www.andreadavide.com/preview/gallery.php
this is an image gallery that spreads all the image options out evenly across a div. each image can be selected, there's info that can be ...
0
votes
4answers
57 views
How to set an element's width equal to window's width?
Using:
$(my_div).width(window.innerWidth)
Does not provide the desired result, because it does not account for the vertical scrollbar, so the element overflows the window, creating a horizontal ...
0
votes
0answers
13 views
Is it possible to combine Lightbox with window.location
I want to combine the html5 canvas element with the lightbox. I am drawing some shapes in a dynamic way and want that the page can show additional information about the shapes when the user is ...
1
vote
0answers
18 views
metada and social sharing
I try to configure social sharing with links:
<a href="https://twitter.com/share" id="twitter-wjs"><img src="img/social-twitter.png" alt="" ></a>
<a ...
-5
votes
1answer
91 views
can not Hyperlink a URL
I Have a url Which i want to hyperlink on my website but that url is not working after giving hyperlink or copy-pasting in the web address bar or refreshing the page, that url is only working from ...
0
votes
1answer
33 views
Need help creating a loop so an object will reappear? [closed]
I want to create a loop so that an object will move up the screen(from the bottom of the screen) all the way to the top and then disappear. I wish to have this happening constantly, I would need a ...
0
votes
0answers
13 views
how do I split up an object returned from googlemaps reverse geolocation api?
I'm trying to split up or filter results returned from google maps reversegeoloaction api.
I have a working example here:
http://cdpn.io/hHFts
The problem is, the reversegeolocation object that ...
0
votes
0answers
25 views
How to open numeric keyboard only! For my ASPX wep page by Android and iphone?(Not a native android or IOS app)
I have searched alot of content to show only numeric keyboard, when they call my aspx web page from a android or a iphone or both... In HTML5 i have the type attribute number to acheive this but my ...