Valid XHTML    Valid CSS2    

Listing du fichier testjs.htm

 

00001     <?xml version="1.0" encoding="ISO-8859-1" ?>
00002     <!DOCTYPE html
00003      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
00004      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
00005     <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
00006     <head>
00007     <style type="text/css"><!--
00008     .jsoui { font-size : 200% ; color : #000088 }
00009     .jsnon { font-size : 200% ; color : #880000 }
00010     --></style>
00011     <title>
00012     Test pour savoir si javascript est actif
00013     </title>
00014     </head>
00015     <body background="beige.jpg">
00016     <p>&nbsp;</p>
00017     <h1>&nbsp;
00018     Test pour savoir si javascript est actif
00019     </h1>
00020     <p>
00021     &nbsp;
00022     </p>
00023     <blockquote>
00024     <!--- ================ -->
00025     
00026     <script type="text/javascript" language="javascript">
00027     //<![CDATA[
00028     document.write('<span class=\'jsoui\'>') ;
00029     document.write('Si vous lisez ceci, c\'est que Javascript est actif.') ;
00030     document.write('<\/span>') ;
00031     //]]>
00032     </script>
00033     
00034     <noscript>
00035     <span class="jsnon">
00036     Si vous lisez ceci, c'est que Javascript est inactif.
00037     </span>
00038     </noscript>
00039     
00040     <p>&nbsp;</p>
00041     <p>&nbsp;
00042     <script type="text/javascript" language="javascript">
00043     //<![CDATA[
00044     document.write('... et vous utiliser sans doute ') ;
00045     document.write(navigator.appName) ;
00046     document.write(' sous ') ;
00047     document.write(navigator.platform) ;
00048     //]]>
00049     </script>
00050     
00051     </p>
00052     
00053     <p>&nbsp;</p>
00054     <b>Rappel :</b>
00055     <br />
00056     <blockquote>
00057     pour Firefox 2, utiliser le menu Edition/Préférences, onglet Contenu, case javascript
00058     ou le menu Outils/Options. Lire également <a href="http://www.maboite.qc.ca/activation_js.html">activation</a>.
00059     </blockquote>
00060     <p>&nbsp;</p>
00061     
00062     <!--- ================ -->
00063     
00064     <a href="http://www.info.univ-angers.fr/pub/gh/"><img src="return.gif" alt="retour gH" /></a>
00065     &nbsp;&nbsp;&nbsp;Retour à la page principale de &nbsp;
00066     <font color="#008800">(gH)</font>
00067     <p>&nbsp;</p>
00068     <p>&nbsp;</p>
00069     <p>&nbsp;</p>
00070     
00071     </blockquote>
00072     </body>
00073     </html>

Pour ne pas voir les numéros de ligne, ajoutez &nl=non à la suite du nom du fichier.

 

 

retour gH    Retour à la page principale de   (gH)