I have a javascript timer on my page that counts to 10. Every half
second it alternates images on my buttons from a lighter image to a
darker image, giving the appearance of the buttons blinking. The
problem is, when my Internet Explorer options are set to Check for
newer versions of the page: Every visit to the page, IE will download
those same 2 images every single time from the server. That's 20
downloads in 10 seconds for 2 images. This:
1. Creates a lag time
2. Shows the plain button in between switching from one image to
the other
3. Changes my cursor from the arrow to the hour glass back and
forth 20 times in 10 seconds
4. Constantly displays images being downloaded on the taskbar
Maybe I'm asking for too much but, I would think that since the page
itself is not being reloaded, that IE could use THE SAME 2 IMAGES.
Microsoft mentions this "feature" and offers a fix that... SURPRISE,
doesnt work. Firefox displays the images on the buttons flawlessly.
Are there any javascript solutions to alternating images back and
forth using some sort of timer, that will NOT cause this Internet
Explorer bug... i mean... feature? Preloading doesn't seem to work.
Thanks. 5 1732
<OB*********@yahoo.comwrote in message
news:11**********************@n59g2000hsh.googlegr oups.com...
>I have a javascript timer on my page that counts to 10. Every half
second it alternates images on my buttons from a lighter image to a
darker image, giving the appearance of the buttons blinking. The
problem is, when my Internet Explorer options are set to Check for
newer versions of the page: Every visit to the page, IE will download
those same 2 images every single time from the server. That's 20
downloads in 10 seconds for 2 images. This:
1. Creates a lag time
2. Shows the plain button in between switching from one image to
the other
3. Changes my cursor from the arrow to the hour glass back and
forth 20 times in 10 seconds
4. Constantly displays images being downloaded on the taskbar
Maybe I'm asking for too much but, I would think that since the page
itself is not being reloaded, that IE could use THE SAME 2 IMAGES.
Microsoft mentions this "feature" and offers a fix that... SURPRISE,
doesnt work. Firefox displays the images on the buttons flawlessly.
Are there any javascript solutions to alternating images back and
forth using some sort of timer, that will NOT cause this Internet
Explorer bug... i mean... feature? Preloading doesn't seem to work.
Thanks.
How about using sprites: http://alistapart.com/d/sprites/ala-buttons1.html
article: http://alistapart.com/articles/sprites
you could go nuts with it: http://slotmachine.braincast.nl/
Thanks for the reply Marc. That slot machine seems to work flawlessly
even with IE set to "every visit to the page". Now if i could only
figure out how he did it!
On Apr 16, 3:26 pm, "Marc" <sorry...@dirtymail.comwrote:
<OBAFGKM_...@yahoo.comwrote in message
news:11**********************@n59g2000hsh.googlegr oups.com...
I have a javascript timer on my page that counts to 10. Every half
second it alternates images on my buttons from a lighter image to a
darker image, giving the appearance of the buttons blinking. The
problem is, when my Internet Explorer options are set to Check for
newer versions of the page: Every visit to the page, IE will download
those same 2 images every single time from the server. That's 20
downloads in 10 seconds for 2 images. This:
1. Creates a lag time
2. Shows the plain button in between switching from one image to
the other
3. Changes my cursor from the arrow to the hour glass back and
forth 20 times in 10 seconds
4. Constantly displays images being downloaded on the taskbar
Maybe I'm asking for too much but, I would think that since the page
itself is not being reloaded, that IE could use THE SAME 2 IMAGES.
Microsoft mentions this "feature" and offers a fix that... SURPRISE,
doesnt work. Firefox displays the images on the buttons flawlessly.
Are there any javascript solutions to alternating images back and
forth using some sort of timer, that will NOT cause this Internet
Explorer bug... i mean... feature? Preloading doesn't seem to work.
Thanks.
How about using sprites:http://alistapart.com/d/sprites/ala-buttons1.html
article:http://alistapart.com/articles/sprites
you could go nuts with it:http://slotmachine.braincast.nl/
<OB*********@yahoo.comwrote in message
news:11**********************@p77g2000hsh.googlegr oups.com...
On Apr 16, 3:26 pm, "Marc" <sorry...@dirtymail.comwrote:
><OBAFGKM_...@yahoo.comwrote in message
news:11**********************@n59g2000hsh.googleg roups.com...
>I have a javascript timer on my page that counts to 10. Every half
second it alternates images on my buttons from a lighter image to a
darker image, giving the appearance of the buttons blinking. The
problem is, when my Internet Explorer options are set to Check for
newer versions of the page: Every visit to the page, IE will download
those same 2 images every single time from the server. That's 20
downloads in 10 seconds for 2 images. This:
1. Creates a lag time
2. Shows the plain button in between switching from one image to
the other
3. Changes my cursor from the arrow to the hour glass back and
forth 20 times in 10 seconds
4. Constantly displays images being downloaded on the taskbar
Maybe I'm asking for too much but, I would think that since the page
itself is not being reloaded, that IE could use THE SAME 2 IMAGES.
Microsoft mentions this "feature" and offers a fix that... SURPRISE,
doesnt work. Firefox displays the images on the buttons flawlessly.
Are there any javascript solutions to alternating images back and
forth using some sort of timer, that will NOT cause this Internet
Explorer bug... i mean... feature? Preloading doesn't seem to work.
Thanks.
How about using sprites:http://alistapart.com/d/sprites/ala-buttons1.html
article:http://alistapart.com/articles/sprites
you could go nuts with it:http://slotmachine.braincast.nl/
<cut><paste><cut... ehrmm.. where was I?>
Thanks for the reply Marc. That slot machine seems to work flawlessly
even with IE set to "every visit to the page". Now if i could only
figure out how he did it!
You could use Firefox and install firebug and check out the code... ;)
Be careful though... 'he' did a lot of animation with animated gifs... but
the buttons work with sprites, check for instance the play button: http://slotmachine.braincast.nl/images/play.gif
'he' used css clip for the the sprites but that seems a bit old fashioned
now a days... you'd better check the article: http://alistapart.com/articles/sprites
I'll see if i can figure out how it was done. Thanks again for
pointing me in the right direction.
On Apr 16, 5:34 pm, "Marc" <sorry...@dirtymail.comwrote:
<OBAFGKM_...@yahoo.comwrote in message
news:11**********************@p77g2000hsh.googlegr oups.com...
On Apr 16, 3:26 pm, "Marc" <sorry...@dirtymail.comwrote:
<OBAFGKM_...@yahoo.comwrote in message
>news:11**********************@n59g2000hsh.googleg roups.com...
I have a javascript timer on my page that counts to 10. Every half
second it alternates images on my buttons from a lighter image to a
darker image, giving the appearance of the buttons blinking. The
problem is, when my Internet Explorer options are set to Check for
newer versions of the page: Every visit to the page, IE will download
those same 2 images every single time from the server. That's 20
downloads in 10 seconds for 2 images. This:
1. Creates a lag time
2. Shows the plain button in between switching from one image to
the other
3. Changes my cursor from the arrow to the hour glass back and
forth 20 times in 10 seconds
4. Constantly displays images being downloaded on the taskbar
Maybe I'm asking for too much but, I would think that since the page
itself is not being reloaded, that IE could use THE SAME 2 IMAGES.
Microsoft mentions this "feature" and offers a fix that... SURPRISE,
doesnt work. Firefox displays the images on the buttons flawlessly.
Are there any javascript solutions to alternating images back and
forth using some sort of timer, that will NOT cause this Internet
Explorer bug... i mean... feature? Preloading doesn't seem to work.
Thanks.
How about using sprites:http://alistapart.com/d/sprites/ala-buttons1.html
article:http://alistapart.com/articles/sprites
you could go nuts with it:http://slotmachine.braincast.nl/
<cut><paste><cut... ehrmm.. where was I?>
Thanks for the reply Marc. That slot machine seems to work flawlessly
even with IE set to "every visit to the page". Now if i could only
figure out how he did it!
You could use Firefox and install firebug and check out the code... ;)
Be careful though... 'he' did a lot of animation with animated gifs... but
the buttons work with sprites, check for instance the play button:http://slotmachine.braincast.nl/images/play.gif
'he' used css clip for the the sprites but that seems a bit old fashioned
now a days... you'd better check the article:http://alistapart.com/articles/sprites
hmmm... nothing works. I think that slot machine maybe is reloading
images so small that they are not even noticed. My guess is that
Internet Explorer just doesnt handle images corectly and nothing can
be done until microsoft decides to fix it.
On Apr 16, 7:14 pm, OBAFGKM_...@yahoo.com wrote:
I'll see if i can figure out how it was done. Thanks again for
pointing me in the right direction.
On Apr 16, 5:34 pm, "Marc" <sorry...@dirtymail.comwrote:
<OBAFGKM_...@yahoo.comwrote in message
news:11**********************@p77g2000hsh.googlegr oups.com...
On Apr 16, 3:26 pm, "Marc" <sorry...@dirtymail.comwrote:
><OBAFGKM_...@yahoo.comwrote in message
>>news:11**********************@n59g2000hsh.google groups.com...
>I have a javascript timer on my page that counts to 10. Every half
second it alternates images on my buttons from a lighter image to a
darker image, giving the appearance of the buttons blinking. The
problem is, when my Internet Explorer options are set to Check for
newer versions of the page: Every visit to the page, IE will download
those same 2 images every single time from the server. That's 20
downloads in 10 seconds for 2 images. This:
1. Creates a lag time
2. Shows the plain button in between switching from one image to
the other
3. Changes my cursor from the arrow to the hour glass back and
forth 20 times in 10 seconds
4. Constantly displays images being downloaded on the taskbar
Maybe I'm asking for too much but, I would think that since the page
itself is not being reloaded, that IE could use THE SAME 2 IMAGES.
Microsoft mentions this "feature" and offers a fix that... SURPRISE,
doesnt work. Firefox displays the images on the buttons flawlessly.
Are there any javascript solutions to alternating images back and
forth using some sort of timer, that will NOT cause this Internet
Explorer bug... i mean... feature? Preloading doesn't seem to work.
Thanks.
>How about using sprites:http://alistapart.com/d/sprites/ala-buttons1.html
>article:http://alistapart.com/articles/sprites
>you could go nuts with it:http://slotmachine.braincast.nl/
<cut><paste><cut... ehrmm.. where was I?>
Thanks for the reply Marc. That slot machine seems to work flawlessly
even with IE set to "every visit to the page". Now if i could only
figure out how he did it!
You could use Firefox and install firebug and check out the code... ;)
Be careful though... 'he' did a lot of animation with animated gifs... but
the buttons work with sprites, check for instance the play button:http://slotmachine.braincast.nl/images/play.gif
'he' used css clip for the the sprites but that seems a bit old fashioned
now a days... you'd better check the article:http://alistapart.com/articles/sprites This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave |
last post by:
Dear Sirs,
Is there a way to get the width and height of an image without
downloading the image, or with just downloading a minimal portion of
the image?
For instance, I have a list of 10,000...
|
by: TJ |
last post by:
Hi,
I've written code web-based uploading and downloading.
Here is some code for it.
For saving file into MS-SQL database,
SaveFileIntoDB(HttpPostedFile file) {
int fileLength =...
|
by: Doug van Vianen |
last post by:
Hi,
Is there some way in JavaScript to stop the downloading of pictures from a
web page?
Thank you.
Doug van Vianen
|
by: Trapulo |
last post by:
Hi, I've a big trouble with an asp.net page.
Basically, the page has an swf that starts and downloads some data from an
other asp.net page. The application works well on my testing IIS 6, but...
|
by: rony_16 |
last post by:
Hi,
I have a problem downloading a file .
after i connect to the website and get the stream , i treing to write
the file on the HD.
public void SaveStreamToFile(string filePath, Stream stream)
{...
|
by: Chuck Renner |
last post by:
Please help!
This MIGHT even be a bug in PHP!
I'll provide version numbers and site specific information (browser, OS,
and kernel versions) if others cannot reproduce this problem.
I'm...
|
by: keerthyragavendran |
last post by:
hi
i'm downloading a single file using multiple threads...
how can i specify a particular range of bytes alone from a single
large file... for example say if i need only bytes ranging from...
|
by: archulu |
last post by:
hai this is archulu, i have a some confusion and doubt in my downloading program.that doubt was in my program i am upload some gif and img file to some path.it's good, after usage of that image i...
|
by: Nik0001 |
last post by:
Hello everyone!
I have the following problem
I need to download several HTML pages and get meta-tags out of the
code. I decided it would be better to download only the meta-tags
rather than...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |