Question:
Gurus-
When you have a role menu with a large number of reports, it has an irritating habit of moving the scroll bar back up to the top of the page when you open a hierarchy node.
Does anyone know any HTML or a method to change the role menu web item to stop this?
Answer:
Gurus-
When you have a role menu with a large number of reports, it has an irritating habit of moving the scroll bar back up to the top of the page when you open a hierarchy node.
Does anyone know any HTML or a method to change the role menu web item to stop this?
Hi
Please goto transaction SE80 and click on "MIME Repository" at the left side frame.
Please expand the nodes as mentioned below;
/SAP/Public/BW/BEx/Javascript
Please perform the code change in the Javascript file JSTree.js
found under the folder mentioned above:
Please change the following statement in JSTree.js
Outline += "\n\n<script language=\"JavaScript\">\n
if( this.window.document.all.currFolder )
{\n this.window.document.all.currFolder.scrollIntoView(top);
\n this.window.document.all.currFolder.focus()\n}\n<\/script>\n";
into the following;
Outline += "\n\n<script language=\"JavaScript\">\n
if( this.window.document.all.currFolder )
{
\n this.window.document.all.currFolder.focus()\n}\n<\/script>\n";
Hope it Helps
_________________
Chetan
@ CP...