FLUID-1850: Add support for progressive enhancement to the template markup and code.

Metadata

Source
FLUID-1850
Type
Sub-issue
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2008-11-27T13:20:10.000-0500
Updated
2011-01-19T08:27:11.263-0500
Versions
N/A
Fixed Versions
  1. 0.6
Component
  1. Uploader

Description

Comments

  • Colin Clark commented 2008-12-05T20:34:06.000-0500

    Support for progressive enhancement was added through two mechanisms:

    1. A new JavaScript file called ProgressiveEnhancement.js that you can add to any page. It will hide any elements with a class of ".fl-progressive-enhanceable" if JavaScript is present. On the other side, fluid.layout.css now hides anything with a class of .fl-progressive-enhancer using CSS.

    2. A new creator function for Uploader, somewhat awkwardly named progressiveEnhanceableUploader(), which checks for the necessary version of Flash. If it's not present, it unhides the enhanceable. If it is present, it unhides the enhancer.