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 is this done?

Featured Replies

I would say the first site just has a static background and the content just expands to the right. Second site looks like its probably done with Javascript.

No idea, but i found them a bit OTT and some confusing as to where i was going with what link.

  • Author
I would say the first site just has a static background and the content just expands to the right. Second site looks like its probably done with Javascript.

 

But what do you write in your css to enable the content to be expanded to the right????

  • Author
No idea, but i found them a bit OTT and some confusing as to where i was going with what link.

 

I think it adds a new dimension to web design as it allows the developer to utilise or give the effect of the use of real estate in a design.

Just set the width of a div to like 400% or something.

 

That should work.

I think it adds a new dimension to web design as it allows the developer to utilise or give the effect of the use of real estate in a design.

 

I can see it from that point of view, and Im in no ways against it, its a clever concept, but it needs refining.

Wow! these websites, are showing me something I've usually found rather taboo! Times are changing in the world of webdesign! lol

The scrolling effect doesn't work with all browsers, but I still want know how he did it. There is something called httrack which downloads a website for you. Later, I will download the website and figure out what he did.

I did this recently on template i was doing.

 

It was a 9x9 grid style though.

 

Each box i nested inside a <ul> and then used a jquery plugin to scroll between the boxes when links we clicked.

Or of course you could just create a div with the following:

 

#horizontalContent{
white-space:none;
width:100%;
overflow:auto;
white-space:nowrap;
}

 

Then just add some padding to the top and the bottom.

The second site is completely useless to a user who has javascript turned off, whereas the first site still functions with it turned off, you just lose the smooth slide effect. Good to see the first site has taken into account usability and accessibility.

#1 rule of javascript, is make sure it enhances the user experience, but isn't required for the user experience.

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.