Wednesday, March 21, 2012

Atlas quirk in IE 6

Hello all,
First time Atlas user over here, and I just wanted to say that I'm damn impressed with the toolkit.. that and I've noticed a graphical quirk in IE when using Atlas.

I currently have a master page with everything positioned in CSS (menus, background, content etc). I have a small section of my default webpage use atlas to update a a label from a textbox after I click a submit button (basically: lblChat.text=TextBox1.text;). The thing works fine in firefox, however, in IE 6 when I click on the submit button the background of the webpage flashes to grey for a second (the page doesn't refresh though, just the background disappears for a second).

I have set the background of the webpage in a CSS file as follows:
body
{
background-image: url(Images/background.jpg);
background-attachment: fixed;
}

Any idea why this is happening?

Thanks.

Styles are re-sent to the page on any callback, to enable the serv-erside processing to change the stylesheet as well as the data. So if the background is set via CSS, this will refresh, and may cause a flicker as the browser re-paints.

It does seem like a pain in situations like yours, but it is really handy being able to change the styles for the whole page without having to re-query the data for the whole thing (when you want that behaviour).

Richard.

No comments:

Post a Comment