I am creating a site using opencart for a client (I can't show the site, unfortunately). At their request, when a user clicks a link on the Categories module, the page should focus at the Category header on the page, rather than at the top of the web page. I have attempted to do this using the standard <a name="x"> approach and adding a #x to the end of the url, but it doesn't seem to be working. Any ideas?
Thanks
no need to use 'a name' if the element has an id
eg <div id="header">
url would be somepage#header
eg <div id="header">
url would be somepage#header
Who is online
Users browsing this forum: No registered users and 84 guests