Histórico da Página
Index
Índice | ||||||
---|---|---|---|---|---|---|
|
Speaking of deleting posts or comments...
This feature allows deleting posts or comments in a simple and easy manner.
...
Other users’ posts or comments can only be deleted if such posts or comments are made in the respective user’s personal timeline.
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
Delete a post or comment
...
01. Access the wall where the post you want to Delete is located.
Expandirpanel | ||
---|---|---|
| ||
|
...
03. Click Remove Post or Comment, located in the post action bar.
Expandirpanel | ||
---|---|---|
| ||
|
04. Click Yes to confirm the deletion.
Informações | ||
---|---|---|
| ||
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. |
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas