473,322 Members | 1,417 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,322 software developers and data experts.

CSS Hovers not smooth in IE but look great in everything else --

Hi all,

Thanks to Els from another post I got my CSS hover-overs working in IE,
Firefox, and about everything else I've tried. Problem is the CSS
hover overs are VERY choppy in IE while very smooth in everything else.
Any ideas???

Here's the URL: http://tinyurl.com/9v9of

And here's my CSS:
img.left_nav_1 {background: transparent;}
a.left_nav_1 img {background : url(/images/rollovers_01.gif);}
a.left_nav_1:hover img {background :
url(/images/rollovers_01-over.gif);}

img.left_nav_2 {background: transparent;}
a.left_nav_2 img {background : url(/images/rollovers_02.gif);}
a.left_nav_2:hover img {background :
url(/images/rollovers_02-over.gif);}

img.left_nav_3 {background: transparent;}
a.left_nav_3 img {background : url(/images/rollovers_03.gif);}
a.left_nav_3:hover img {background :
url(/images/rollovers_03-over.gif);}

img.left_nav_4 {background: transparent;}
a.left_nav_4 img {background : url(/images/rollovers_04.gif);}
a.left_nav_4:hover img {background :
url(/images/rollovers_04-over.gif);}

img.left_nav_5 {background: transparent;}
a.left_nav_5 img {background : url(/images/rollovers_05.gif);}
a.left_nav_5:hover img {background :
url(/images/rollovers_05-over.gif);}

In IE it often doesn't revert back to the non-hover image when the
mouse is moved, and it's very sluggish. I don't have any javascript to
preload the images yet, but this shouldn't cause such sluggish
response.

Any ideas ??? Thanks,

Sam

Jul 21 '05 #1
3 4477

Alex wrote:
Hi all,

Thanks to Els from another post I got my CSS hover-overs working in IE,
Firefox, and about everything else I've tried. Problem is the CSS
hover overs are VERY choppy in IE while very smooth in everything else.
Any ideas???

Sam


Use one image for both states and change the background-position on hover.

Regards,
Jasper

--

Jasper
http://browservulsel.blogspot.com/
Jul 21 '05 #2
Also sprach Jasper de Vries:
Use one image for both states and change the background-position on
hover.


I have noticed that, depending on cache settings (and version?) IE will
still get another copy of the image from the server, so that browser
spoils - again - an otherwise perfect solution :-(

Jul 21 '05 #3
have you tried to 'preload' rollover images in <body> tag?


"Alex" <sa*****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hi all,

Thanks to Els from another post I got my CSS hover-overs working in IE,
Firefox, and about everything else I've tried. Problem is the CSS
hover overs are VERY choppy in IE while very smooth in everything else.
Any ideas???

Here's the URL: http://tinyurl.com/9v9of

And here's my CSS:
img.left_nav_1 {background: transparent;}
a.left_nav_1 img {background : url(/images/rollovers_01.gif);}
a.left_nav_1:hover img {background :
url(/images/rollovers_01-over.gif);}

img.left_nav_2 {background: transparent;}
a.left_nav_2 img {background : url(/images/rollovers_02.gif);}
a.left_nav_2:hover img {background :
url(/images/rollovers_02-over.gif);}

img.left_nav_3 {background: transparent;}
a.left_nav_3 img {background : url(/images/rollovers_03.gif);}
a.left_nav_3:hover img {background :
url(/images/rollovers_03-over.gif);}

img.left_nav_4 {background: transparent;}
a.left_nav_4 img {background : url(/images/rollovers_04.gif);}
a.left_nav_4:hover img {background :
url(/images/rollovers_04-over.gif);}

img.left_nav_5 {background: transparent;}
a.left_nav_5 img {background : url(/images/rollovers_05.gif);}
a.left_nav_5:hover img {background :
url(/images/rollovers_05-over.gif);}

In IE it often doesn't revert back to the non-hover image when the
mouse is moved, and it's very sluggish. I don't have any javascript to
preload the images yet, but this shouldn't cause such sluggish
response.

Any ideas ??? Thanks,

Sam

Jul 21 '05 #4

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

Similar topics

1
by: Alex | last post by:
Hi all, Thanks to Els from another post I got my CSS hover-overs working in IE, Firefox, and about everything else I've tried. Problem is the CSS hover overs are VERY choppy in IE while very...
4
by: Just Me | last post by:
I want to make a small window popup when the mouse hovers. I've looked in the Help but can't find any info (probably can't think of a good keyword) Are ToolTips control used for that? Any...
2
by: Khadim | last post by:
Friends, The problem I am facing is that when my form resizes or is loaded (invalidated), the background image of my form (which i have drawn through GDI+ and also by putting a picture box on...
2
by: JD | last post by:
Hello, I have webcams, and I want to display the images (jpg) from the cameras on a webpage, refreshed continuously. For a smooth transition I found a script that utilises double buffering....
0
by: evan | last post by:
Hi, Pleeeeeaaaassseee help. I have spent literally days looking for a solution to this problem but cannot find the solution. Does anyone know how to smooth scroll a listbox? I can scroll using...
1
by: Bishman | last post by:
Hi, I have been trying to get text to scroll smoothly accross a windows form using GDI+ and a timer. Changing the position of the text by a configurable amount and calling invalidate to force a...
1
by: tromton | last post by:
heello, i havee one div element in my site with several anchors, that i link to. to change from anchor to another id like to have a smooth scrolling effect. all the smooth scrolling effects i...
10
VietPP
by: VietPP | last post by:
Hi all, I'm using ComponentOne FlexGrid for VB.NET to display my data. To create a auto scrollbar using a timer object as: Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As...
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...
1
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)...
0
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 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.