Difference between revisions of "User:Schaumbe"

From AlchemistryWiki
Jump to navigation Jump to search
m (testing <noscript> tag, doesn't work)
Line 5: Line 5:
 
= Testing noscript warnings =
 
= Testing noscript warnings =
  
 +
How to warn users that javascript is required on this wiki?
 +
 +
* Approach 1: use noscript tags:
 
<noscript>WARNING: this wiki requires JavaScript to render math formulas.  Please enable JavaScript.</noscript>
 
<noscript>WARNING: this wiki requires JavaScript to render math formulas.  Please enable JavaScript.</noscript>
  
 +
* Approach 2: use #tag:noscript:
 
{{#tag:noscript|WARNING: this wiki requires JavaScript to render math formulas.  Please enable JavaScript.}}
 
{{#tag:noscript|WARNING: this wiki requires JavaScript to render math formulas.  Please enable JavaScript.}}
 +
 +
* Appracoh 3: just warn, no tag wrappers:
 +
WARNING: this wiki requires JavaScript to render math formulas.  Please enable JavaScript.

Revision as of 21:21, 5 March 2014

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:

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

  • Approach 2: use #tag:noscript:

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

  • Appracoh 3: just warn, no tag wrappers:

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