SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When the ribbon bar is visible (i.e., not in Browse mode), I want certain things to happen on my page (mostly involving changing styles of some items). How do I determine if it's visible or not or trigger off the event that the user changed the display state of it?

share|improve this question

You can try something like this. Take a look at this

$('#s4-ribbonrow').click(function(e) {
        if ($('ms-cui-tt-span')) {
            if($( == 'Browse')
            if(RibbonIsMinimized()) {
share|improve this answer
Link is dead. Here's the content (via… – Eccentropy Aug 24 '14 at 17:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.