On 10/12/2005, at 8:53 AM, Jason Dillon wrote:
Hey, is there anyway that I could flip a switch (config property) which would make these plugins assume that Javascript is there, so the page could render with these hidden and let JS show them?
I'm willing to assume that all my corporate users are using a modern browser with JS enabled.
--jason
On Nov 7, 2005, at 3:14 PM, Guy Fraser wrote:
Not at present - it's a trade-off for accessibility with browsers that don't support JS or other features required to show/hide content, etc.
All the content is displayed until the page has loaded at which point JS kicks in and hides the stuff that should be hidden. This means that on various browsers, or versions of browsers, that break horribly or are used with JS switched off, the content is still usable.
Future enhancements may lessen the effect of the "visible until loaded" issue, but we're not found a clean way to get rid of it just yet. That being said, I know David Peterson has a habbit of pulling rabbits out of a hat in such circumstances - perhaps he's already working on a solution to this?
Regards,
Guy Fraser
http://adaptavist.com
Jason Dillon wrote:
Hi, just curious why pages that use the deck/cloak macros show all of the page content the first time the page is loaded?
Its very distracting/confusing to users.
Is there anyway around this?
--jason
To apply it across the whole page, add the following to {composition-setup}
deck.startHidden = false
card.startHidden = false
To apply it to specific decks or cloaks (or override the page-wide setting):
{deck:id=xxx|startHidden=false}...{deck} {cloak:id=xxx|startHidden=false}
...{cloak}