Histórico da Página
...
Índice | ||||||
---|---|---|---|---|---|---|
|
Speaking of configuring Birthdays widgets ...
...
Nota | ||
---|---|---|
| ||
In order to have this widget displayed on the list of widgets available for pages, first it is necessary to get the Intranet kit artifact from the fluig Store. Then, import the artifact at Import and export pages. After completing these procedures, the widget will be available for use. More information is available at Intranet kit. |
Estado | ||||
---|---|---|---|---|
|
HTML |
---|
<a id="toggleAll" href="#" >Expand/hide additional information. </a> <script type="text/javascript"> var abertos = 0; var fechados = 0; function contador() { abertos = 0; fechados = 0; jQuery(".expand-control").each( function() { if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") { fechados++; } else { abertos++; } }); } AJS.toInit(function() { contador(); var soma = abertos + fechados; $("#toggleAll").html('Expand/hide ' + soma + ' additional information.'); AJS.$('#toggleAll').click(function() { contador(); if (abertos >= fechados) { jQuery(".expand-control").each( function() { if (document.getElementById(this.id).children[0].className == "expand-control-icon icon expanded") { jQuery(this).trigger("click"); } } ) } else { jQuery(".expand-control").each( function() { if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") { jQuery(this).trigger("click"); } } ) } }); }); </script> |
Basic Path
01. After you add the widget to the page under editing, define the settings of your choosing for it.
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas