Aller au contenu
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.

Faire afficher sur la page accueil les ...

Featured Replies

Posté(e)

Slt,

j'aimerais faire aficher sur ma page d'accueil les 10 dernieres news du site mais je ne sais pas comment limiter le nombre d'affichage ?

Et comment les faire afficher dans un tableau ?

Merci.

Posté(e)
Version JavaScript :

A l'endroit où vous souhaitez afficher les news, insérez le code suivant dans votre page :

<script type="text/javascript" src="http://www.pcinpact.com/include/newspart.php?nb=xx"></script>

Remplacez xx par le nombre de news à afficher (50 max).

Changer XX par 10 :transpi:

Pour les faire afficher dans un tableau, si on s'comprend bien

Tu crées ton tableau, et tu mets le code du haut, dedans :)

donc dans les grandes lignes :

<table>

<faut rajouter des balises td,tr... j'te laisse faire ca>

<script type="text/javascript" src="http://www.pcinpact.com/include/newspart.php?nb=xx"></script>

<fermer les td, les tr...>

</table>

Je pense que ca devrait foncitonner

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

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.