Javascript: Créer des ancres pour naviguer dans une page


  

  
  
     


Exemple des ancres /title>
<script>
function goNextAnchor(where) {
    </pre>
</td>
</tr>
</tbody>
</table>
    </div><!-- .entry-content --> 

    <a href="https://java.mesexemples.com/author/admin/" title="Posts by java" rel="author">java</a><!-- author -->

  </div><!-- .card-body --> 

</article><!-- #post-5952 -->

<article id="post-5983" class="post-card post-5983 post type-post status-publish format-standard hentry category-html-javascript tag-button tag-element tag-form tag-html tag-input tag-java tag-javascript-2">
  
  <!-- .card-media --> 

  <div class="card-body">
    
    <time>20 June 2014</time><!-- date/time -->

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/javascript/html-javascript/javascript-ajouter-une-ou-plusieures-lignes-a-une-table/" rel="bookmark">Javascript: Ajouter une ou plusieures lignes à une table</a></h2>    </header><!-- .entry-header --> 

    <div class="entry-meta">
      <a href="https://java.mesexemples.com/javascript/html-javascript/" rel="category tag">html</a>    </div><!-- .entry-meta -->

    <div class="entry-content">
      <table>
<tbody>
<tr>
<td><a href="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg"><img decoding="async" loading="lazy"  title="Javascript: Ajouter une ou plusieures lignes à une table" src="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg" alt="" width="80" height="80" /></a></td>
<td>
<pre lang='javascript'><pre lang='javascript'><html>
  <head>

  </head>
  <body>
     <html>
<head>

<script type="t</pre>
</td>
</tr>
</tbody>
</table>
    </div><!-- .entry-content --> 

    <a href="https://java.mesexemples.com/author/admin/" title="Posts by java" rel="author">java</a><!-- author -->

  </div><!-- .card-body --> 

</article><!-- #post-5983 -->

<article id="post-5979" class="post-card post-5979 post type-post status-publish format-standard hentry category-html-javascript tag-button tag-element tag-form tag-html tag-input tag-java tag-javascript-2">
  
  <!-- .card-media --> 

  <div class="card-body">
    
    <time>19 May 2014</time><!-- date/time -->

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/javascript/html-javascript/javascript-ajouter-des-frames-dans-une-balise-table/" rel="bookmark">Javascript: Ajouter des frames dans une balise table</a></h2>    </header><!-- .entry-header --> 

    <div class="entry-meta">
      <a href="https://java.mesexemples.com/javascript/html-javascript/" rel="category tag">html</a>    </div><!-- .entry-meta -->

    <div class="entry-content">
      <table>
<tbody>
<tr>
<td><a href="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg"><img decoding="async" loading="lazy"  title="Javascript: Ajouter des frames dans une balise table" src="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg" alt="" width="80" height="80" /></a></td>
<td>
<pre lang='javascript'><pre lang='javascript'><html>
  <head>

  </head>
  <body>
     <html>
<head>

<script type="text/javascript"</pre>
</td>
</tr>
</tbody>
</table>
    </div><!-- .entry-content --> 

    <a href="https://java.mesexemples.com/author/admin/" title="Posts by java" rel="author">java</a><!-- author -->

  </div><!-- .card-body --> 

</article><!-- #post-5979 -->

<article id="post-5946" class="post-card post-5946 post type-post status-publish format-standard hentry category-html-javascript tag-anchor tag-form tag-html tag-input tag-java tag-javascript-2 tag-length">
  
  <!-- .card-media --> 

  <div class="card-body">
    
    <time>13 May 2014</time><!-- date/time -->

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/javascript/html-javascript/javascript-obtenir-le-nombre-de-point-dancrage-dune-page/" rel="bookmark">Javascript: Obtenir le nombre de point d’ancrage d’une page</a></h2>    </header><!-- .entry-header --> 

    <div class="entry-meta">
      <a href="https://java.mesexemples.com/javascript/html-javascript/" rel="category tag">html</a>    </div><!-- .entry-meta -->

    <div class="entry-content">
      <table>
<tbody>
<tr>
<td><a href="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg"><img decoding="async" loading="lazy"  title="Javascript: Obtenir le nombre de point d'ancrage d'une page" src="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg" alt="" width="80" height="80" /></a></td>
<td>
<pre lang='javascript'><SCRIPT LANGUAGE="JavaScript">
function suivantAnchor(where) {
    window.location.hash = where
}
</SCRIPT>
</head>
<body>
<a name="haut"><h1>Haut</h1></a>
</pre>
</td>
</tr>
</tbody>
</table>
    </div><!-- .entry-content --> 

    <a href="https://java.mesexemples.com/author/admin/" title="Posts by java" rel="author">java</a><!-- author -->

  </div><!-- .card-body --> 

</article><!-- #post-5946 -->

<article id="post-5966" class="post-card post-5966 post type-post status-publish format-standard hentry category-html-javascript tag-button tag-document tag-element tag-html tag-input tag-java tag-javascript-2">
  
  <!-- .card-media --> 

  <div class="card-body">
    
    <time>7 April 2014</time><!-- date/time -->

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/javascript/html-javascript/javascript-exemple-dutilisation-de-lattribut-noshade-de-la-balise/" rel="bookmark">Javascript: Exemple d’utilisation de l’attribut noShade de la balise <hr /></a></h2>    </header><!-- .entry-header --> 

    <div class="entry-meta">
      <a href="https://java.mesexemples.com/javascript/html-javascript/" rel="category tag">html</a>    </div><!-- .entry-meta -->

    <div class="entry-content">
      <table>
<tbody>
<tr>
<td><a href="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg"><img  title="Javascript: Exemple d'utilisation de l'attribut noShade de la balise 

<hr />
<p>” src=”http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg” alt=”” width=”80″ height=”80″ /></a></td>
<td>
<pre lang='javascript'><script language="JavaScript">
    function shadeit() {
        document.getElementById("bHR").noShade = false
    }
</pre>
</td>
</tr>
</tbody>
</table>
    </div><!-- .entry-content --> 

    <a href="https://java.mesexemples.com/author/admin/" title="Posts by java" rel="author">java</a><!-- author -->

  </div><!-- .card-body --> 

</article><!-- #post-5966 -->

<article id="post-6003" class="post-card post-6003 post type-post status-publish format-standard hentry category-date-time tag-alert tag-date tag-form tag-html tag-input tag-java tag-javascript-2">
  
  <!-- .card-media --> 

  <div class="card-body">
    
    <time>26 March 2014</time><!-- date/time -->

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/javascript/date-time/javascript-verifier-le-format-dune-date-a-laide-dune-expression-reguliere/" rel="bookmark">Javascript: Vérifier le format d’une date à l’aide d’une expression régulière</a></h2>    </header><!-- .entry-header --> 

    <div class="entry-meta">
      <a href="https://java.mesexemples.com/javascript/date-time/" rel="category tag">date-time</a>    </div><!-- .entry-meta -->

    <div class="entry-content">
      <table>
<tbody>
<tr>
<td><a href="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg"><img decoding="async" loading="lazy"  title="Javascript: Vérifier le format d'une date à l'aide d'une expression régulière" src="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg" alt="" width="80" height="80" /></a></td>
<td>
<pre lang='javascript'><pre lang='javascript'><html>
  <head>

  </head>
  <body>
    <HTML>
<HEAD>
<TITLE>Vérification des Format