i'm trying to build a video player, that works everywhere. so far i'd be going with:  <video>     <source src="video.mp4"></source>     <source src="video.ogv"></source>     <object data="...
I am trying to make a webpage that, when it starts loading, uses an Interval to start a timer.  When the page fully loads, it stops the timer,  but 99% of the time i get time measurements of 0.00 or 0.01 even if it takes longer.  Occasionally, it s...
Are there any libraries for in-browser javascript that provide the same flexibility/modularity/ease of use as Node's require?  To provide more detail: the reason require is so good is that it:   Allows code to be dynamically loaded from other l...
I am looking for a way to implement this for as many browsers as possible:  var image = new Image(); image.addEventListener("load", function() {                                alert("loaded"); }, false); image.src = "image_url.jpg...
How can I load an external JavaScript file using a bookmarklet?  This would overcome the URL length limitations of IE and generally keep things cleaner....
Suppose in Javascript that you assign the SRC to an IMG tag.  It is a large SRC and you want to cancel it before it has finished loading.  Assigning the SRC to another image will not stop the data from loading.  That is, in the middle of the load you...
I use dynamic script loading to reduce the duration of the initial page load. To ensure that the functions and objects defined by a script are accessible, I need to ensure that the script has been fully loaded.  I have developed my own Javascript lib...
How can I detect when an image has finished loading be it from the server or the browser cache? I want to load various images in the same <img/> tag and detect when the loading of a new images has finished.  Thank you....
I am making a website for my friends band. I would like to know if its possible (apart from using Ajax) to keep audio playing after clicking on a link to another page on the site?  I currently have it set up using Ajax to reload the content, but I am...
Hi I just wondered if this is possible. I have quite a few images on my website and I have made them as small file size as possible. Some of the images are used as a slideshow but there are all loaded in one go. Is there a way using javascript to mak...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.