|
|
$(document).ready(function () { |
|
|
window.resizeTo($("#form1").width() + 100, $("#form1").height() - 550); |
|
|
$("#btfechar").click(function () { |
|
|
var $ = window.parent.$; |
|
|
var jQuery = window.parent.jQuery; |
|
|
$.unblockUI({ |
|
|
fadeOut: 200, |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
if (TodosMarcados()) { |
|
|
document.getElementById("marcaTodos").checked = "checked"; |
|
|
} |
|
|
|
|
|
function LimpaImagem() { |
|
|
$("#imgSim").attr("src", "imgSite/bullet-link-active.gif"); |
|
|
$("#imgNao").attr("src", "imgSite/bullet-link-active.gif"); |
|
|
$("#imgSenha").attr("src", "imgSite/bullet-link-active.gif"); |
|
|
$("#imgAgente").attr("src", "imgSite/bullet-link-active.gif"); |
|
|
} |
|
|
|
|
|
$("#simCheck").mouseover(function () { |
|
|
$(this).css("cursor", "pointer"); |
|
|
}); |
|
|
$("#naoCheck").mouseover(function () { |
|
|
$(this).css("cursor", "pointer"); |
|
|
}); |
|
|
$("#senhaCheck").mouseover(function () { |
|
|
$(this).css("cursor", "pointer"); |
|
|
}); |
|
|
$("#agenteCheck").mouseover(function () { |
|
|
$(this).css("cursor", "pointer"); |
|
|
}); |
|
|
|
|
|
$(document).ready(function () { |
|
|
$("#simCheck").click(function () { |
|
|
$(".tipoRotaSim").attr("checked", true); |
|
|
LimpaImagem(); |
|
|
$("#imgSim").attr("src", "imgSite/bullet-link-hover.gif"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
$(document).ready(function () { |
|
|
$("#naoCheck").click(function () { |
|
|
$(".tipoRotaNao").attr("checked", true); |
|
|
LimpaImagem(); |
|
|
$("#imgNao").attr("src", "imgSite/bullet-link-hover.gif"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
$(document).ready(function () { |
|
|
$("#senhaCheck").click(function () { |
|
|
$(".tipoRotaSenha").attr("checked", true); |
|
|
LimpaImagem(); |
|
|
$("#imgSenha").attr("src", "imgSite/bullet-link-hover.gif"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
$(document).ready(function () { |
|
|
$("#agenteCheck").click(function () { |
|
|
$(".tipoRotaAgente").attr("checked", true); |
|
|
LimpaImagem(); |
|
|
$("#imgAgente").attr("src", "imgSite/bullet-link-hover.gif"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
$(document).ready(function () { |
|
|
var $box = $(".box"); |
|
|
$box.toggle(); |
|
|
}); |
|
|
|
|
|
$(document).ready(function () { |
|
|
$(".animate").click(function () { |
|
|
var $box = $(".box"); |
|
|
if ($box.is(":visible")) { |
|
|
$box.slideToggle("slow"); |
|
|
$("#animate").attr("src", "imgSite/expand.jpg"); |
|
|
$("#labelRotas").text("Clique para Exibir as Rotas"); |
|
|
$("#cabRota").show("slow"); |
|
|
} else { |
|
|
$("#cabRota").hide(); |
|
|
$("#animate").attr("src", "imgSite/collapse.jpg"); |
|
|
$("#labelRotas").text("Rotas"); |
|
|
$box.slideToggle("slow"); |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
$(document).ready(function () { |
|
|
var $boxChf = $(".boxChefeSec"); |
|
|
$boxChf.toggle(); |
|
|
}); |
|
|
|
|
|
$(document).ready(function () { |
|
|
$(".animateCfs").click(function () { |
|
|
var $boxChf = $(".boxChefeSec"); |
|
|
if ($boxChf.is(":visible")) { |
|
|
$boxChf.slideToggle("slow"); |
|
|
$("#animateCfs").attr("src", "imgSite/expand.jpg"); |
|
|
$("#labelCfs").text( |
|
|
"Clique para Exibir as Configura<EFBFBD><EFBFBD>es Chefe Secret<EFBFBD>ria" |
|
|
); |
|
|
$("#cabChefeSec").show("slow"); |
|
|
} else { |
|
|
$("#cabChefeSec").hide(); |
|
|
$("#animateCfs").attr("src", "imgSite/collapse.jpg"); |
|
|
$("#labelCfs").text( |
|
|
"Clique para Exibir as Configura<EFBFBD><EFBFBD>es Chefe Secret<EFBFBD>ria" |
|
|
); |
|
|
$boxChf.slideToggle("slow"); |
|
|
} |
|
|
}); |
|
|
});
|
|
|
|