Page 1 of 1

Scroll to page top when opening currency greybox.

Posted: Mon Feb 08, 2010 3:48 pm
by norman
If you put the links that acticate NorPrice a long way from the page top then the greybox showing the available currencies may not be visible. The following will fix that by forcing a scroll to the page top before opening the greybox:

Go to Design / Library / layouts / NorPrice / NorPrice Support. Look for the line:

Code: Select all

function norpricepopup(){
Immediately after that add the line:

Code: Select all

  window.scroll(0,0);

And this will scroll the page to the top before opening NorPrice.