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 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...
I don't think this question has been posed before, at least not in the way I need it answered. I'm using jQuery's .load function. I have a problem when loading just page fragments.  When using something like:  $('#content').load(&...
I have an event that when clicked initiates a jQuery load().  The load passes several MB of POST data.  I am getting aborted errors.  How can I set the timeout?   toggleModalLoading();  $("#ele").load('http://site.com/script.php',{...
I am using Jquery load() to load external pages inside a DIV, so far so good, the problem is, in one of these external pages I need to do a slideToggle effect but it doesn't work at all, I believe it's because the load(). here's some code...
I have a list of data on a page, a simple ordered list of around 100 items, just a title and excerpt like on an archive page.  On page load, I want to hide all but the first 25 items with an option to load 25 more, 25 more until they're all visib...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.