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.

HOW THE HELL DO THEY DO THAT?

Featured Replies

ok, there's this website twopoints.net which has an expanding post container which allows any number of columns. what baffles me is how they have managed to code the posts so they meet each other, pure css leaves ugly line-breaks and gaping holes in the columns.

 

I have recreated the static page and all css and js on my computer and it doesn't work so I assume it uses a php trick...the problem is I have no idea where to start.

 

clues?

 

cheers

Jonny

The first thing I noticed is that the page looks completely different when javascript is on or off, so it must be basically javascript or jQuery (although the jQuery script at the bottom relates to the right accordion menu).

 

However, with javascript turned off the left side items still expand after clicking the arrow so that cannot be javascript but you then have to use the browser back button to close the item, which points to PHP.

 

Look at this PHP show/hide example which works the same way:-

http://www.wickham43.net/showform.php

Sorry I misread your question, serves me right checking the forum when I first got up and thinking it will make sense before I got caffeine in my system :p

 

Glad to see you have sussed it :)

Create an account or sign in to comment

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.