User:Schaumbe

From AlchemistryWiki
Revision as of 22:00, 5 March 2014 by Schaumbe (talk | contribs) (→‎Testing noscript warnings)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Andrew Schaumberg. schaumberg.andrew@gmail.com

Currently a software dev at DOE JGI, part of prokaryotic superprogram.

Testing noscript warnings

How to warn users that javascript is required on this wiki?

  • Approach 1: use noscript tags (problem: <noscript> tags are rendered as plaintext):

<noscript>WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript.</noscript>

  • Approach 2: use #tag:noscript (problem: requires a parser function for the noscript tag, I guess):

<noscript>WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript.</noscript>

  • Approach 3: just warn, no tag wrappers (problem: everyone sees the warning, even w/ JS):

WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript.