Click on menu parent item moves screen to top

Discuss, ask and suggest about Usability and Accessability with CMS Made Simple
Locked
userwords
Forum Members
Forum Members
Posts: 48
Joined: Mon Dec 27, 2010 12:27 am

Click on menu parent item moves screen to top

Post by userwords »

When browsing a web using the menu that comes with cms made simple, if menu is lower than the top of the page, so u need to scrool down a bit to see it, and if you click on a parent item of the menu so it opens and show a child

the screen jumps to the top of the page

so you need to scroll down again to see the menu

Anyway to stop the screen from refocusing when you click on a parent item to see the childs in the menu.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3479
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Click on menu parent item moves screen to top

Post by velden »

It probably has an '#' in the link's href attribute for section headers (the parent item for child pages).

You can change the used menu template in Menu Manager and make <a> tags without a href attribute for section headers. However, iirc Safari on ios doesn't like those 'empty' anchors and does not trigger a hover event (so the child menu does not show). Test it.
Locked

Return to “[locked] Accessability and Usability”