简体   繁体   中英

Fold ribbon on MS CRM 2011 using JavaScript

Is it possible to fold ribbon in MS CRM 2011 using JavaScript?

How to achieve the same effect as then user double-clicks on ribbon?

Something like this (initial view is on the left, desirable — on the right):

在此处输入图片说明

I don't how supported this would be but something to look into is:

Control + Shift + 5 is a keyboard shortcut which opens and closes the ribbon.

Presumably there must be some event or function tided to that shortcut, so if you can dig around and find it you could try calling the code directly.

Or you could try simulating the key press - Firing a Keyboard Event in JavaScript .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM