Is there any option in Confluence to have the drop down menus working on a mouse click instead of a mouse over?

Oli S
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2011

In confluence 4.0 all menus are open on an cleck event.

is there a way (js or option in backend) to open the menus in the old mouse over way ?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

4 votes
Answer accepted
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 10, 2011

Browse to Confluence Admin | Look & Feel | Custom HTML

Paste this into At end of the HEAD:

<script>
AJS.toInit(function(){
  AJS.$('.ajs-menu-bar > li.ajs-menu-item').hover(
    function(){ 
      AJS.$(this).children('a')[0].click();
    },
    function(){ 
      AJS.$(this).children('a')[0].click();
      AJS.$(this).removeClass('hover');
    } 
  );
});
</script>

This should help a little -- it performs a click event on mouse over and another one on mouse out

Oli S
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2011

perfect!

I've tried a similar solution, but it flickered.

your solution works very good.

JenniferC April 19, 2012

This is gold, thanks so much!

Leroy Elendt July 19, 2012

David the quick-jQuery-solution man :)

1 vote
Maria Kougioumoutzi October 24, 2013

Hello,

I am using Confluence 5.3.1 and this script did not work for me.

Navigating at Confluence documentation i found the same exact solution but with a disclaimer "This is not applicable in Confluence Administration page", which is quite contradicting.

Any suggestions?

TAGS
AUG Leaders

Atlassian Community Events