Sent by Gene LeFave on 22 February 2002 15:03
Austin,
Thanks for your great advice. I bracketed the page
with:
<style type="text/css">
<!--
a{visibility : hidden;}
-->
</style>
and
<style type="text/css"><!--
a{visibility : visible;}
-->
</style>
it works great!
The reason the page is long is that it is the results
of a library catalog search. If there are a lot of
hits I display 20 catalog entries at a time. Since
some users are local, (where short pages won't have a
lot of comm. overhead), and some users are on modem
connections... well it was just a compromise.
Gene
Date sent: Fri, 22 Feb 2002 11:21:52 -0600
From: Austin Govella
[EMAIL-REMOVED]>
Organization: Desire Media
To: [EMAIL-REMOVED], css-
[EMAIL-REMOVED]
Subject: Re: [css-d] link disable
> Gene LeFave wrote:
>
> > The short question is:
> >
> > Is it possible using CSS to disable links on a page
> > until the page is fully loaded?
> >
> >
> > What I have is a rather long form with a lot of links
> > and check boxes on it. If a user clicks on a link
> > before the page is completely received information pre
> > filled by the server is lost. This is particularly a
> > problem with check boxes. There is no way a server
> > can tell if a box is unchecked or not there.
> >
> > I'm already using javascript to actually disable the
> > function, but even so, once clicked the page never
> > completes. If there were a CSS way to disable all
> > links on a page I think that would be an ideal
> > solution.
>
>
> Maybe you could set the display for everything to hidden. Then when an
> element at the bottom of the page loads, have it change everything to
> visible. If you put the object at the very bottom of the page, it should
> be one of the last things to load.
>
> Alternately, you could split the form into multiple pages so it doesn't
> take so long to load. It sounds like this is an issue as much as
> anything: impatient visitors clicking on things while they wait for the
> form to finish loading.
>
>
>
>
>