Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>For those who has the same problem. How I fixed it (by my way)...</p> <pre><code> e.preventDefault(); //Define as variáveis var aux = 2; var IdOsArray = new Array(); // var idSOS = $("#table4 tr:nth-child(" + aux + ") td:nth-child(1)").text(); var i = 0; //Verify on table while ((idSOS != "") &amp;&amp; (idSOS != undefined) &amp;&amp; (idSOS != null) &amp;&amp; (idSOS != "Número")) { IdOsArray[i] = $("#table4 tr:nth-child(" + aux + ") td:nth-child(1)").text(); idSOS = IdOsArray[i]; i++; aux++; }; i = 0; function _(i) { idSOS = IdOsArray[i]; $("#dialog,#closediv").css({ 'display': 'none' }); if ((idSOS != "") &amp;&amp; (idSOS != undefined) &amp;&amp; (idSOS != 'undefined') &amp;&amp; (idSOS != null) &amp;&amp; (idSOS != "Número")) { _show(idSOS); setTimeout(function() { i++; return _(i) }, 10000); } //end IF else { _hide() }; }; _(i); function _show(idSOS) { var maskHeight = "99%"; var maskWidth = "99%"; $('#mask').css({ 'width': maskWidth, 'height': maskHeight }); //efeito de transição $('#mask').fadeIn(800); $("#dialog").fadeIn(1600); $('#mask').fadeTo("slow", 1); $('#dialog').fadeTo("slow", 1); $("#dialog, #mask,#closediv").css({ 'display': 'block' }); //armazena a largura e a altura da janela var winH = $(window).height(); var winW = $(window).width(); //centraliza na tela a janela popup $("#dialog, #mask").css('top', '2px'); $("#dialog, #mask").css('left', '2px'); //Modal Content $("#dialog").load('http://localhost/superdata/osview/osview.aspx?sos=' + idSOS); } function _hide() { $('#mask,#closediv,.window').hide(); }; //close click $('#mask,#closediv,.window').click(function GetOut(e) { _hide(); }); }); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload