Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Tags work just like keywords. The main difference is that they label the content of a comment in a more personal and informal way. This metadata enables the retrieval of content by browsing or searching.

 

Estado
subtletrue
titleLearn more

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. When typing a comment, press the # character to enable the auto complete for the tags.

Expandirpanel
titleLearn more

The auto complete retrieves a drop-down list of the five most used tags from the characters typed after the # character.

02. To select a suggestion from auto complete, just use the arrows ↑ or ↓, or the mouse.

03. When choosing the suggestion, press the Enter key.

Learn more
Expandir
title
Painel

If you do not want to use one of the suggestions, just enter your own and press the spacebar. 

04. Send the comment.

 

 

Informações
titlePlease note!

This documentation is valid from the 1.5.10 update. If you use a previous update, it may contain information different from what you see on your platform.

...