History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: POSI-35
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Peterson
Reporter: Jason Dillon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Composition Plugin

Add configuration property to force assume Javascript

Created: 09/Dec/05 11:30 PM   Updated: 08/Jul/06 02:36 PM
Component/s: None
Affects Version/s: 1.4.6
Fix Version/s: 2.0

Time Tracking:
Not Specified


 Description  « Hide
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



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Peterson - 08/Jul/06 02:36 PM
The plugin now hides decks by default and cloaks if they are set to be initially invisible. If you wish to have them visible prior to Javascript intevention, there are two options.

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}