Difference: JavaScript (4 vs. 5)

Revision 527 Oct 2010 - FlavioAraujo

Line: 1 to 1
 
%STARTINCLUDE%
<script type="text/javascript" src="/twiki/pub/XIISNHCT/JavaScript/jquery.js"></script>
Line: 9 to 9
  $("#conteudo [href*='https://']").attr("target", "_blank"); $("[href*='.pdf']").attr("target", "_blank");
Changed:
<
<
var t=setTimeout("window.location.reload()",60000);
>
>
setInterval("updateTime()",60000);
 });
Added:
>
>
function updateTime() { $("#datahora")[0].src = $("#datahora")[0].src; // $("#datahora")[0].contentDocument.location.reload(true); $("#datahora").attr({ src: $("#datahora").attr("src") });

}

 

 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback