Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Browser to the Top?


Recommended Posts

Hi All,


Hope someone can help me,


I've setup oscommerce within a Joomla Wrapper (in hindsight, not a good idea), and because the auto-height functions of Joomla does not work, i've had to set the height to a fixed size of 1900, in order to accomodate product listings which were previously getting cut-off at the bottom.


The Problem is, if a customer clicks on a product near the bottom of the list, the product page opens, but with the browser still near the bottom of the page, hence all the customer see's is a white background.


Obviously this is a bit confusing, and annoying for the customer to have to manually scroll to the top of the page every time.


Does anybody know if there is a snippet of PHP I can insert someone, to force the customer's browser to open the product page at the top every time?


Thank you.





Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...