Difference: JavaScript (1 vs. 6)

Revision 628 Oct 2010 - FlavioAraujo

Line: 1 to 1
 
%STARTINCLUDE%
<script type="text/javascript" src="/twiki/pub/XIISNHCT/JavaScript/jquery.js"></script>
Line: 13 to 13
 });

function updateTime() {

Changed:
<
<
$("#datahora")[0].src = $("#datahora")[0].src; // $("#datahora")[0].contentDocument.location.reload(true); $("#datahora").attr({ src: $("#datahora").attr("src") });
>
>
$("#horadata").html('');
 }

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") });

}

 

Revision 417 Aug 2010 - FlavioAraujo

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

Revision 316 Aug 2010 - FlavioAraujo

Line: 1 to 1
 
%STARTINCLUDE%
<script type="text/javascript" src="/twiki/pub/XIISNHCT/JavaScript/jquery.js"></script>
Line: 6 to 6
 $("document").ready(function(){

$("[href*='http://']").attr("target", "_blank");

Added:
>
>
$("[href*='https://']").attr("target", "_blank");
  $("[href*='.pdf']").attr("target", "_blank"); });

Revision 213 Aug 2010 - FlavioAraujo

Line: 1 to 1
 
%STARTINCLUDE%
<script type="text/javascript" src="/twiki/pub/XIISNHCT/JavaScript/jquery.js"></script>
<script type="text/javascript">
Added:
>
>
$("document").ready(function(){

$("[href*='http://']").attr("target", "_blank"); $("[href*='.pdf']").attr("target", "_blank"); });

 

Revision 111 Aug 2010 - FlavioAraujo

Line: 1 to 1
Added:
>
>
%STARTINCLUDE%
<script type="text/javascript" src="/twiki/pub/XIISNHCT/JavaScript/jquery.js"></script>
<script type="text/javascript">

</script>
%STOPINCLUDE%

META FILEATTACHMENT attachment="jquery.js" attr="" comment="" date="1281549810" name="jquery.js" path="jquery.js" size="69838" stream="jquery.js" tmpFilename="/var/tmp/CGItemp9282" user="FlavioAraujo" version="1"
 
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