Re: how do i disable swiping between views (disable automatic neighbor view assignment)

26 views
Skip to first unread message
Message has been deleted

Thomas Handorf

unread,
Apr 14, 2015, 3:56:28 PM4/14/15
to web...@googlegroups.com
add the following code in the Javascript (JS) section of the shell (open shell with Ctrl/Cmd+M):

app.views.each(function(v){
delete v.view_object.neighbors.t;
delete v.view_object.neighbors.b;
v.view_object.neighbors.r=[];
v.view_object.neighbors.l=[];
});

this loops through all views on the page and removes neigbors. 

iainbr...@gmail.com

unread,
Mar 19, 2016, 8:29:23 AM3/19/16
to Webpgr
I have added this, but in mobile view I can still swipe left and right to get to neighbours, whereas I'd like it so that you can only get to the other pages by clicking.

Is this possible?

Thanks

Reply all
Reply to author
Forward
0 new messages