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 to achieve this?

Featured Replies

I've noticed recently that there is quite a trend on "moving objects".

 

By this, I mean when scrolling down a webpage, some items fly in from all sorts of positions only when the container is visible.

 

I was just wondering if there is a specific term for this as I would like to learn how to achieve this and implement this effect into my own personal website.

 

Regards,

 

Patrick

  • Author

Thanks for the feedback/help guys.

 

Regards,

 

Pad

  • 2 weeks later...

Do NOT use flash!

A basic bit of jQuery will do the trick. First select the dom element in question and grab its offset: $('.item').offset ().top;

Then you want to get the position Of the window: $(window).scrollTop ();

Also get the height of the window $ (window).height();

 

You can use these to determine if the element is in the viewport then add a class and use css to animate. The whole function should be repeatedly called in the window scroll event.

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.