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-10194" class="post-card post-10194 post type-post status-publish format-standard has-post-thumbnail hentry category-jpa">
  
      <a class="card-media" href="https://java.mesexemples.com/jpa/java-persistane-exemple-de-duree-de-vie-de-callback-pour-une-sous-classe/" title="Java Persistane: Exemple de durée de Vie de CallBack pour une sous-classe." aria-hidden="true" tabindex="-1">
      <img width="204" height="204" src="https://java.mesexemples.com/wp-content/uploads/2011/07/images3D.jpg" class="really-thumb wp-post-image" alt="" decoding="async" srcset="https://java.mesexemples.com/wp-content/uploads/2011/07/images3D.jpg 204w, https://java.mesexemples.com/wp-content/uploads/2011/07/images3D-150x150.jpg 150w" sizes="(max-width: 204px) 100vw, 204px" />    </a>
  <!-- .card-media --> 

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

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/jpa/java-persistane-exemple-de-duree-de-vie-de-callback-pour-une-sous-classe/" rel="bookmark">Java Persistane: Exemple de durée de Vie de CallBack pour une sous-classe.</a></h2>    </header><!-- .entry-header --> 

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

    <div class="entry-content">
      <pre lang='java'>Fichier: ContractProfesseur.java
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax</pre>
    </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-10194 -->

<article id="post-9643" class="post-card post-9643 post type-post status-publish format-standard hentry category-xml-dom tag-fichier tag-java tag-xml tag-set">
  
  <!-- .card-media --> 

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

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/documents/xml-dom/java-xml-modifier-le-texte-dun-element/" rel="bookmark">Java XML: Modifier le texte d’un élément</a></h2>    </header><!-- .entry-header --> 

    <div class="entry-meta">
      <a href="https://java.mesexemples.com/documents/xml-dom/" rel="category tag">XML et DOM</a>    </div><!-- .entry-meta -->

    <div class="entry-content">
      <table>
<tbody>
<tr>
<td><a href="http://java.mesexemples.com/wp-content/uploads/2012/03/javaimage.jpg"><img decoding="async" loading="lazy"  title="Java XML: Modifier le texte d'un élément" src="http://java.mesexemples.com/wp-content/uploads/2012/03/javaimage.jpg" alt="" width="80" height="80" /></a></td>
<td>
<pre lang='java'>    public void edit(Document doc) {        Element root = doc.getDocumentElement();        Element place = (Element)root.getFirstChild();        Text name </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-9643 -->

<article id="post-9675" class="post-card post-9675 post type-post status-publish format-standard hentry category-xml-dom tag-date tag-dom tag-fichier tag-java tag-list tag-xml">
  
  <!-- .card-media --> 

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

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/documents/xml-dom/java-xml-retourner-un-element-comme-une-valeur-de-type-int/" rel="bookmark">Java XML: Retourner un élément comme une valeur de type int</a></h2>    </header><!-- .entry-header --> 

    <div class="entry-meta">
      <a href="https://java.mesexemples.com/documents/xml-dom/" rel="category tag">XML et DOM</a>    </div><!-- .entry-meta -->

    <div class="entry-content">
      <table>
<tbody>
<tr>
<td><a href="http://java.mesexemples.com/wp-content/uploads/2012/03/javaimage.jpg"><img decoding="async" loading="lazy"  title="Java XML: Retourner un élément comme une valeur de type int" src="http://java.mesexemples.com/wp-content/uploads/2012/03/javaimage.jpg" alt="" width="80" height="80" /></a></td>
<td>
<pre lang='java'>*/


import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.text.ParseException;
import</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-9675 -->

<article id="post-5962" class="post-card post-5962 post type-post status-publish format-standard hentry category-html-javascript tag-frame tag-frames tag-html tag-java tag-javascript-2 tag-name tag-set">
  
  <!-- .card-media --> 

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

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/javascript/html-javascript/javascript-creer-un-frame/" rel="bookmark">Javascript: Créer un frame</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: Créer un frame" src="http://java.mesexemples.com/wp-content/uploads/2012/11/javascrip.jpeg" alt="" width="80" height="80" /></a></td>
<td>
<pre lang='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-5962 -->

<article id="post-9664" class="post-card post-9664 post type-post status-publish format-standard hentry category-xml-dom tag-dom tag-fichier tag-java tag-list tag-xml tag-set">
  
  <!-- .card-media --> 

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

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/documents/xml-dom/java-creer-un-nouveu-element-avec-sa-structure/" rel="bookmark">Java: Créer un nouveu élément avec sa Structure</a></h2>    </header><!-- .entry-header --> 

    <div class="entry-meta">
      <a href="https://java.mesexemples.com/documents/xml-dom/" rel="category tag">XML et DOM</a>    </div><!-- .entry-meta -->

    <div class="entry-content">
      <table>
<tbody>
<tr>
<td><a href="http://java.mesexemples.com/wp-content/uploads/2012/03/javaimage.jpg"><img decoding="async" loading="lazy"  title="Java: Créer un nouveu élément avec sa Structure" src="http://java.mesexemples.com/wp-content/uploads/2012/03/javaimage.jpg" alt="" width="80" height="80" /></a></td>
<td>
<pre lang='java'>*/

import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;

public class XMLNewElementStrutured {

  public static Element c</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-9664 -->

<article id="post-10599" class="post-card post-10599 post type-post status-publish format-standard has-post-thumbnail hentry category-java-server-page tag-html tag-siteweb-en-jsp">
  
      <a class="card-media" href="https://java.mesexemples.com/java-server-page/jsp-exemple-de-catch-multiple/" title="JSP: Exemple de Catch multiple" aria-hidden="true" tabindex="-1">
      <img width="204" height="204" src="https://java.mesexemples.com/wp-content/uploads/2011/07/images3D.jpg" class="really-thumb wp-post-image" alt="" decoding="async" srcset="https://java.mesexemples.com/wp-content/uploads/2011/07/images3D.jpg 204w, https://java.mesexemples.com/wp-content/uploads/2011/07/images3D-150x150.jpg 150w" sizes="(max-width: 204px) 100vw, 204px" />    </a>
  <!-- .card-media --> 

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

    <header class="entry-header">
      <h2 class="entry-title"><a href="https://java.mesexemples.com/java-server-page/jsp-exemple-de-catch-multiple/" rel="bookmark">JSP: Exemple de Catch multiple</a></h2>    </header><!-- .entry-header --> 

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

    <div class="entry-content">
      <pre lang='xml'><HTML>
    <HEAD>
        <TITLE>Catching an ArrayIndexOutOfBoundsException Exception
    
    
        

Catching an ArrayIndexOutOfBoundsException Exception

    <%     try {         int array[] = new int[100];         array[100] = 100;     } catch (ArrayIndexOutOfBoundsException e) {         out.println("Array index out of bounds.");     } catch(ArithmeticException e) {         out.println("Arithmetic exception: " + e);     } catch(Exception e) {         out.println("An error occurred: " + e);     }     %>                         

Java PDF: Souligner un texte

/**
 * @(#)SoulignerTextePDF.java
 *
 *
 * @author 
 * @version 1.00 2013/4/26
 */



import java.io.FileOutputStream;

import com.itextpdf.text.Chunk;
impo