Drag & Drop
Linanenu
Messages postés
3
Statut
Membre
-
carabde Messages postés 68 Statut Membre -
carabde Messages postés 68 Statut Membre -
Bonjour,
je code une interface en html.
J'ai une carte au centre de ma page et à droite des icones. Je voudrais pourvoir drag and droper les icones sur la carte.
Savez-vous comment je peux réaliser ça?
Voici le code concerné :
Code HTML :
Merci !!
je code une interface en html.
J'ai une carte au centre de ma page et à droite des icones. Je voudrais pourvoir drag and droper les icones sur la carte.
Savez-vous comment je peux réaliser ça?
Voici le code concerné :
Code HTML :
<!--Cadre central-->
<section id="cadreCentral">
<!--Carte-->
<img class="map" src="./STATIONS/map.jpg" alt="Map" ondragover="return false" ondrop="drop(this, event)">
</section>
<!--Fenêtre avec les stations pour le Drag and Drop-->
<section id="cadreDnD">
<table>
<tr>
<td><img src="./START/movepng.png" alt="M3" class="icone">M2<td/>
<td><img src="./START/fixpng.png" alt="F3" class="icone">F2<td/>
<tr/>
<tr>
<td><img src="./START/movepng.png" alt="M3" class="icone">M2<td/>
<td><img src="./START/fixpng.png" alt="F3" class="icone">F2<td/>
<tr/>
<tr>
<td><img src="./START/movepng.png" alt="M3" class="icone">M3<td/>
<td><img src="./START/fixpng.png" alt="F3" class="icone">F3<td/>
<tr/>
<tr>
<td><img src="./START/movepng.png" alt="M4" class="icone">M4<td/>
<td><img src="./START/fixpng.png" alt="F4" class="icone">F4<td/>
<tr/>
<tr>
<td><img src="./START/movepng.png" alt="M5" class="icone">M5<td/>
<td><img src="./START/fixpng.png" alt="F5" class="icone">F5<td/>
<tr/>
</table>
</section><!--Fin section DnD-->
Merci !!
A voir également:
- Drag & Drop
- Share drop - Télécharger - Téléchargement & Transfert
- Air drop - Guide
- Edge drop - Guide
- Color drop procreate ne fonctionne pas - Forum Tablettes graphiques
- Mi drop autorisation manquante - Forum Windows