Author |
Topic  |
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 18 January 2003 : 13:35:03
|
I have a table cell that I'm using onMouseOver to change the style. In IE the change is slow. What is causing this and how do I fix it? I searched on Google, but didn't get very far. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 18 January 2003 : 13:50:19
|
Are you changing colors and/or font attributes, or are you changing images? I've only seen "lags" in IE when it came to swapping images, mainly because I've never figured out how to pre-load images in IE. But swapping styles has never given me any problems... |
 |
|
VodkaFish
Average Member
  
USA
654 Posts |
Posted - 18 January 2003 : 14:16:51
|
This usually has to do with preloading the images. I suggest looking for a preload script, or even playing around in something like Dreamweaver, which has a decent rollover script built-in. |
v ø d k â f ï § h |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
DavidRhodes
Senior Member
   
United Kingdom
1222 Posts |
Posted - 18 January 2003 : 14:38:00
|
As FrutZle says, mouseovers on colour changes are immediate, your not using Filters by any chance, they are slow. |
The UK MkIVs Forum |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 18 January 2003 : 14:44:45
|
What code are you using? Is there anything on the pages that could cause the delay in the swapping of the colors? |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 18 January 2003 : 15:26:32
|
<td onMouseOver="this.className='calh'" onMouseOut="this.className='cal'">
that's what I'm using - I had tried just doing this.style.background-Color also but same result.
BTW - it acts as I expect it to in Netscape |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
Edited by - Nikkol on 18 January 2003 15:27:02 |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 18 January 2003 : 15:33:09
|
I used to use the same code except I didn't have this. in front of ClassName. I doubt that makes any difference though. |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 18 January 2003 : 16:08:06
|
Could you remove the custom cursor and see if that makes a difference. I have the feeling that that's what causing the delay. |
 |
|
D3mon
Senior Member
   
United Kingdom
1685 Posts |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 18 January 2003 : 16:30:35
|
I used a set of custom cursors on my site for a while, but didn't like them in the end. They're annoying IMO, mainly because they're not what you expect, and I find them easier to loose on the screen. It's kind of like those custom colored scroll bars... I'd rather not see those either.
As for a delay... there doesn't appear to be one for the changing colors, but there is one when the cursor has to be loaded, which happens a lot because of the cellspacing in the calendar.
|
 |
|
TestMagic
Senior Member
   
USA
1568 Posts |
Posted - 18 January 2003 : 16:30:42
|
Pretty fast for me, too. The only way I could get a lag was by moving the cursor very, very fast across the cells. Nice site design, btw. |
Snitz rocks! · Search 2 |
 |
|
asp_storm
Average Member
  
USA
787 Posts |
Posted - 18 January 2003 : 16:30:56
|
quote: Originally posted by D3mon
Instant color change on my browser.
(XP Pro, IE6.0.2800)
same here |
.:|:. Ryan.:|:. Snitz Resources: Setup - SnitzBitz - Do's And DONTS
|
 |
|
Topic  |
|