How do I make this ad?

109 views
Skip to first unread message

martha...@gmail.com

unread,
Feb 8, 2018, 2:40:15 PM2/8/18
to Google Web Designer beta
So im super new to Google Web Designer and im stuck on this concept. This ad isn't a swipeable gallery. How do you create this feature?
http://www.richmediagallery.com/detail?id=15906

Kent

unread,
Feb 8, 2018, 5:38:58 PM2/8/18
to Google Web Designer beta
You can create the animated masking effect by placing your content in a div with overflow:hidden and animating its width with keyframes in the timeline. Here's an example:

Hope that helps,

Kent
Google Web Designer team

Jeff Topping

unread,
Mar 26, 2018, 4:59:42 PM3/26/18
to Google Web Designer beta
this is a great tip. thanks.

farhan...@starcompakistan.com

unread,
May 7, 2018, 7:15:19 AM5/7/18
to Google Web Designer beta
Please tell me how can i make that controlled scroll effect ?

Kent

unread,
May 7, 2018, 11:12:56 AM5/7/18
to Google Web Designer beta
You would need to write some custom Javascript functions to replicate that interactive mask control. Basically you may use the mouseover, mousedown and mousemove events to track the mouse position and translate that to the width of the masking element.

farhan...@starcompakistan.com

unread,
May 16, 2018, 2:10:11 AM5/16/18
to Google Web Designer beta
Thanks Man (y)

ralf...@gmail.com

unread,
May 16, 2018, 5:29:22 PM5/16/18
to Google Web Designer beta
I'm also new to GWD.

I want to know how the JavaScript functions are written and how the mouseover, mousedown and mousemove events are used for this animation. Thank you.

Reply all
Reply to author
Forward
0 new messages