Forum Moderators: open

Message Too Old, No Replies

Style sheet change over

All working bar 1 little problem

         

collymellon

8:17 am on Jun 23, 2005 (gmt 0)

10+ Year Member



Hope all is well.

I have a nice bit of javascript code that enables users to change style sheet at the click of a button - this changes the colour contrast in pages for people with visual impairment. All works fine except one little problem -

When switching to black background then back to white a little bar about 10px high stays black at the bottom of the page, minimize the window and then restore the black bar has disapeered..

Is this a browser problem? has anyone experienced this before?

Thanks for reading.

rocknbil

5:32 pm on Jun 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually, yes, or something like it. It's either a) a redraw problem with the browser, or b) something wonky with the video card or the way the system's redrawing the display. I've seen it on various systems from win98 to win2K but can't say I've seen it on XP yet.

Basically some portion of the previous page state remains on the page until you scroll out, min/max the window, or close/reopen the program.

Sometimes it's really bad if you have many apps open and it's taxing your RAM, and it's not limited to browsers.

I notice these artifacts (that's what we called them in printing/DTP, any unexplainable pain in the neck is an "artifact") appear more often on pages that cause the browser to suck up CPU/RAM, like pages with more than one extremely long select list or a resource-intensive Java/Flash object.