Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stoid

macrumors 601
Original poster
example

I'm having problems with Safari not redrawing a portion of the window correctly. I have a series of divs for navigation across the top of the page, and the selected div is changed by a javascript function called when the link is clicked. When a second link is clicked, the white area not replaced by the receding div is left behind as an ugly looking artifact. Changing to another tab and back, or resizing the window gets Safari to redraw properly. I've tried adding a javascript routine that resizes the window a pixel smaller, then a pixel larger, and this fixes Safari, but reeks havok with maximized windows in Firefox IE. Anyone else experienced/solved this problem?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.