[thelist] Stylesheet switching Jitters
VOLKAN ÖZÇELİK
volkan.ozcelik at gmail.com
Tue Mar 8 09:33:21 CST 2005
This was a problem listed in A List Apart I suppose. but I cannot
remember its exact location.
<head>
<script></script>
<style>
</style>
</head>
was causing the problem, but reordering the structure was magically solving it:
<head>
<style>
</style>
<script></script>
</head>
can this be relevant for your case?
cheers,
Volkan.
On Tue, 08 Mar 2005 09:53:12 -0500, Sam Carter <sam at iness.com> wrote:
> I've got a client-side stylesheet switcher which uses a session cookie
> to remember which "alternate" stylesheet is currently active.
>
> The alternate sheet is a black background/white text, and results in a
> white flash every time a new page is loaded (due to the slight delay it
> takes to execute the switching JavaScript). Oddly, this flash only
> occurs when the new page has a graphic element. It seems IE initiates
> the image loads before executing the JavaScript giving enough time for
> the white-background stylesheet to be applied for a brief moment.
>
> This may be unavoidable, but I was wondering if others experience the
> same using client side stylesheet switching? Is there a solution to
> prevent the display until the current stylesheet is applied?
>
> Sam
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list