https://bugzilla.wikimedia.org/show_bug.cgi?id=30497

       Web browser: ---
             Bug #: 30497
           Summary: Add css class discern clients without Javascript on
           Product: MediaWiki
           Version: 1.17.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: j...@compwhizii.net
                CC: tpars...@wikimedia.org
    Classification: Unclassified


Add a class to the HTML element to identify clients that have Javascript on
would aid developers in hiding things that are Javascript only and do not have
a fallback, without having to add them via Javascript.

Example:

 .client-nojs #someThing { display: none }

Would hide the #someThing element from showing when Javascript was off, and

 .client-js #gizmo { color: blue; 

Would set #gizmo to have a blue text color when javascript was on

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to