SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Dropdown menus: mouseover or click?

Open ChainyEO opened this issue 12 years ago • 35 comments

The new section in the top-left corner (Username/My Messages/Alerts) requires a click to open each dropdown menu. This contrasts with the rest of the forum, where a mouseover opens up the dropdown menu (eg. the Main Menu, the Admin and Moderation Center etc).

Perhaps it would be better to use one or the other method, but not both?

ChainyEO avatar Aug 14 '14 19:08 ChainyEO

if we had the top menu work on mouseover instead of click it could add more stress to the server as it would be calling the alerts stuff more times then needed.

illori avatar Aug 14 '14 22:08 illori

Which is why there are done on click, precisely because of performance concerns; other menus do not require potentially multiple database queries, which is why they are done as AJAX loads rather than having the data available every single page load.

In any case, on click behaviour has been demonstrated time and time again as being better from a usability standpoint, not to mention consistent between platforms.

I don't understand why this has to be discussed, I was under the impression this debate had already been had multiple times before and each time the same behaviour (go click menus everywhere) was decided upon.

Arantor avatar Aug 15 '14 21:08 Arantor

Also mobile :) click to open is better for mobile devices, we gonna do something similar for main menu as well...

XinYenFon avatar Aug 16 '14 15:08 XinYenFon

  1. As said above, they are trying to avoid unnecessary requests to server. (It wont add stress on server as SMF is very lightweight, but from other point of view, these kind of optimizations are the reason why its so lightweight)
  2. They are friendly with touch screens.
  3. Some people like to fix header (or parts like menu's and avatars) so that its easy to jump from page to page, and click toggle menu's are way better than a dropdown in these case.

Im sure that everyone agree with these facts (As many people already said these things) and that its a good choice, so there is no need to change anything.

BitFros7y avatar Aug 17 '14 23:08 BitFros7y

Leave things as they are now. All the menu's work fine.

smfbigguy avatar Aug 18 '14 03:08 smfbigguy

@qICEp

The point is that click menus are only being used in the section at the top left-hand corner at the moment. The rest of the forum uses mouseover. So apparently there is a need to change something.

ChainyEO avatar Aug 18 '14 14:08 ChainyEO

I give you a simple answer @ChainyEO : No.

XinYenFon avatar Aug 18 '14 14:08 XinYenFon

@Antes

No to what? You seem to be in favour of click menus:

Also mobile :) click to open is better for mobile devices, we gonna do something similar for main menu as well...

ChainyEO avatar Aug 18 '14 14:08 ChainyEO

According to the comments above, there are good reasons to have click menus in the section at the top left-hand corner (Username/My Messages/Alerts). So perhaps it would be good to use click menus for the rest of the forum for the sake of consistency. This is why I don't understand the comments about there being no need for change (as we currently have a lot of mouseover menus).

ChainyEO avatar Aug 18 '14 14:08 ChainyEO

If we go "click to open" everywhere, how do we handle the current situation where the item you hover over to open the menu is a link as well?

Oldiesmann avatar Aug 18 '14 14:08 Oldiesmann

SuperFish working fine with iOS afaik @AngelinaBelle said, so we just need to adapt that fix to WP/Android (I don't have android device), afaik there is a fix for WP7 IE10 in SuperFish but WP8 (IE10/11) not working well. So we don't need to rewrite the menu for this version, we just need to fix some device issues (and some styling for mobile -small screen-).

Also compatibility issue reported here: https://github.com/joeldbirch/superfish/issues/121

XinYenFon avatar Aug 18 '14 14:08 XinYenFon

There is a good reason for having things like this then that is good enough for me really. All works good I think.

smfbigguy avatar Aug 18 '14 15:08 smfbigguy

Seems, superfish working good on Android as well, (probably on IE9/10 WP7) problem here, after reading report linked above, WP8/WP8.1 and IE10/11 is not defined in SuperFish. So this is not SMF side problem :)

XinYenFon avatar Aug 18 '14 15:08 XinYenFon

Consistency is a wonderful thing to have. It makes everything feel coherent and as though it was designed to be that way rather than being thrown together.

Arantor avatar Aug 18 '14 16:08 Arantor

I'm fine if we do click to open, but we'll have to rewrite a bunch of menus and such in order to do so.

Oldiesmann avatar Aug 18 '14 18:08 Oldiesmann

+1 click to open everywhere. +1 to get rid of superfish. +1 to make the on-click menus without javascript.

Xarcell avatar Sep 12 '14 02:09 Xarcell

tbh I don't want to stall SMF 2.1 for this. SuperFish working very well, we'll change things in SMF 3.0

XinYenFon avatar Sep 12 '14 08:09 XinYenFon

+1 to make the on-click menus without javascript.

HOW?

Arantor avatar Sep 12 '14 15:09 Arantor

Using :active? I'm also wondering.

On Fri, Sep 12, 2014 at 8:28 AM, Arantor [email protected] wrote:

+1 to make the on-click menus without javascript.

HOW?

— Reply to this email directly or view it on GitHub https://github.com/SimpleMachines/SMF2.1/issues/2189#issuecomment-55419048 .

live627 avatar Sep 12 '14 16:09 live627

There are 4 ways that I know of, but each having their pro's and cons. 2 of which that will work in IE8+. So those are the two that I focus on. I'm currently trying something a little newer with :focus, by re-visiting it. I'll know you know if I make progress with it. Probably end up replacing the css only drop menu I use on my current sites.

Ways To Do It: 1.| Using a hidden checkbox, my preferred method because it's great to use with PHP. 2.| Using CSS2 :focus. 3.| using CSS3 :target 4.| Using CCS3 transitions.

I whipped something up here using :focus, but it's far from perfect, but I just started working on it: earlier then stopped to take my daughter to the doctor to have her cast removed: http://codepen.io/anon/pen/iuhtn

You can see my first hidden checkbox attempt on a site I made as a true horizontal layout blogger theme for my site last year. Unfortunately it was scrapped because of horizontal scrolling issues in IE Touch. The menu should be still be responsive(haven't messed with it in awhile, did some experiments that broke some things, but you should get the idea.). Anyway, by resizing your browser you can see how I tried to implement what I call "transitional design", basically switching from vertical to horizontal depending on orientation or device used: http://xarcellstudios.blogspot.com/

What I put together back in April of this year, but didn't finished. It was another hidden checkbox menu(no-js). It has it quirks, but it's 100% fixable. I've been tied up with branding and photography past couple of months: http://www.xarcell-studios.com/

Please don't make fun of my sites. I know they are empty and not working well. I know the code is messy, but I prefer to work live. I've just been too busy with clients to address the issues on my site or stock it with content.

Xarcell avatar Sep 12 '14 19:09 Xarcell