Question : Whats the js for "Month view" in Calendar?

I'm trying to hide the ribbon in the calendar (simple placeholder around it and hide that) but i need a "Back to month view" javascript call.

When someone clicks on a day it goes into the day view, i just need to be able to get back out to the month view.

All i can get out of it is "href="javascript:;" onclick="return false;" on the surrounding link which doesn't help me much.

Is it possible to do?

And if it is, can you tell me how you found it so i can use the same method next time (yes i have tried googling for this)

Thanks for any help or guidance.
1:
<a unselectable="on" href="javascript:;" onclick="return false;" class="ms-cui-ctl-large ms-cui-ctl-on" aria-describedby="Ribbon.Calendar.Calendar.Scope.Month_ToolTip" mscui:controltype="ToggleButton" role="button" id="Ribbon.Calendar.Calendar.Scope.Month-Large">

Answer : Whats the js for "Month view" in Calendar?

Try: href="javascript:MoveView('month');"

Let me know if that works.
Random Solutions  
 
programming4us programming4us