Tags:
create new tag
, view all tags

Feature Proposal: New auto mode for Twisty Plugin

Motivation

Better usability and less confusion when using the TwistyPlugin.

Description and Documentation

TWikibug:Item6242 was filed out of a confusion/usability issue: The default mode="span" breaks twisties when the twisty contains block elements, such as div tags, more than one paragraph, tables or bullets.

DontMakeMeThink proposal to fix the usability issue:

  • Add a new mode="auto" that uses a span tag if content within twisty is not a block element, else uses the div tag.
  • Make the mode="auto" the default mode, augmenting the existing mode="span" and mode="div".

There is a slight chance that some existing content will behave differently. However, currently if a twisty containing block elements is used without the div mode, the plugin generates invalid HTML.

Examples

Impact

WhatDoesItAffect: Usability

Implementation

-- Contributors: PeterThoeny - 2011-12-15

Discussion

Accepted now based on 7 day feedback period rule.

-- PeterThoeny - 2012-01-02

 
Topic revision: r2 - 2012-01-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.