Welcome to NYSERDA's Public Knowledge Base
This platform is intended to provide additional guidance and training resources for our external partner communities when supporting a NYSERDA program. These program guides focus heavily on the applications NYSERDA utilizes to help manage our programs and provide additional clarity on what your specific roles and responsibilities are. To learn how to use this platform, please access the Training link below. If you have questions or issues with specific content, or would like to see additional content, please reach out to your program manager.
UI Button | ||||||||
---|---|---|---|---|---|---|---|---|
|
UI Button | ||||||||
---|---|---|---|---|---|---|---|---|
|
HTML |
---|
<style type="text/css"> #title-text { display: none;} .rwui_button { background-color: #0073A4;} .rwui_button:hover { background-color: #002D72;} </style> |
HTML |
---|
<script type="text/javascript" > var sidebarrunOnce = AJS.sidebar('.aui-sidebar')false; // Try to expand the sidebar. if (sidebar.isCollapsed()) jQuery(document).ajaxComplete(function() { sidebar.expand(); } // Listen to collapse events. sidebar.on('collapse-start', function () { console.log('Sidebar is collapsing!'); }); sidebar.on('collapse-end', function ( if(jQuery('.ia-fixed-sidebar.collapsed').length == 0 && runOnce == false) { console.log('Sidebar is now collapsed!'); }); // Event delegation for custom interactions. sidebar.$el.on('click', '.clone', function (e) { if (sidebar.isCollapsed()) { jQuery('.expand-collapse-trigger').click(); e.preventDefault(); runOnce = true cloneDialog.show()}; } }); </script> |
HTML |
---|
<script type="text/javascript"> AJS.toInit(function () { if(AJS.$('.ia-fixed-sidebar.collapsed').length == 0) { AJS.$('.ia-fixed-sidebar .space-tools-section .expand-collapse-trigger').click(); } }); </script> |