Scroll to page top when opening currency greybox.
Posted: Mon Feb 08, 2010 3:48 pm
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:
Immediately after that add the line:
And this will scroll the page to the top before opening NorPrice.
Go to Design / Library / layouts / NorPrice / NorPrice Support. Look for the line:
Code: Select all
function norpricepopup(){
Code: Select all
window.scroll(0,0);
And this will scroll the page to the top before opening NorPrice.