Jump to content
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

drag and drop retenir emplacement selon user

Featured Replies

Bonjour,

je me suis lancer dans un projet fou (surtout avec les connaissance que j'ai)

j'aimerais arriver a faire un portail style netvibes pour m'amuser et apprendre.

Je suis arrievr a creer un effet de déplacement des blocs... mais j'aurais aimer trouver le moyen de retenir l'emplacement selon l'utilisateur! ;)

j'ai pas mal chercher sur le net ans trouver de réponse a ma question...

si vous aviez un lien ou une explication, un tuto, un script, n'importe quoi... je prends lol :francais:

merci par avance!

  • Author

oui ca j'avais compris qu'il fallait agrder la position, je pensais par un cookies, mais comment...

par contre j'ai pas compris la phrase d'aprés! ni meme pourquoi ce lien lol !!

a y voir de plus pret, en effet ton script est vraiment sympatique! :mdr2:

merci beaucoup de a réponse toutefois

Edited by jer666

Tu sauvegarde chaque bloc posx,posy dans un cookie.

Puis apres quand tu charge avec JS avec une petite boucle pour le nombre d'objets :)

document.getElementById("objet1").style.top = posxobjet1;

document.getElementById("objet1").style.left= posyobjet1;

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.