website logo
Auteur
avatar
Sylvain

Forum » » Questions » » Blocs flottants.


Posté : 28-05-2015 09:46 icone du post

OK, c'est fait.
Au style.css j'ai ajouté:

#flottant1 { /* Liste des pages */
    position:fixed;
    top: 146px;
    right: 15px;
}
#flottant2 { /* Drapeau */
    position:fixed;
    top: 98px;
    right: 40px;
}


Et j'ai placé les identifiants au bons endroits de la construction des blocs.
Pour le drapeau:

$menlang ='<a id="flottant2" ...


Et pour les pages:

$textpage="<div class=\"rightbloc\"><div id=\"flottant1\"& gt;...


Ça n'a pas été trop compliqué et ça marche nickel:
http://busmuli.chez.com/sections.php?op=viewarticle&artid=3&page=[ page12]

Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=26316&forum=9