html people - dual ...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] html people - dual scrolling???

6 Posts
6 Users
0 Reactions
58 Views
 Pook
Posts: 12684
Full Member
 pdw
Posts: 2206
Free Member
 

At a guess, use Javascript to reposition the background image based on page scroll position? But please don't, it's really annoying.


 
Posted : 24/06/2016 8:15 am
Posts: 10340
Free Member
 

That particular effect didn't work in Firefox - I had to open Chrome to see it.
Agree that it's annoying, although there's a very subtle version on pinkbike photo epics that is slick.

Lots of plugins for JQuery that will do this type of thing.
Look up 'jquery parallax' for example.


 
Posted : 24/06/2016 8:25 am
Posts: 11507
Full Member
 

Yep its called Parallax. They can be very subtle or very immersive, but the effect is fairly short-lived before it becomes irritating and switches off viewers.

Loads of the kickstarter type websites use this model for their marketing...its good for minimalist, concise websites.


 
Posted : 24/06/2016 8:58 am
Posts: 0
Free Member
 

You can achieve it with pure CSS3 – https://codepen.io/scottkellum/pen/bHEcA


 
Posted : 24/06/2016 9:03 am
 pdw
Posts: 2206
Free Member
 

The original example linked is particularly grating. Let's suppose that I actually want to have a look at a picture of the subject of the story (a bit hypothetical, but hey, it is a story about him). I start off with a picture showing just his chin, and by the time I scroll enough to reveal his face, his forehead is cut off at the top of the window.

Maybe it has a place if the background is just for decoration, but it's not the way to present real content.


 
Posted : 24/06/2016 9:20 am
Posts: 0
Free Member
 

AS above, called parallax - theres a million free plugins and bootstraps and codepens to achieve it.


 
Posted : 24/06/2016 9:56 am