[thelist] text problem

Rob Whitener rwhitener at DesignOptions.com
Thu Feb 13 12:03:01 CST 2003


That is a better solution:
Default visibility is "visible".
At the begining of the onload routine set visibility to "hidden"
perform your preloading and then set visibility to "visible" again

Rob

-----Original Message-----
From: shawn allen [mailto:shawn at alterior.net]
Sent: Thursday, February 13, 2003 12:53 PM
To: 'thelist at lists.evolt.org'
Subject: Re: [thelist] text problem


quoth Rob Whitener:
> > -----Original Message-----
> > From: BreezyGraphics at aol.com [mailto:BreezyGraphics at aol.com]
> >
> > I make graphic dependent sites. My problem is that the text loads
> > before the graphics, losing the whole effect of the gui. Anyone help
> > me with a snippet or something that will load the graphics before
> > the text?  Thanks and have a great day, Breezy.
>
> One thing I have done is to set the visible attribute of elements to
> "hidden" by default.  Write a routine that preloads images and set
> that as the onLoad handler.  Once the images have finished loading,
> set all of your elements to visible.

If you're going to follow through with this, be sure to set the
visibility property to hidden /in javascript/, rather than in your CSS.
Otherwise, users with javascript disabled won't see anything (since the
onLoad handler won't be called to make them visible).

--
shawn allen
  mailto://shawn@alterior.net
  phone://415.577.3961
  http://alterior.net
  aim://shawnpallen

--
* * 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