473,320 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Future date avoids download?

Hi all.

I have a simulation on my webpage that requires very fast replacements
of one gif with another. I have preloaded my images. That caused a
vast speed improvement. It still is not quite fast enough, however. I
notice that it is completely fast enough when I tell my browser not to
check whether the files are out of date. Of course, I can't tell my
user to change his browser settings.

If I give all my gif files a date in 2007, will my browser (or some
browsers) decide that they don't need to check for a newer version? I
could test and find out, I suppose, but the difference is subtle and
depends on whether my ISP is having a good day. Has anyone tried this?
Regards,

Rick

Sep 9 '05 #1
4 1238
Ab********************@yahoo.com wrote:
I have a simulation on my webpage that requires very fast replacements
of one gif with another. I have preloaded my images. That caused a
vast speed improvement. It still is not quite fast enough, however. I
notice that it is completely fast enough when I tell my browser not to
check whether the files are out of date. Of course, I can't tell my
user to change his browser settings.

If I give all my gif files a date in 2007, will my browser (or some
browsers) decide that they don't need to check for a newer version? I
could test and find out, I suppose, but the difference is subtle and
depends on whether my ISP is having a good day. Has anyone tried this?


Perhaps replacing the images is not exactly the answer.

If it really is that your trying to show several pre-loaded images
in quick succession , then maybe putting each in a positioned
div , and fiddling with zindex,visibility,clipping values
or something of that ilk would work faster.

If it needs to be continuouse perhaps setInterval or setTimeout
could be used to pump the manipulation of the style attributes
so as to keep the browser responsive.

I think in an animation , actual image replacement is probably the
last choice.

Anyway given the sketchy information I hope my response was
at least of some help

--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML/CSS,Javascript,TCP ...
--`
Sep 9 '05 #2
Hm. Interesting idea, Dr. Clue. Sounds challenging, though. Is there
an example of this "shuffling rather than loading" on line or in a
book?
Regards,

Rick

Sep 9 '05 #3
Hm. Interesting idea, Dr. Clue. Sounds challenging, though. Is there
an example of this "shuffling rather than loading" on line or in a
book?
Regards,

Rick

Sep 9 '05 #4
Ab********************@yahoo.com wrote:
Hm. Interesting idea, Dr. Clue. Sounds challenging, though. Is there
an example of this "shuffling rather than loading" on line or in a
book?


I'm sure there is one *somewhere*, but I tell you what.
I'm sitting in bed recovering from 3 years of hospitals and surgeories
and I'm bored , so if you email me a URL containing just the animation
portion your working on I'll scribble up one for you and post it back
here as well as email you a copy.
--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML/CSS,Javascript,TCP ...
--`
Sep 9 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jason | last post by:
How would one extract the number of (days) from (today) and a (future fixed date)- eg: February 12, 2003. ....where today will always be Date(). Thus: 02/12/04 - Date(now) = 27 days. ...
30
by: Dr John Stockton | last post by:
It has appeared that ancient sources give a method for Numeric Date Validation that involves numerous tests to determine month length; versions are often posted by incomers here. That sort of code...
2
by: asreryll | last post by:
I wish to show a future date in a table, so that I can sort and know which case is in need of a review. I can display a future date in a form but I want to see all records that are due on a certain...
3
by: Sam | last post by:
Hi, I store the date selected in a datetimepicker into a sqlserver table in a SmallDateTime field. To be compatible with the date format of my sql server, I convert the date as following: Dim...
12
by: Assimalyst | last post by:
Hi, I have a working script that converts a dd/mm/yyyy text box date entry to yyyy/mm/dd and compares it to the current date, giving an error through an asp.net custom validator, it is as...
6
by: rohayre | last post by:
Im a long time java developer and actually have never done anything with java scripting. I'd like to write a short simple script for calculating a date in the future based on today's date and a...
1
by: aRTx | last post by:
<? /* Directory Listing Script - Version 2 ==================================== Script Author: Artani <artan_p@msn.com>. www.artxcenter.com REQUIREMENTS ============ This script requires...
2
by: =?Utf-8?B?Sm9ubnk=?= | last post by:
I have an ASP.NET 2.0 C# web application that is contacting an Exchange server using WEBDAV. It allows the users to look up appointments for a future date. The problem I have is determining the...
3
by: aRTx | last post by:
I have try a couple of time but does not work for me My files everytime are sortet by NAME. I want to Sort my files by Date-desc. Can anyone help me to do it? The Script <? /* ORIGJINALI
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.