64
| <![CDATA[<script type="text/javascript">function carregaAssunto(assunto)
{
if($('select[id="perfil"]').val() == "Fornecedor")
{
$('select[id="assunto"]').append('<option value="Erro na autorização da NFC-e">Erro na autorização da NFC-e</option>');
$('select[id="assunto"]').append('<option value="Emissão do CSC (código de segurança do contribuinte)">Emissão do CSC (código de segurança do contribuinte)</option>');
$('select[id="assunto"]').append('<option value="Emissão em contingência">Emissão em contingência</option>');
$('select[id="assunto"]').append('<option value="Outras dúvidas">Outras dúvidas</option>');
$('select[id="assunto"]').append('<option value="Sugestões">Sugestões</option>');
}
else if($('select[id="perfil"]').val() == "Consumidor")
{
$('select[id="assunto"]').append('<option value="Problemas de consulta da NFC-e">Problemas de consulta da NFC-e</option>');
$('select[id="assunto"]').append('<option value="Impressão e download do arquivo da NFC-e">Impressão e download do arquivo da NFC-e</option>');
$('select[id="assunto"]').append('<option value="Outras dúvidas">Outras dúvidas</option>');
$('select[id="assunto"]').append('<option value="Sugestões">Sugestões</option>');
}
else if($('select[id="perfil"]').val() == "Desenvolvedor de Software")
{
$('select[id="assunto"]').append('<option value="Endereços de autorização e de consulta">Endereços de autorização e de consulta</option>');
$('select[id="assunto"]').append('<option value="Geração do QR-Code">Geração do QR-Code</option>');
$('select[id="assunto"]').append('<option value="Outras dúvidas">Outras dúvidas</option>');
$('select[id="assunto"]').append('<option value="Sugestões">Sugestões</option>');
}
$('select[id="assunto"]').val(assunto);
}
</script>]]>
|
108
| <![CDATA[<script type="text/javascript">function habilitaValidacao(campo)
{
$("#"+campo).attr("class","validate['required'] form-control A");
}
function desabilitaValidacao(campo)
{
$("#"+campo).attr("class","form-control A");
}
function habilitaCpf()
{
$("#form-row-cpf").show();
habilitaValidacao("cpf");
desabilitaValidacao("cnpj");
}
function habilitaCnpj()
{
$("#form-row-cnpj").show();
habilitaValidacao("cnpj");
desabilitaValidacao("cpf");
}</script>]]>
|
131
| <![CDATA[<script type="text/javascript">jQuery(document).ready(function($){
$("#chronoform-Contato").gvalidate();
$("#chronoform-Contato").find(":input").on("invalid.gvalidation", function(){
var field = $(this);
if(field.is(":hidden")){
if(field.closest(".tab-pane").length > 0){
var tab_id = field.closest(".tab-pane").attr("id");
$('a[href="#'+tab_id+'"]').closest(".nav").gtabs("get").show($('a[href="#'+tab_id+'"]'));
}
if(field.closest(".panel-collapse").length > 0){
var slider_id = field.closest(".panel-collapse").attr("id");
$('a[href="#'+slider_id+'"]').closest(".panel-group").gsliders("get").show($('a[href="#'+slider_id+'"]'));
}
}
if(field.data("wysiwyg") == "1"){
field.data("gvalidation-target", field.parent());
}
});
$("#chronoform-Contato").on("success.gvalidation", function(e){
if($("#chronoform-Contato").data("gvalidate_success")){
var gvalidate_success = $("#chronoform-Contato").data("gvalidate_success");
if(gvalidate_success in window){
window[gvalidate_success](e, $("#chronoform-Contato"));
}
}
});
$("#chronoform-Contato").on("fail.gvalidation", function(e){
if($("#chronoform-Contato").data("gvalidate_fail")){
var gvalidate_fail = $("#chronoform-Contato").data("gvalidate_fail");
if(gvalidate_fail in window){
window[gvalidate_fail](e, $("#chronoform-Contato"));
}
}
});
function chronoforms_validation_signs(formObj){
formObj.find(":input[class*=validate]").each(function(){
if($(this).attr("class").indexOf("required") >= 0 || $(this).attr("class").indexOf("group") >= 0){
var required_parent = [];
if($(this).closest(".gcore-subinput-container").length > 0){
var required_parent = $(this).closest(".gcore-subinput-container");
}else if($(this).closest(".gcore-form-row, .form-group").length > 0){
var required_parent = $(this).closest(".gcore-form-row, .form-group");
}
if(required_parent.length > 0){
var required_label = required_parent.find("label");
if(required_label.length > 0 && !required_label.first().hasClass("required_label")){
required_label.first().addClass("required_label");
required_label.first().html(required_label.first().html() + " <i class='fa fa-asterisk' style='color:#ff0000; font-size:9px; vertical-align:top;'></i>");
}
}
}
});
}
chronoforms_validation_signs($("#chronoform-Contato"));
function chronoforms_data_tooltip(formObj){
formObj.find(":input").each(function(){
if($(this).data("tooltip") && $(this).closest(".gcore-input, .gcore-input-wide").length > 0){
var tipped_parent = [];
if($(this).closest(".gcore-subinput-container").length > 0){
var tipped_parent = $(this).closest(".gcore-subinput-container");
}else if($(this).closest(".gcore-form-row, .form-group").length > 0){
var tipped_parent = $(this).closest(".gcore-form-row, .form-group");
}
if(tipped_parent.length > 0){
var tipped_label = tipped_parent.find("label");
if(tipped_label.length > 0 && !tipped_label.first().hasClass("tipped_label")){
tipped_label.first().addClass("tipped_label");
var $tip = $("<i class='fa fa-exclamation-circle input-tooltip' style='color:#2693FF; padding-left:5px;'></i>");
$tip.data("content", $(this).data("tooltip"));
tipped_label.first().append($tip);
}
}
}
});
formObj.find(".input-tooltip").gtooltip();
}
chronoforms_data_tooltip($("#chronoform-Contato"));
function chronoforms_data_loadstate(formObj){
formObj.find(':input[data-load-state="disabled"]').prop("disabled", true);
formObj.find('*[data-load-state="hidden"]').css("display", "none");
formObj.find(':input[data-load-state="hidden_parent"]').each(function(){
if($(this).closest(".gcore-subinput-container").length > 0){
$(this).closest(".gcore-subinput-container").css("display", "none");
}else if($(this).closest(".gcore-form-row").length > 0){
$(this).closest(".gcore-form-row").css("display", "none");
}
});
}
chronoforms_data_loadstate($("#chronoform-Contato"));
$(":input").inputmask();
function chronoforms_fields_events(){
}
chronoforms_fields_events();
function chronoforms_pageload_fields_events(){
}
chronoforms_pageload_fields_events();
});</script>]]>
|
237
| <![CDATA[<script type="text/javascript"> jQuery(document).ready(function($){
$('[data-g-toggle="tab"]').closest('.nav').gtabs({
'pane_selector':'.tab-pane',
'tab_selector':'[data-g-toggle="tab"]',
});
$('[data-g-toggle="collapse"]').closest('.panel-group').gsliders({
'pane_selector':'.panel-collapse',
'tab_selector':'[data-g-toggle="collapse"]',
'active_pane_class':'in',
});
$('[data-g-toggle="modal"]').on('click', function(e){
e.preventDefault();
$modal = $($(this).data('g-target'));
$modal.gmodal({
'close_selector' : '[data-g-dismiss="modal"]',
});
$modal.gmodal('open');
});
$('.gdropdown').gdropdown();
$('[data-g-toggle="dropdown"]').on('click', function(e){
e.preventDefault();
$(this).parent().find('.gdropdown').gdropdown('toggle');
});
});
</script>]]>
|
264
| <![CDATA[<script type="text/javascript">
(function ($) {
$().ready(function () {
$('body').jfontsize({
btnMinusClasseId: '#jfontsize-minus',
btnDefaultClasseId: '#jfontsize-default',
btnPlusClasseId: '#jfontsize-plus',
btnMinusMaxHits: 10,
btnPlusMaxHits: 10,
sizeChange: 1
});
});
})(jQuery)
</script>]]>
|
411
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function($){
$('#navbar-wrap').prepend('<a id="menu-icon"><span class="menu-icon-title">Menu Superior</span> <i class="icon-double-angle-down"></i> </a>');
$("#menu-icon").on("click", function(){
$("#navbar").slideToggle(500,"linear");
$(this).toggleClass("active");
});
});
</script>]]>
|
521
| <![CDATA[<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-3385183-7', 'auto');
ga('send', 'pageview');
</script>]]>
|
653
| <![CDATA[<script type="text/javascript">
var $buoop = {};
$buoop.ol = window.onload;
window.onload = function () {
try { if ($buoop.ol) $buoop.ol(); } catch (e) { }
var e = document.createElement("script");
e.setAttribute("type", "text/javascript");
e.setAttribute("src", "//browser-update.org/update.js");
document.body.appendChild(e);
}
</script>]]>
|