Sent by David Gee on 1 August 2002 16:04
I have a page which contains 5 or 6 divs which I am using Javascript to
toggle the "display" style between "block" and "none" when the user mouses
over certain images. Works fine, except when I have any scrollable elements
on the page (DIVs with overflow: scroll, IFRAMES, etc) - when I have these
elements on the same page, on mouseover, the scrollable container jumps up
about 10 pixels for about 1 second, and then goes back down.
The elements I am toggling the display style on are nowhere near the
scrollable elements either on the viewable page or in the markup, so it's
not that they're jumping up to fill a hole caused by the "display: none".
Has anyone else encountered this bug, and/or know a workaround? On certain
pages, I've changed from toggling the display element to just toggling the
width and height to 0px and back again, but this is not always an option.
david
----- Original Message -----
From: "Tom Dell'Aringa" [EMAIL-REMOVED]>
To: [EMAIL-REMOVED]>
Sent: Thursday, August 01, 2002 10:58 AM
Subject: Re: [css-d] re: fluid 3-column, next hurdle [solved i think!]
> --- "lon.kraemer" [EMAIL-REMOVED]> wrote:
> > I had no problems, Tom.
> > I IDd the logo image and ruled position:absolute;left:0;right:0;,
> > and
> > wrapped the link around it. No need for a div!
> > I made an image for the right background and in the body rule:
> > background: #cccc99 url(greybg.jpg) repeat-y right;
> >
> > http://members.telocity.com/lwkraemer/pixelmech/index.html
> > http://members.telocity.com/lwkraemer/pixelmech/pix.css
> >
> > HTH
> > --
> > Lon Kraemer
>
> Lon, you are the man! I misunderstood, too in using a div.
> AND..uh...i guess I should have use Y and not X (DOH!).
>
> Now I just hope this still works across browsers...if folks wouldn't
> mind one more look at my home page:
>
> http://www.pixelmech.com/
>
> Keeping fingers crossed...
>
> Tom
>
> =====
> var me = tom.pixelmech.webDeveloper();
>
> http://www.pixelmech.com/
> http://www.maccaws.com/
> [Making A Commercial Case for Adopting Web Standards]
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> _______________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://two.pairlist.net/mailman/listinfo/css-discuss
> Sponsored by www.westciv.com - CSS resources | software | learning