Auto expand and auto close the banner

334 views
Skip to first unread message

Vimal rai

unread,
Jul 29, 2016, 6:43:03 AM7/29/16
to Google Web Designer beta
Need Help

How to GWD for Auto Expand Banner  after 10sec Auto close the banner

Auto Expand banner code:
setTimeout(function(){
gwd.actions.gwdDoubleclick.goToPage('gwd-ad','expanded-page');
},10000);//expands to page after10s

what is auto close code ????

San Khong

unread,
Aug 3, 2016, 4:52:16 PM8/3/16
to Google Web Designer beta
What do you mean by close?  Do you mean collapse the expanded page to go back to the banner page?  If that the case, you can use the same code as you had, but instead of 'expanded-page', it's 'banner-page'.

Hope it helps.
San
Google Web Designer team


Jason Owens

unread,
Dec 19, 2017, 5:09:07 PM12/19/17
to Google Web Designer beta
Where do I post this code?
Reply all
Reply to author
Forward
0 new messages