By Daniel Du
In Mobile Viewer, if you open a view panel, let’s say the properties panel, scroll down to bottom then close it. Next time you open the same view panel you will found it still show the bottom part of the panel, it does not go back to the page top. It may be not the expected behavior for some users, they prefer to go the page top every time when opening the view panel. How do we do?
This topic is raised by Nivashini from V3 Teletech Pte Ltd and he finds out a solution too. He is very kind to share his solution to help others who are trying to do the same thing.
The solution is simple, open C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\www\MobileViewer\lib\mobileviewer_viewpanel.js, around line 110, change it as below:
showPanel: function()
{
if(this.parentDiv)
{
this.parentDiv.style.visibility = 'visible';
this.scrollPanelDiv.style.top = 0;
}
},
You need to change to script reference to “lib/mobileviewer.js" to make it work, please check out this post to get more information
Thank you Nivashini for sharing this!