IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

Comment créer un menu "Page suivante"


Sujet :

HTML

  1. #1
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Août 2014
    Messages
    36
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 26
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Août 2014
    Messages : 36
    Points : 36
    Points
    36
    Par défaut Comment créer un menu "Page suivante"
    Bonjour ,

    Je ne sais pas trop ou poster mon problème car je ne sais absolument pas comment le résoudre donc quelle technologie utiliser.

    J'ai une galerie photo avec un nombre de pages grandissant et malheureusement plus il y en a plus cela est dur de suivre ce menu "page suivante" !

    Voici à quoi ressemble mon menu :

    Nom : Capture2.JPG
Affichages : 1362
Taille : 24,0 Ko

    Je me suis inspiré de google :

    Nom : Capture.JPG
Affichages : 1324
Taille : 12,5 Ko

    Voici mon code html de la page "image1.html" (présent sur chaque page) :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    <footer>
                <div class="row">
                    <div class="col-lg-12">
    					<center>
    					<img style="width: 40px; height: 40px;"  src="../../img/logo.png" alt="">
    					<a><img style="width: 40px; height: 40px;"  src="../../img/o_2.png" alt=""></a>
    					<a href="image2.html" title="PAGE 2"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image3.html" title="PAGE 3"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image4.html" title="PAGE 4"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image5.html" title="PAGE 5"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image6.html" title="PAGE 6"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image7.html" title="PAGE 7"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image8.html" title="PAGE 8"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image9.html" title="PAGE 9"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image10.html" title="PAGE 10"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image11.html" title="PAGE 11"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image12.html" title="PAGE 12"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image13.html" title="PAGE 13"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image14.html" title="PAGE 14"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image15.html" title="PAGE 15"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image16.html" title="PAGE 16"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image17.html" title="PAGE 17"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image18.html" title="PAGE 18"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image19.html" title="PAGE 19"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image20.html" title="PAGE 20"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image21.html" title="PAGE 21"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image22.html" title="PAGE 22"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image23.html" title="PAGE 23"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image24.html" title="PAGE 24"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image25.html" title="PAGE 25"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image26.html" title="PAGE 26"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image27.html" title="PAGE 27"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image28.html" title="PAGE 28"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image29.html" title="PAGE 29"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image30.html" title="PAGE 30"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a href="image31.html" title="PAGE 31"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    					<a><img style="width: 40px; height: 40px;"  src="../../img/l.png" alt=""></a>
    					</center>
                    </div>
                </div>
     </footer>
    Donc à chaque fois que je rajoute une page par exemple la page "image32.html" je dois sur chaque fichier "image[x].html ajouter la ligne

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <a href="image32.html" title="PAGE 32"><img style="width: 40px; height: 40px;"  src="../../img/o.png">
    Donc j'aimerai pouvoir faire un "menu page suivante" indépendant à intégrer seulement avec un lien par exemple. Cela me permettrai de
    modifier un seul fichier au lieu de 32 !

    Merci d'avance !

  2. #2
    Modérateur
    Avatar de Bisûnûrs
    Profil pro
    Développeur Web
    Inscrit en
    Janvier 2004
    Messages
    9 868
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Janvier 2004
    Messages : 9 868
    Points : 16 258
    Points
    16 258
    Par défaut
    Il va falloir que tu te tournes vers un langage serveur, comme PHP, pour utiliser des inclusions de fichiers (include).

Discussions similaires

  1. [Conception] Comment créer des menu graphiques ?
    Par vinzzzz dans le forum Webdesign & Ergonomie
    Réponses: 1
    Dernier message: 21/04/2006, 19h04
  2. Comment créer et executer une page jsp sur eclipse et tomcat
    Par debutantjak dans le forum Tomcat et TomEE
    Réponses: 4
    Dernier message: 16/03/2006, 18h21
  3. Comment créer un menu déroulant ?
    Par magic8392 dans le forum Général JavaScript
    Réponses: 10
    Dernier message: 25/10/2005, 11h37
  4. Comment créer un menu popup style XP ?
    Par chaours dans le forum Composants VCL
    Réponses: 4
    Dernier message: 29/09/2003, 09h38

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo