Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

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.

hathouse

Members
  • Joined

  • Last visited

  1. Hi Simplypixie Thanks so much for your reply, this bit of code has been annoying me for ages! Really made my day Cheers
  2. Hello! I'm Nye, a newcomer from Wales. Looking forward to using this forum, looks like a really friendly and helpful place! Thanks
  3. Hello! I am trying to make a simple page with link buttons in a ul which display a png image next to the relevant link to show which page the viewer is looking at. Now I'm aware that there are other ways to do this, but just so I feel I've learnt something I would like to use php if possible. I got the impression that something like this would work: <ul> <li class="linkbutton"><a href="index.php"><?php if ($_SERVER['PHP_SELF'] ="index.php"){ echo '<img src="assets/flower.png" class="flower"/>';} else { echo '<img src="assets/placeholder.png" class="flower"/>';} ?>Home</a> </li> </ul> Now while this does work to a point (the flower shows up when on the home page) it does not work in that the thing turns up in the same place on every other page too. I have tried numerous variants on this, but can't seem to get it functional. Does anyone have any suggestions as to what I'm doing wrong? Sorry to be such a noob! Thanks, Hathouse

Account

Navigation

Search

Search

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.