Teste po 2

By Ah SallAh Sall

div class="collapsible-block">
<div class="collapsible-block-folded"><a class="collapsible-block-link" href="javascript:;" id="folded"><tt>BCKR_NV_PT-31</tt></a></div>
<div class="collapsible-block-unfolded" style="display:none">
<div class="collapsible-block-unfolded-link"><a class="collapsible-block-link" href="javascript:;"></a><a href="javascript:;" id="skip" style="float: right"»></a></div>
<div class="collapsible-block-content" id="content">
<p id="text"><tt id="terminal"></tt></p>
<div hidden id="hidden-content">

.darkblock {
color: #505DE4

var folded = document.getElementById("folded");
let skip = document.getElementById("skip");

var wait = 20;

folded.addEventListener("click", async function(){
var terminal = document.getElementById("terminal");
var text ="Gerando informação…" "0%…^1%…^35%…^68%…^85%…^^^100%"

Thanks to tsangk for this great snippet: conditional-blocks

text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]

Other snippets posted by Ah Sall

Teste po - 21 Mar 2022 19:06

Rate this solution

If you think this solution is useful — rate it up!

rating: 0+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License